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
Build a Phoca Gallery Theme
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Hi,
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
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
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 8
- Joined: 14 May 2008, 09:45
Thx, but what about
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?
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?
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
see config.xml file
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>
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>
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 8
- Joined: 14 May 2008, 09:45
Ok thx. I understand
Ok thx. I understand!