Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How hide some categories links

How hide some categories links

Locked

Views: 736

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
31 May 2010, 9:37 PM
#1
olivier72 avatar

olivier72

New Zenner

Join Date:
Mar 2009
Location:
France
Posts:
58
Plugin Contributions:
0

How hide some categories links

Hi,

I do not find some information on the forum.
I test with various key words in Search box but my english find anything
I would like to hide some links in the sidebox categories for all the visitors.
These hided links are only visible for the logged members.
What is the way?

Regards.
Olivier

1 Jun 2010, 10:14 PM
#4
olivier72 avatar

olivier72

New Zenner

Join Date:
Mar 2009
Location:
France
Posts:
58
Plugin Contributions:
0

Re: How hide some categories links

...
I have installed the last written mod and take a look on its content lines.
I understood how it work.
I want to be sure, when I hide a categories link, the search engine can't found it.
Is this line

$title_link = false;

on includes/modules/sideboxes/mystery_box how broke the link?

The complet code

<?php

require($template->get_template_dir('tpl_mystery_box.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_mystery_box.php');

      $title =  'Mystery Box';
      $title_link = false;
      require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
    
  
?>

Regards
Olivier