Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Nascondere link  (Read 3221 times)

0 Members and 1 Guest are viewing this topic.

drakonis

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Nascondere link
« on: January 06, 2008, 01:08:45 pm »

Salve, mi chiedevo come posso nascondere alcuni link della barra in alto senza cancellarli del tutto, cosė da poterli reinserire in un secondo tempo. I link che vorrei escludere momentaneamente sono "preferiti" e " cerca".
Grazie. B)
« Last Edit: January 07, 2008, 09:45:17 pm by Lontano »
Logged

twist

  • Moderator
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 360
    • 100iso.eu
Re: Nascondere link
« Reply #1 on: January 06, 2008, 01:31:54 pm »

Devi ridefinire le variabile "$template_sub_menu", nel theme.php del tuo theme, se non c'e', usa il theme "sample" copia quella funzione e togli quello che vuoi nascondere.

una cosa del genere:
Code: [Select]
$template_sub_menu = <<<EOT
                                         <h2>Gallery Menu</h2>
                                         <ul>
<!-- BEGIN custom_link -->
                                            <li><a href="{CUSTOM_LNK_TGT}" title="{CUSTOM_LNK_TITLE}">{CUSTOM_LNK_LNK}</a></li>
<!-- END custom_link -->
<!-- BEGIN album_list -->
                                            <li><a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a></li>
<!-- END album_list -->
                                            <li><a href="{LASTUP_TGT}" title="{LASTUP_LNK}">{LASTUP_LNK}</a></li>
                                            <li><a href="{LASTCOM_TGT}" title="{LASTCOM_LNK}">{LASTCOM_LNK}</a></li>
                                            <li><a href="{TOPN_TGT}" title="{TOPN_LNK}">{TOPN_LNK}</a></li>
                                            <li><a href="{TOPRATED_TGT}" title="{TOPRATED_LNK}">{TOPRATED_LNK}</a></li>
                                         </ul>
EOT;

ciao
Logged

Davide Renda

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1427
  • aka "Lontano"
    • www.daviderenda.eu
Re: Nascondere link
« Reply #2 on: January 06, 2008, 02:33:28 pm »

o altrimenti usa il plugin  Final Extract, che ti permette anche di scegliere cosa far vedere e cosa nascondere a seconda della classe d'utenza

drakonis

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Re: Nascondere link
« Reply #3 on: January 06, 2008, 10:51:37 pm »

Grazie delle info. :)
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 18 queries.