I'm a n00b to G2

leeman

Joined: 2005-03-19
Posts: 22
Posted: Wed, 2005-03-30 11:53

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.

 
leeman

Joined: 2005-03-19
Posts: 22
Posted: Wed, 2005-03-30 12:24

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

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2005-03-30 16:03

take a look at:
edit permissions
site admin / modules / custom fields
layouts/matrix/templates/albumBody.tpl, singleBody.tpl

 
leeman

Joined: 2005-03-19
Posts: 22
Posted: Thu, 2005-03-31 15:07

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...

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2005-03-31 15:45

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.

 
leeman

Joined: 2005-03-19
Posts: 22
Posted: Thu, 2005-03-31 15:58
mindless wrote:
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.

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

 
jlangdon

Joined: 2006-01-31
Posts: 17
Posted: Fri, 2006-03-24 04:24

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!

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2006-03-24 16:26

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