Member
Member
mercury66   2009-10-14, 13:01
#1

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

Administrator
Administrator
acrylian   2009-10-14, 13:17
#2

The function existance check is not necessary as that is a standard template function. The "home page" is "index.php".

Member
Member
mercury66   2009-10-14, 14:14
#3

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

Administrator
Administrator
acrylian   2009-10-14, 15:12
#4

if($_zp_gallery_page != "index.php") { } should work.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.