Can't resume original theme and change any theme options
-
theflame
- Phoca Newbie

- Posts: 5
- Joined: 18 Jan 2010, 09:38
Can't resume original theme and change any theme options
Subject is simple but hard to decide for me. When I tried to use other themes from this site I could not change any global view option manually. How can I resume original options or delete installed themes? After reinstallation I receive the same
Any ideas? Thanks
-
theflame
- Phoca Newbie

- Posts: 5
- Joined: 18 Jan 2010, 09:38
Re: Can't resume original theme and change any theme options
In renderfront.php file I find function "renderCategoryCSS". But I can't understand where this function get variables $font_color, $background_color, $border_color and other. I searched for in database but didn't found yet. HELP ME, PLEASE
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Can't resume original theme and change any theme options
Hi, try to install default or default transparency theme.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
theflame
- Phoca Newbie

- Posts: 5
- Joined: 18 Jan 2010, 09:38
Re: Can't resume original theme and change any theme options
Thank you, Jan. I did it. But after installing any theme the possibility to change decoration from global options disappeared. In other forums I saw request to have button for default parameters.Jan wrote:Hi, try to install default or default transparency theme.
Jan
But!
I create own theme and it was partly decided. Maybe it is more elegantly but I would like to have possibility to change view from global options. Where does Phoca Gallery get this parameters from? May I change them from phpmyadmin or through some file?
Thank you
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Can't resume original theme and change any theme options
Hi, you can see the default settings in config.xml file in installation ZIP file or in:
administrator/components/com_phocagallery/ folder
All the parameters are managed by Joomla! framework, so in fact parameters are worked and saved in Joomla! not in Phoca Gallery.
Jan
administrator/components/com_phocagallery/ folder
All the parameters are managed by Joomla! framework, so in fact parameters are worked and saved in Joomla! not in Phoca Gallery.
Jan
If you find Phoca extensions useful, please support the project
-
theflame
- Phoca Newbie

- Posts: 5
- Joined: 18 Jan 2010, 09:38
Re: Can't resume original theme and change any theme options
In renderfront.php I find this functionJan wrote:Hi, you can see the default settings in config.xml file in installation ZIP file or in:
administrator/components/com_phocagallery/ folder
All the parameters are managed by Joomla! framework, so in fact parameters are worked and saved in Joomla! not in Phoca Gallery.
Jan
Code: Select all
function renderCategoryCSS($font_color, $background_color, $border_color, $imageBgCSS,$imageBgCSSIE, $border_color_hover, $background_color_hover, $ol_fg_color, $ol_bg_color, $ol_tf_color, $ol_cf_color, $margin_box, $padding_box, $opacity = 0.8) {
$opacityPer = (float)$opacity * 100;
$tag = "<style type=\"text/css\">\n"
." #phocagallery .phocaname {color: $font_color ;}\n"
." .phocagallery-box-file {background: $background_color ; border:1px solid $border_color;margin: ".$margin_box."px;padding: ".$padding_box."px; }\n"
." .phocagallery-box-file-first { $imageBgCSS }\n"
." .phocagallery-box-file:hover, .phocagallery-box-file.hover {border:1px solid $border_color_hover ; background: $background_color_hover ;}\n"
About config.xml the fact is that I done reinstallation. Suppose it should be replaced. Becouse I removed all files and copied new. Maybe I don't understand?
-
theflame
- Phoca Newbie

- Posts: 5
- Joined: 18 Jan 2010, 09:38
Re: Can't resume original theme and change any theme options
Maybe I understood. After theme installation with some checkbox it applies separately for global config, for category and for categories. Therefore in menu item were separately options. I. e. when I changed parameters in menu options it started to work.
Suppose my experience will be usefull for somebody.
Sorry for spend your time
Suppose my experience will be usefull for somebody.
Sorry for spend your time
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Can't resume original theme and change any theme options
Ok
If you find Phoca extensions useful, please support the project