Welcome, Guest. Please login or register.
Did you miss your activation email?
14 May 2008, 05:21

Login with username, password and session length
Home Chat Help Search Calendar Login Register
Pages: [1]
Print
Author Topic: Plugin PAGINATION (TEST)  (Read 4034 times)
0 Members and 1 Guest are viewing this topic.
alby
Member Support Team
Moderator
Power Poster
*****

Karma: 99
Online Online

Posts: 2128

Location: Ferrara, Italy


My kids


« on: 25 Sep 2007, 15:31 »

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:



Quote
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 <head> and </head>) or in metadata option of that page:

{literal}
<script type="text/javascript" src="module_custom/virtualpaginate.js">
/***********************************************
* 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
***********************************************/
</script>

<style type="text/css">
/*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;
}
</style>
{/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

* pagination.mpg (7.1 KB - downloaded 251 times.)
* pagination.mpg (7.1 KB - downloaded 99 times.)
« Last Edit: 15 Jan 2008, 04:45 by alby » Logged

Member CMSMS Support Team
Italian Forum Moderator - Italian admin Project

Plugins: Geolocate hostip - Multiple random image - Image rotator (PLEASE test beta) - Content Pagination (TEST PLEASE)

Modules: ForumMadeSimple - Howto (FMS)

Multilingual: CMSMS MLE 1.2.4b - Doc/Howto/Tips (#9)
yule
Forum Member
*

Karma: 0
Offline Offline

Posts: 5


« Reply #1 on: 26 Sep 2007, 16:25 »

interessante! lo provo subito! Wink
Logged
alby
Member Support Team
Moderator
Power Poster
*****

Karma: 99
Online Online

Posts: 2128

Location: Ferrara, Italy


My kids


« Reply #2 on: 08 Oct 2007, 12:14 »

interessante! lo provo subito! Wink

Nessun report?
Eppure lo ritengo interessante per chi pubblica spaginate di testo ....


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

Alby
« Last Edit: 20 Oct 2007, 02:15 by alby » Logged

Member CMSMS Support Team
Italian Forum Moderator - Italian admin Project

Plugins: Geolocate hostip - Multiple random image - Image rotator (PLEASE test beta) - Content Pagination (TEST PLEASE)

Modules: ForumMadeSimple - Howto (FMS)

Multilingual: CMSMS MLE 1.2.4b - Doc/Howto/Tips (#9)
heimat
Forum Member
*

Karma: 0
Offline Offline

Posts: 3


« Reply #3 on: 16 Jan 2008, 04:08 »

Funziona benissimo, al primo colpo!

Grazie Alby
Logged
Kuuke
Forum Member
*

Karma: 0
Offline Offline

Posts: 6


« Reply #4 on: 27 Jan 2008, 17:37 »

Splendid !! Works like a charme Smiley
Logged
alby
Member Support Team
Moderator
Power Poster
*****

Karma: 99
Online Online

Posts: 2128

Location: Ferrara, Italy


My kids


« Reply #5 on: 28 Jan 2008, 13:35 »

Splendid !! Works like a charme Smiley

 Grin
Logged

Member CMSMS Support Team
Italian Forum Moderator - Italian admin Project

Plugins: Geolocate hostip - Multiple random image - Image rotator (PLEASE test beta) - Content Pagination (TEST PLEASE)

Modules: ForumMadeSimple - Howto (FMS)

Multilingual: CMSMS MLE 1.2.4b - Doc/Howto/Tips (#9)
lordanthony
Forum Member
*

Karma: 0
Offline Offline

Posts: 3


« Reply #6 on: 30 Jan 2008, 16:39 »

Brilliant - works perfectly for me.
Thanks very much for your excellent contribution.
Logged
Pages: [1]
Print
Jump to: