PDA

View Full Version : How do I hide or remove the Gear Notes link from view?


Benoit
20th of July 2004 (Tue), 04:51
Is there a place in the admin section where I can prevent the link Gear notes for this gallery from appearing or is there a file I can hack to prevent it from appearing?

Ewan
22nd of July 2004 (Thu), 03:48
In list.php in the gallery root, around line 2640, you'll find this section:

ob_start();
if ($exhibition != $all_exhibitions_combined) {
print "<a href=\"gear.php?exhibition={$exhibition}&u={$uncookied_ba se_id}\">" . ee_translate_C($translated["gear_notes"]) . "</a> " . ee_translate_C($translated["for_this_exhibition"]) . " ";
}
$gear_notes_link_html = ob_get_contents();
ob_end_clean();


I just commented out the print line to remove the gear notes link from the gallery indexes.

Benoit
22nd of July 2004 (Thu), 07:59
Thanks!!

Benoit
22nd of July 2004 (Thu), 15:27
Thanks! Worked like a charm!