Page 1 of 1

Plugin PAGINATION (TEST)

Posted: Tue Sep 25, 2007 8:31 pm
by alby
Da una idea di questo topic.
Utile per pagination di qualsiasi content. In pratica suddivide un pagina molto lunga in più parti (numero ed punto di interruzione definite da voi) con i link per la navigazione. Vedere qui per informazioni ed esempi
Sostituire il file allegato da .mpg a .zip
Seguire le indicazioni del file README.txt:


From a idea of this topic.
Useful for CONTENT pagination. Divide your long content in multi part (numbers and break points that you want) with navigation link. See this for info and examples.
Substitute the attach file from .mpg to .zip
From README.txt file:


1. Put file function.pagination.php in [cms_root]/plugins/


2. Put file block.page.php in [cms_root]/lib/smarty/plugins/


3. Put file virtualpaginate.js (in example: module_custom, change src in script tag if other) in [cms_root]/module_custom/


4. Add this code in your page template (between and ) or in metadata option of that page:

{literal}

/***********************************************
* Virtual Pagination script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/



/*CSS used for the Virtual Pagination. MODIFY as desired*/

.virtualpage{ /*hide the broken up pieces of contents until script is called. Remove if desired*/
display:none;
}
.paginationstyle{ /*Style for demo pagination divs*/
width:250px; text-align:center; padding:2px 0; margin:9px 0;
}
.paginationstyle select{ /*Style for demo pagination divs' select menu*/
border:1px solid navy; margin:0 15px;
}
.paginationstyle a{ /*Pagination links style*/
padding:0 5px; text-decoration:none; border:1px solid black; color:navy; background-color:white;
}
.paginationstyle a:hover, .paginationstyle a.selected{ color:#000; background-color:#FEE496; }
.paginationstyle a.imglinks{ /*Pagination Image links style (class="imglinks") */
border:0; padding:0;
}
.paginationstyle a.imglinks img{ vertical-align:bottom; border:0; }
.paginationstyle a.imglinks a:hover{ background:none; }
.paginationstyle .flatview a:hover, .paginationstyle .flatview a.selected{ /*Pagination div "flatview" links style*/
color:#000; background-color:yellow;
}

{/literal}


5. Insert block page tags {page}{/page} in your content textarea:
{page} 1 piece of content {/page}
{page} 2 piece of content {/page}
{page} 3 piece of content {/page}


6. Add AFTER all pieces the following tag: {pagination}
Alby

Re: Plugin PAGINATION (TEST)

Posted: Wed Sep 26, 2007 9:25 pm
by yule
interessante! lo provo subito! ;)

Re: Plugin PAGINATION (TEST)

Posted: Mon Oct 08, 2007 5:14 pm
by alby
yule wrote: interessante! lo provo subito! ;)
Nessun report?
Eppure lo ritengo interessante per chi pubblica spaginate di testo ....


Nothing?
Strange, it's important for publish LONG pages ....

Alby

Re: Plugin PAGINATION (TEST)

Posted: Wed Jan 16, 2008 10:08 am
by heimat
Funziona benissimo, al primo colpo!

Grazie Alby

Re: Plugin PAGINATION (TEST)

Posted: Sun Jan 27, 2008 11:37 pm
by Kuuke
Splendid !! Works like a charme :)

Re: Plugin PAGINATION (TEST)

Posted: Mon Jan 28, 2008 7:35 pm
by alby
Kuuke wrote: Splendid !! Works like a charme :)
;D

Re: Plugin PAGINATION (TEST)

Posted: Wed Jan 30, 2008 10:39 pm
by lordanthony
Brilliant - works perfectly for me.
Thanks very much for your excellent contribution.

Re: Plugin PAGINATION (TEST)

Posted: Thu Feb 12, 2009 9:27 am
by requish
Its working nice for text in content. :)

BUT. How to install the pagination in ALBUM module? Ex. in template of module adding loop when if pictures = 10, then adding pagination...

Please help


OR

How to kick section Page 1/4 to TOP of content?

Re: Plugin PAGINATION (TEST)

Posted: Fri Mar 06, 2009 9:38 pm
by alby
requish wrote: Its working nice for text in content. :)

BUT. How to install the pagination in ALBUM module? Ex. in template of module adding loop when if pictures = 10, then adding pagination...
No, this is for pagination of content text only (content, global content, news content, ...) and not for logic

requish wrote: How to kick section Page 1/4 to TOP of content?
UNTESTED but try with (use {page} tag only in content):

{content assign="mycontent"}
{pagination}
{$mycontent}

Alby

Re: Plugin PAGINATION (TEST)

Posted: Sat Mar 07, 2009 10:12 am
by requish
thank you :)

Re: Plugin PAGINATION (TEST)

Posted: Wed Jan 26, 2011 5:13 pm
by leonoid
How to download Attachments? The extension mpg has been deactivated and can no longer be displayed (

Re: Plugin PAGINATION (TEST)

Posted: Tue Mar 22, 2011 7:29 pm
by Marijus
Pagination files
pagination.zip
(7.1 KiB) Downloaded 777 times