Seeing that this has been a rather popular mod and I have been kept busy emailing it, Click below for the zip file if you need it!! Cheers
Bettercategoriesfix.zip
Originally Posted by heavenlynights
Seeing that this has been a rather popular mod and I have been kept busy emailing it, Click below for the zip file if you need it!! Cheers
Bettercategoriesfix.zip
Originally Posted by heavenlynights
GREAT contrib!!
Minor glitch; in includes/modules/sideboxes/YOUR_TEMPLATE
rename information.php.php to information.php.
Thanks for this, works well & validates as well!!Originally Posted by heavenlynights
Have installed it at
www.mypandora.com.au
In firefox 1.5 all works well.
in IE6 the rollovers work in the categories, but in the ezpages & information sidebox the rollovers only work on the text and not on the empty space in the cells
I don't see what is causing this in IE6. Any ideas?
I am not sure either, didn't realise there was a problem with it till you pointed it out. I hate the fact that there are so many browsers as none of them are ever consistant with each other.Originally Posted by gilby
BTW nice job!! How did you get your ezpages to have the better categories? did you use monkeymaddness's suggestion?
around lines 14-16 in tpl_ezpages.php findOriginally Posted by heavenlynights
replace withCode:for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) { $content .= '<li><a class="a-ezylinks" href="' . $var_linksList[$i]['link'] . '">' . $var_linksList[$i]['name'] . '</a></li>' . "\n" ; } // end FOR loopyou wrap the <a class=... ...</a>Code:for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) { $content .= '<li><div class="betterCategories"><a class="a-ezylinks" href="' . $var_linksList[$i]['link'] . '">' . $var_linksList[$i]['name'] . '</a></div></li>' . "\n" ; } // end FOR loop
with <div class="betterCategories"> and </div>
Put in your override directory of course.
Last edited by gilby; 18 May 2006 at 04:49 AM.
Thanks so much gilby. Your a goddess. This was the initial reason I posted thread for. Great feeling to have closure.
I hope not!!, a god maybeOriginally Posted by heavenlynights
But check it out www.mypandora.com.au
The rollovers now work for the information & ezypages in IE6!!
The fix is to add an image to the link like in the categories sidebox, then IE6 treats the whole cell as a rollover. I used the same image as the categories used as a quick fix, in my case a 1x1 transparent pixel.
Now to get some sleep its 1am here
sorry about that. That happened to me earlier in the thread. Maybe there should be a mention of what gender people are in the little sidebox next to the post.Originally Posted by gilby
The rollovers now work for the information & ezypages in IE6!!
The fix is to add an image to the link like in the categories sidebox, then IE6 treats the whole cell as a rollover. I used the same image as the categories used as a quick fix, in my case a 1x1 transparent pixel.
I understand what you are meaning! however I am not sure how I go about doing this. do I add link via the admin or through stylesheet? or fiddling with the files. As you tell I am one of these people that need hand feeding
TIA
It seems that for IE6 if only text is used then the text only is used for the link.
but if part of the link is a graphic then the graphic & the text & the any whitespace is also considered part of the link, so the whole cell is used as the link.
FF 1.5 considers all of the cell is the link regardless.
Not sure which is the correct way it is supposed to work.
Attached are tpl_ezpages.php & tpl_information.php updated to include a graphic which in this case is the default graphic used for the BetterCategories. You could change the name of the graphic to use a different one for all 3 sideboxes.
Cheers
Many thanks very much for updating this - it now validates perfectly and I like the information page mod too!
Bookmarks