Page 1 of 1
Hello,i
Posted: 15 May 2008, 18:03
by phil05
Hello,
i want to build a PhocaGallery Theme. Therefore I looked at the existing Themes. I think I know what I have to do, but there is one problem:
Where can I find a list of all "Params" which I can put inside of the "theme.xml"?
I want to change more params as are used in the default theme.
Greetz
Hi,
Posted: 15 May 2008, 22:49
by Jan
Hi,
https://www.phoca.cz/development/
The Theme behaviour work this way. If you upload a theme, the parameters in:
- global configuration
- all categories views
- all category view
will be overwritten, so If you add some parameter which exists in Phoca Gallery component but is not contained e.g. in Default Theme, your parameter will be added (resp. the parameter will overwrite the current parameter in global conf., categories view, category view)
Jan
Thx, but what about
Posted: 16 May 2008, 13:56
by phil05
Thx, but what about the other options? There are not all param names.
E.g. what is the param names to hide or show a folder icon or what is the name of the param to change the number of characters in name??
Greetz
Edit: I dont understand that thing on the Phoca Developement Site:
image_categories_size Âť Size and format of an image:
* Small
* Medium
* Small Folder Icon
* Medium Folder Icon
* Small with Shadow
* Medium with Shadow
* Small Folder Icon with Shadow
* Medium Folder Icon with Shadow
How the param has to look like, if if for example want to change the small folder icon?
see config.xml file
Posted: 16 May 2008, 16:37
by Jan
see config.xml file in Phoca Gallery ZIP file, you will see the values and their keys:
e.g. small folder icon:
<param name="image_categories_size" default="2" />
because of:
<param name="image_categories_size"
type="list" default="4" label="Image Categories Size"
description="Image Categories Size DESC">
<option value="0">Small</option>
<option value="1">Medium</option>
<option value="2">Small Folder Icon</option>
<option value="3">Medium Folder Icon</option>
<option value="4">Small with Shadow</option>
<option value="5">Medium with Shadow</option>
<option value="6">Small Folder Icon with Shadow</option>
<option value="7">Medium Folder Icon with Shadow</option>
Ok thx. I understand
Posted: 16 May 2008, 17:00
by phil05
Ok thx. I understand!