Can tihis be done in Xataface?
Archived from the Xataface Users forum.
mamamiaw — Wed Apr 22, 2009 8:36 pm
First of all, i like to apologize if i put this on the wrong forum/thread. Please move this to the proper one if it’s necessary.
Hi, allow me to introduce myself. I’m not a PHP programmer to start with. But i need to build a intra net database website for my company. I was looking for many solution base on open source softwares until i found Xataface.
The requirement for this will be:
It must have page for:
-
Login page (consist of different type of user like Super Admin, Admin, User with different privilege, Admin can Edit, Add and Delete, while User can only Add and View)
-
Admin Page: For adding and removing Admin and User and setting their privilege(e.g Admin can Edit, Add and Delete, while User can only Add and View)
-
Input page (for input new database)
-
Edit page (for editing old database)
-
Search page (simple search and advance search) wich view list of people and it’s an Url for viewing details
-
View page (for the detail view of each entry base on Search) and if possible, is printable
And it would be nice if the view database can be ‘sort’ ascending/descending
Basically my question will be like:
1.Can this be done with Xataface?
2.If yes, what do i need (plugin, module, extension etc.)
Here’s the captures of HTML layout of what i’m trying to make:
1.The Login Page
2.The Input Page
3.The Edit page
- The simple search
5.The advance search
- The Print Page
Thank you in advance for any help or suggestion. Again, sorry if i made any mistake,
Best Regards
fongchun — Wed Apr 22, 2009 10:58 pm
Yes, Xataface can do all that with a lot straight out of the box. You won’t need any plugins, but you’ll need to add some custom code to it:
1) Login page (consist of different type of user like Super Admin, Admin, User with different privilege, Admin can Edit, Add and Delete, while User can only Add and View)
Need to use roles/permissions to do this. Refer to tutorials
2) Admin Page: For adding and removing Admin and User and setting their privilege(e.g Admin can Edit, Add and Delete, while User can only Add and View)
The setting privilege you’ll need to add some custom code.
3) Input page (for input new database)
Straight out of the box
4) Edit page (for editing old database)
Straight out of the box
5) Search page (simple search and advance search) wich view list of people and it’s an Url for viewing details
Straight out of the box
6) View page (for the detail view of each entry base on Search) and if possible, is printable
Straight out of the box. But for printing, I am actually not sure about that.
mamamiaw — Thu Apr 23, 2009 7:50 pm
Thanks for the kind reply fongchun Sir
Since i’m not a native english speaker, may i re-confirm this statement:
“Straight out of the box “
Does it mean that this can be accommodated using the Xataface built-in features?
As for the Printing Solution, anybody else got a solution?
And also, may i apply my LAYOUT to this? Since we’re really love this layout.
Again thanks alot for the reply, and for the future reply
Best Regards
fongchun — Thu Apr 23, 2009 8:25 pm
Straight out the box simply means you don’t need to add any code. It just works that way when you first download and use it.
You can use the layout if you wish, but you’ll have to do a little configuration such as using Smarty tags, and playing with Xataface actions. If you are interested in this, I can write a quick tutorial on how to do.