• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: modificare pagecount in sommario news
PostPosted: Thu Apr 05, 2012 3:18 pm 
Offline
Forum Members
Forum Members

Joined: Sun Feb 19, 2012 1:45 am
Posts: 19
Salve.
Vorrei modificare il modello sommario, in particolare il conteggio delle pagine. ora è cosi:


\$1:
pagina 1 di 7 > >>
oppure
\$1:
<< <pagina 3 di 7 > >>


io vorei modificarlo e renderlo tipo:

1 2 3 4 5 ... 7
un po stile google.

il codice è questo giusto?

\$1:
{if $pagecount > 1}
  <div class="titolo2" style="text-align:center;">
{if $pagenumber > 1}
{$firstpage}&nbsp;{$prevpage}&nbsp;
{/if}
{$pagetext}&nbsp;{$pagenumber}&nbsp;{$oftext}&nbsp;{$pagecount}
{if $pagenumber < $pagecount}
&nbsp;{$nextpage}&nbsp;{$lastpage}
{/if}
</div>
{/if}


come potrei fare dato che ho solo variabili come
\$1:
$nextpage
e
\$1:
$prevpage
?


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting