Register |
Your Cart is currently empty.
Home > Forum
Welcome, Guest

[SOLVED] Template CSS overrides Comp Chart CSS
(1 viewing) (1) Guest

Dear Customers,

Feel free to submit requests if you have any questions or need assistance.

Before submitting a support request, please pay attention to the description of the corresponding product and frequently asked questions. Answers you are looking for may already be there.
When submitting a request, please include as many details on the problem as you can. This will help us understand the essence and provide you with a helpful solution.
For more information on our support conditions, view JoomPlace support policy.
THANKS FOR YOUR PATIENCE!

TOPIC: [SOLVED] Template CSS overrides Comp Chart CSS

Re:Template CSS overrides Comparison Chart CSS 1 year, 5 months ago #13441

  • Nana
  • OFFLINE
  • Moderator
  • Posts: 926
  • Karma: 9
Yes, you're absolutely right.

The permissions are set correct, but the thing is that's important who is owner of the folders and who (what user) could work with server php. If there're different owners, it's possible to use FTP layer in Joomla.

Re:Template CSS overrides Comparison Chart CSS 1 year, 5 months ago #13442

I am in a hosted environment, but the ownership for all files are set to my account user. The ftp layer is on.

Re:Template CSS overrides Comparison Chart CSS 1 year, 5 months ago #13443

  • Nana
  • OFFLINE
  • Moderator
  • Posts: 926
  • Karma: 9
Does it work well?

Re:Template CSS overrides Comparison Chart CSS 1 year, 5 months ago #13444

No it doesn't - and that's the very point. It doesn't work at all. Regardless of what I do, the changes to the Comparison Chart template won't take effect.

I have tried changing the sectionheader background-color with the built in "Change Color" editor: Doesn't work.

I have made the according changes manually in Comparison Chart's "custom" template's CSS: Doesn't work!

The Joomla template's CSS settings are not overridden.

Have you tried it on any of your own installations of Comparison Charts? Does it work for you?

If you send me your email address, I'll give you a temporary admin login to my site if you want.
Last Edit: 1 year, 5 months ago by Christoffer Geijer.

Re:Template CSS overrides Comparison Chart CSS 1 year, 5 months ago #13448

  • Nana
  • OFFLINE
  • Moderator
  • Posts: 926
  • Karma: 9
You could send the access to my email: Something is hidden for guests. Please log in or register to see it.

You can check the edit-function on our demo site, here's FE of chart:
demo.joomplace.com/index.php?option=com_...harts&Itemid=107

There's the page to edit the template:
demo.joomplace.com/administrator/index.p...rt&task=template

We've opened your chart
www.webblabbet.se/index.php?option=com_c...harts&Itemid=219
we've figured out the chart table has the incorrect class (see the screenshot).
02.png


There should not be 'chart_table1', it should be just 'chart_table'. It couldn't be changed by settings, so you've edited the file "comparisonchart.html.php" manually and wrote the incorrect class there. As the class value is wrong, CSS (you try to edit) won't response and the colour won't be changed. It might be the cause.
Last Edit: 1 year, 5 months ago by Nana.

Re:Template CSS overrides Comparison Chart CSS 1 year, 5 months ago #13449

Hi and again thanks for your efforts. It's funny that you get that code. I haven't changed comparisonchart.htlm.php to my best knowledge. This is how the same lines look in the file for my site:

	$html .= '<div class="componentheading">'.$chart_content[0]->chart_name.'</div><div style="float:right;">'.comparisonchart_html::print_popup($chart_content[0]->chart_id).'</div>';
$html .= '<br/><div style="margin-bottom:10px;">'.stripslashes($chart_content[0]->rt_descriptions_before).'</div>';
$html .= "\n<table width='100%' cellpadding='0' class='chart_table".$template[$chart_content[0]->chart_css]."' cellspacing='0' border='".(($rt_isborder == 1)?1:0)."'>\n";
$html .= "<tr id='row_tr".$table."_head'>".(($chart_content[0]->hidden)? "<td class='sectiontableheader'>&nbsp;</td>":"")."<td id='first_column' class='sectiontableheader' style='width:".$prop_width.";'>&nbsp;</td>\n";
$html .= $str."</tr>\n";
$v_optionid = -100;
$i=1;$row_num = $chart_counter+1;$incer = 0;


As you can see, there's no change made there. What do you reckon?
Last Edit: 1 year, 5 months ago by Christoffer Geijer.
Moderators: Maria_B
Time to create page: 0.60 seconds