Page 1 of 1
Font size for title not working
Posted: 08 Aug 2008, 19:41
by fidoboy
I'm trying to change the font size for the title under each thumbnail in frontpage but it doesn't work. It also happens with the font color... The new values are saved, but they are not used in frontpage...
regards,
Re: Font size for title not working
Posted: 08 Aug 2008, 20:54
by caro84g
Hi,
because you have to type the font sizes and box colors, you have to change them in the component parameters for each menulink. See the user-manual (and lots of other forum posts)
Carolien
Re: Font size for title not working
Posted: 16 Aug 2008, 12:52
by birdie
Ah, thanks a lot, Carolien!
This almost drove me crazy! I changed text colors every place possible, in css files, in view.htmp.php, in xml files -AND THEY STILL WERE UNCHANGED.
This behaviour is kind of counter-intuitive. What are css files for when you afterwards have to change the same thing at five places, on and on again?
There also is no possibility to derive the text colors from the joomla template. That's because it is not possible to leave color-input boxes in the admins parameter dialogue empty. Empty should mean: Rely on CSS!
Thanks otherwise for this beautiful component, Jan!!
birdie
Re: Font size for title not working
Posted: 16 Aug 2008, 19:30
by fidoboy
Well, i still believe that this is a bug, so i hope that it will be solved on future releases. I think that colors and font sizes configured in admin settings should be used as default for ALL gallery views, not being dependant on menu or itemid. If you change this settings in menu options, it should override the general specifications...
regards,
Re: Font size for title not working
Posted: 17 Aug 2008, 18:48
by Jan
Joomla framework:
Defaul settings (color: white) will be overriden by Parameters Component (color:black). Parameters Component override the default CSS (color:blue) because of users which doesn't know CSS (most of users) ... (color black will be displayed)
Why Parameters Component override Default Settings? Ask the Joomla developers which have created this system (for me this is a great behaviour because of its variability) See:
https://www.phoca.cz/documentation/index ... -in-joomla
Why Parameters Component override some CSS settings? Because most of users don't know CSS, so they have option to change the design through parameters (very easy and appreciated way how to change the design of the component). I know CSS but I have installed Phoca Gallery for my friends several times and it was very quickly for me to change the design through the parameters ( so it is not about users which don't know CSS)
Phoca Gallery is a GPL component and if there is developer which wants to change the behaviour, he (she) can remove the parameters from the code and then the CSS will be used, so if he (she) understand the CSS, he (she) can find the CSS class and change the design here.
Well, i still believe that this is a bug, so i hope that it will be solved on future releases ... I think that colors and font sizes configured in admin settings should be used as default for ALL gallery views, not being dependant on menu or itemid
It is not a bug, it is a kind of solution. I think, it will be not 'solved' on future releases:
SOLVED != RESTRICT USERS AND JOOMLA! VARIABILITY
Jan
Re: Font size for title not working
Posted: 17 Aug 2008, 23:00
by fidoboy
I'm sorry Jan, but i think that Phoca Gallery is working just at reverse way, when i change the font title color into Phoca Gallery settings that parameters ARE NOT USED. I've changed the font color into black and the font is being showed in blue color. So, how the admin settings work? The values there are not being used. The most intuitive way is that if i change color settings in phoca gallery component THAT values are used by default, but if i create a menu for Phoca Gallery, by default it should show THAT values (leaving values empty) but if i change the values in the menu item, then this values should be used...
I hope that you can understand the idea now...
best regards,
Re: Font size for title not working
Posted: 17 Aug 2008, 23:47
by Jan
Did you read this article:
https://www.phoca.cz/documentation/index ... -in-joomla
It explains why the font color (parameter saved in text form field) is not taken from global configuration.
So if you read the article, you will know that if you change the font color to black, it will be evertime overriden by Menu link Parameters Component and if you will not set the Parameter Component than the default value (blue) will be taken from XML parameter file... There is no chance to get default value for text and textarea input form from global configuration because it will be everytime overriden by:
- parameters component (if not set, e.g. blank), then by
- xml file (if not set ... this should not be possible) then by
- default value in php code...
As I said, the solution is that text and text area input fields get some kind of 'default' set... BUT IT MUST BE DONE IN JOOMLA not in Phoca Gallery....
The most intuitive way is that if i change color settings in phoca gallery component THAT values are used by default, but if i create a menu for Phoca Gallery, by default it should show THAT values (leaving values empty) but if i change the values in the menu item, then this values should be used
This is what I want from begining but Joomla doesn't work this way. PHOCA GALLERY DOESN'T HAVE ANY PARAMETERS. SAVING AND GETTING PARAMETERS IS A WORK OF JOOMLA.
I have added a post on joomla.org forum, I have created an article about this problem, but it seems I must still explain it instead of developing new features ...
IMPORTANT IS, that it is not so easy to say Joomla developers, that if the input form will be blank, the default value will be taken... Such solution will destroy all the parameters system in Joomla! So there must be found some soluton which can solve this problem and which will not destroy the current parameters system
Jan