And to php ...
But is there a simple way to read/see HOW i can alter the layout.
examples ....
I want to be able to remove certain buttons and tab in the edit album options for users.
I want to be able toreally strip the endusers abilities to do things.
Thankfull for a quick reply .
And I'm willing to pay a few dollars for anyone who can help me "personalize" the user interface.
Posts: 22
Well to clarify little ..
What I really want is to remove all enduser features except.
* Upload images
* Fill in the customfields I have specified.
* Able to creat albums
* Edit the albums custom fields ...
All else should be for admins only
Hope that made sence
Posts: 8601
take a look at:
edit permissions
site admin / modules / custom fields
layouts/matrix/templates/albumBody.tpl, singleBody.tpl
Posts: 22
Thanx fo rthe answer and I have been looking around and gotten most of my customations done.
I have ONE (well mabe two ;) ) things if someone could help me ...
What I really wanna do too is to :
1. In add item. You get three tabs (from browser, server and web)
I wanna remove server and Web.....
2. In edit album/photo
I just wanna have the customfields tab.
Can someone point me and tell me what code/s handles that and in what files ...
That would really help me and I would gladly refer G2 from my site for a long time.
Thank you and sorry for beeing a total n00b...
Posts: 8601
1. you can remove the rows in g2_FactoryMap in the db for the tabs you don't want. you may need to do lib/tools/test/index.php FlushCache to see the change. G2 may also add back those rows when you perform an upgrade.
2. same as above
as these things are part of core module you can't just deactivate a module to disable them.
Posts: 22
Thank you !!!
That was what I was looking for ...
And Yes I'm aware that they might be brought back at an upgrade ...
But as much as I'm modding it now I don't dare upgrading ;)
Thanx again.
I'll prolly be back ;)
//LeeMan
Posts: 17
I too want to remove these tabs... I've removed the rows in the g2_FactoryMap in the MySQL db, but nothing changes. I ran a FLUSH on the g2_FactoryMap table in phpMyAdmin, but that didn't seem to change anything. I'm a TOTAL NOOB, so what did you mean by doing the "lib/tools/test/index.php FlushCache"?
Thanks!
Posts: 8601
FlushCache has moved since that was posted.. it is now in Site Admin / Maintenance and also in lib/support/index.php
We also have this how-to:
http://codex.gallery2.org/index.php/Gallery2:How_to_Limit_Upload_Methods