Page 1 of 1

Default Theme Styles

Posted: 24 Jun 2008, 17:45
by avian
Hello,

i can not change the color attributes via the parameter settings.

I would like to change the styles in the default theme files but i do not know where they are located.

i searched threw the forum and threw the component files but without success.

i use the latest release (Today) and Joomla 1.5.

Thank you

avian

Re: Default Theme Styles

Posted: 24 Jun 2008, 19:22
by Jan

Re: Default Theme Styles

Posted: 16 Aug 2008, 13:29
by birdie
Hi Jan,

this is rather unfortunate, as it breaks the clean separation of content and presentation. :idea:

One simple solution to this would be if one could leave text parameter fields in Menu Links to the component just blank. Blank should mean "use global" for text input fields!

Would this be possible, Jan? The scheme as implemented now breaks the stylability of phoca gallery by CSS themes. :x

Other than this: Thanks for a wonderful component! :twisted:

birdie

Re: Default Theme Styles

Posted: 17 Aug 2008, 19:48
by Jan
Hi,

blank - it is not possible because it is automatically filled by xml parameters...

The solution can be e.g. adding a checkbox 'default' for input fields text and textarea.. but this cannot be done by me, this should be added into a joomla framework by Joomla develeopers... Phoca Gallery uses the Joomla framework for saving and using parameters, so Phoca Gallery cannot change the Joomla framework ....


I asked the Joomla developers for this solution but got no answer... and I think it should make a sense that text and textarea parameters should have some kind of 'default'...

Jan

Re: Default Theme Styles

Posted: 17 Aug 2008, 21:29
by birdie
Thanks for your reply, Jan.

Yes, I understand, and I came to the same conclusion. This is a flaw in Joomla 1.5 Architecture.

Ad XML Parameter: I understand that you fill in a default value for the textfields. What would happen if you leave it blank? Ever tried this?

Nice rest-of-weekend! :wink:

birdie

Re: Default Theme Styles

Posted: 17 Aug 2008, 22:35
by Jan
if the field will be blank, then values from XML (parameters for the component) will be used, if no default value in xml parameters will be used, then the default value from the php code... but you never get the value from global configuration ... :(