Default Theme Styles

Phoca Guestbook - creating guestbooks in Joomla! CMS
avian
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 24 Jun 2008, 17:32

Default Theme Styles

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Default Theme Styles

Post by Jan »

If you find Phoca extensions useful, please support the project
birdie
Phoca Member
Phoca Member
Posts: 22
Joined: 16 Aug 2008, 12:31

Re: Default Theme Styles

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Default Theme Styles

Post 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
If you find Phoca extensions useful, please support the project
birdie
Phoca Member
Phoca Member
Posts: 22
Joined: 16 Aug 2008, 12:31

Re: Default Theme Styles

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Default Theme Styles

Post 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 ... :(
If you find Phoca extensions useful, please support the project
Post Reply