Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Nascondere link  (Read 3107 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.019 seconds with 19 queries.