tag cloud on all pages except home

Hello,

Sorry, I'm a bit new to this - any chance some pointers on how to have the tag cloud function 'printAllTagsAs' in my sidebar on everything bar the homepage?

I'm thinking;

'.. if(function_exists("printAllTagsAs")) {

if($_zp_gallery_page != "home.php") (stuck here)
} else {
echo printAllTagsAs("cloud", "", "abc", FALSE, TRUE, 10, 50, 0, NULL); }

Any pointers appreciated...

Thx,
E

Comments

  • acrylian Administrator, Developer
    The function existance check is not necessary as that is a standard template function. The "home page" is "index.php".
  • Hi Acrylian,

    Ok, check removed.
    What would be the best way to go about writing the part of the function to exclude the cloud from index.php?
    How do I printAllTagsAs 'false'?

    Thx,
    E
  • acrylian Administrator, Developer
    `if($_zp_gallery_page != "index.php") { }` should work.
Sign In or Register to comment.