Zen Cart Logo
Forums / All Other Contributions/Addons / Better Categories Contrib & ezpages

Better Categories Contrib & ezpages

Views: 51,778

Results 1 to 20 of 189
10 May 2006, 8:13 AM
#1
heavenlynights avatar

heavenlynights

Zen Follower

Join Date:
Jan 2006
Location:
Australia
Posts:
303
Plugin Contributions:
0

Better Categories Contrib & ezpages

Hi There

Just have a quick question! Better Categories looks fab.

How do I make an allowance for the ezpages in v1.3.1 to have the better categories look. I currently have categories as well as the information sidebox with the better categories look. I would just like to complete the left column with the ezpages also showing the better categories look

I assume that I will need to add some code to one of the files, but could someone please outline the code for me and advise me as to which better categories file I will need to place it in.

Much appreciate anyones assistance.

Cheers

heavenlynights

10 May 2006, 9:29 AM
#2
stbede77 avatar

stbede77

Zen Follower

Join Date:
Apr 2006
Posts:
124
Plugin Contributions:
0

Re: Better Categories Contrib & ezpages

Oh hey man I am glad to hear you got the information sidebox to work with the Better Categories mod... I have been trying to get that to work for the logest time... do you think you could post the code?

10 May 2006, 9:52 AM
#3
heavenlynights avatar

heavenlynights

Zen Follower

Join Date:
Jan 2006
Location:
Australia
Posts:
303
Plugin Contributions:
0

Re: Better Categories Contrib & ezpages

Hi There

There are a number of files to that you will need for this. I have the updated bettercategorie.zip files but I will need to send it to you as I don't think that the contributions section is open to public. In order for me to send you this zip, please pm me.

10 May 2006, 10:34 AM
#4
stbede77 avatar

stbede77

Zen Follower

Join Date:
Apr 2006
Posts:
124
Plugin Contributions:
0

Re: Better Categories Contrib & ezpages

You are god! Thank you so much... I have been trying for the longest time to do just that and since I dont know how everything works its been driving me crazy... Again thank you for your help! :thumbsup:

10 May 2006, 10:36 AM
#5
heavenlynights avatar

heavenlynights

Zen Follower

Join Date:
Jan 2006
Location:
Australia
Posts:
303
Plugin Contributions:
0

Re: Better Categories Contrib & ezpages

No Worries, Glad I could finally help someone. It's usually me that is getting all the help!! :thumbsup:

10 May 2006, 1:43 PM
#6
monkeymadness avatar

monkeymadness

Zen Follower

Join Date:
Feb 2006
Posts:
270
Plugin Contributions:
0

Re: Better Categories Contrib & ezpages

hello

I made my ezpages header and footer look like my better categories by just changing the css

such as adding your styles to

#navEZPagesTop {}

#navEZPagesTop a { padding: 5px; }

#navEZPagesTop a:hover { }

and the same to #navsupp a and a:hover

the padding was the bit that made it work for me

hth

12 May 2006, 9:22 PM
#7
jahgriz avatar

jahgriz

New Zenner

Join Date:
Jan 2006
Posts:
20
Plugin Contributions:
0

Re: Better Categories Contrib & ezpages

Does anyone have a link to their use of the Better Categoires/ezpages? I'm trying to get the Table of Contents from ezpages into a side bar instead of having it directly in the middle of my content. I've been looking at a custom sidebox or customizing the current ezpages side box.
So, will Better Categories allow the "subpages" from ezpages be indented or minimized unless on a page within that group?

15 May 2006, 1:45 AM
#8
heavenlynights avatar

heavenlynights

Zen Follower

Join Date:
Jan 2006
Location:
Australia
Posts:
303
Plugin Contributions:
0

Re: Better Categories Contrib & ezpages

monkeymadness:

hello

I made my ezpages header and footer look like my better categories by just changing the css

such as adding your styles to

#navEZPagesTop {}

#navEZPagesTop a { padding: 5px; }

#navEZPagesTop a:hover { }

and the same to #navsupp a and a:hover

the padding was the bit that made it work for me

hth

Hi Monkeymadness

Tried this, I couldn't seem to get it to work for me (css illiterate). Thanks for your help anyway. I might contact the moderator to see if they can help.

Thanks again

15 May 2006, 6:13 AM
#9
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Better Categories Contrib & ezpages

Has anyone done a "Better Categories" for 1.3 which will xhtml validate. All the versions I have seen work well, but it would be nice to have a version which Validates as well. :mellow:

15 May 2006, 10:31 AM
#10
monkeymadness avatar

monkeymadness

Zen Follower

Join Date:
Feb 2006
Posts:
270
Plugin Contributions:
0

Re: Better Categories Contrib & ezpages

hello..

shame it didnt work for you heavenly...just in case you didnt understand my post...you copy the styles from your bettercategories stylesheet and paste them in the relevant navEZPagesTop

jahgriz if you wrap the bettercategories div in a <ins> it validates

<ins><div "class=betterca....">

</div></ins>

hth :smile:

15 May 2006, 11:06 AM
#11
heavenlynights avatar

heavenlynights

Zen Follower

Join Date:
Jan 2006
Location:
Australia
Posts:
303
Plugin Contributions:
0

Re: Better Categories Contrib & ezpages

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 :thumbsup:

Bettercategoriesfix.zip

heavenlynights:

Hi There

There are a number of files to that you will need for this. I have the updated bettercategorie.zip files but I will need to send it to you as I don't think that the contributions section is open to public. In order for me to send you this zip, please pm me.

16 May 2006, 9:10 PM
#12
wils avatar

wils

Zen Follower

Join Date:
Apr 2006
Location:
Göteborg
Posts:
124
Plugin Contributions:
0

Re: Better Categories Contrib & ezpages

GREAT contrib!!

Minor glitch; in includes/modules/sideboxes/YOUR_TEMPLATE

rename information.php.php to information.php.

18 May 2006, 2:17 AM
#13
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Better Categories Contrib & ezpages

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 :thumbsup:

Bettercategoriesfix.zip
Thanks for this, works well & validates as well!! :smartass:

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 :cry:

I don't see what is causing this in IE6. Any ideas?

18 May 2006, 2:46 AM
#14
heavenlynights avatar

heavenlynights

Zen Follower

Join Date:
Jan 2006
Location:
Australia
Posts:
303
Plugin Contributions:
0

Re: Better Categories Contrib & ezpages

gilby:

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 :cry:

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. :schmoll:

BTW nice job!! How did you get your ezpages to have the better categories? did you use monkeymaddness's suggestion?

18 May 2006, 3:46 AM
#15
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Better Categories Contrib & ezpages

heavenlynights:

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. :schmoll:

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 find

  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 loop

replace with ```
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


you wrap the <a class=...  ...</a>
with <div class="betterCategories"> and </div>

Put in your override directory of course.
18 May 2006, 5:23 AM
#16
heavenlynights avatar

heavenlynights

Zen Follower

Join Date:
Jan 2006
Location:
Australia
Posts:
303
Plugin Contributions:
0

Re: Better Categories Contrib & ezpages

Thanks so much gilby. Your a goddess. This was the initial reason I posted thread for. Great feeling to have closure.

:cheers:

18 May 2006, 2:59 PM
#17
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Better Categories Contrib & ezpages

heavenlynights:

Thanks so much gilby. Your a goddess. This was the initial reason I posted thread for. Great feeling to have closure.

:cheers:

I hope not!!, a god maybe :smile:

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

18 May 2006, 9:04 PM
#18
heavenlynights avatar

heavenlynights

Zen Follower

Join Date:
Jan 2006
Location:
Australia
Posts:
303
Plugin Contributions:
0

Re: Better Categories Contrib & ezpages

gilby:

I hope not!!, a god maybe :smile:

:oops: 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. :smile:

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 :lol:

TIA

18 May 2006, 11:42 PM
#19
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Better Categories Contrib & ezpages

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 :yes:

29 May 2006, 11:32 AM
#20
patski avatar

patski

Zen Follower

Join Date:
Nov 2004
Location:
Deal, Kent, UK
Posts:
325
Plugin Contributions:
0

Re: Better Categories Contrib & ezpages

Many thanks very much for updating this - it now validates perfectly and I like the information page mod too!