Dec 04, 2008, 03:59 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Search via SMF or Google: modx forums all of modxcms.com web
  MODxCMS.com   Forums   Help Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: [Solved] Even with a cached call, PHx messes Ditto's pagination links  (Read 2992 times)
0 Members and 1 Guest are viewing this topic.
davidm
Marketing & Design Team
*
Posts: 6,779


The best way to predict the future is to invent it


WWW
« on: May 11, 2007, 03:59 PM »

Wondered if anyone had came accros the same issue but I just discovered that PHx messes up Ditto's pagination : after installing PHx, noticed my pagination was just... gone ! Every placeholder used in the pagination template ([+total+] , [+previous+]  [+pages+] and [+next+]) is just not displayed Huh

Anyone has experienced the same issue and if so, what is the solution (I need both Ditto and PHx) ?
 
« Last Edit: May 12, 2007, 05:22 AM by davidm » Logged

.: nodeo.net : Pour un web libre, moderne et ouvert ! :: david-molliere.net : Suivez en "live" mes expérimentations et billets sur les CMS et autres applications web :.

*** Forums modxcms.fr Participez à l'élaboration du site MODx francophone ! ***

! Nouveau !  En live, ne manquez pas les news de modxcms.fr sur Twitter   ! Nouveau !

MODx est l'outil idéal pour les developpeurs et webdesigners qui cherchent un framework de gestion de contenu hautement flexible et performant, tout en étant simple d'accès pour les utilisateurs finaux.

Config : Apache 2.2.8 - MySQL 5.0.45 - PHP 5.2.6 | Debian 4.0 (Etch)

Réalisations sous MODx : | pargade-notaires.fr | soleil.info | gican.asso.fr | michelez-notaires.com | amadom.gerondicap.com | jocelyne-violet.net
davidm
Marketing & Design Team
*
Posts: 6,779


The best way to predict the future is to invent it


WWW
« Reply #1 on: May 11, 2007, 04:10 PM »

I just tried to add &phx=`0` in my Ditto call to make sure the Ditto PHx extender does not conflict with the plugin, but no changes Undecided

Edit : Hmmm, never mind, this has already been brought up and Heliotrope mentionned that you have to make your Ditto call cached for this to work...
« Last Edit: May 11, 2007, 04:13 PM by davidm » Logged

.: nodeo.net : Pour un web libre, moderne et ouvert ! :: david-molliere.net : Suivez en "live" mes expérimentations et billets sur les CMS et autres applications web :.

*** Forums modxcms.fr Participez à l'élaboration du site MODx francophone ! ***

! Nouveau !  En live, ne manquez pas les news de modxcms.fr sur Twitter   ! Nouveau !

MODx est l'outil idéal pour les developpeurs et webdesigners qui cherchent un framework de gestion de contenu hautement flexible et performant, tout en étant simple d'accès pour les utilisateurs finaux.

Config : Apache 2.2.8 - MySQL 5.0.45 - PHP 5.2.6 | Debian 4.0 (Etch)

Réalisations sous MODx : | pargade-notaires.fr | soleil.info | gican.asso.fr | michelez-notaires.com | amadom.gerondicap.com | jocelyne-violet.net
davidm
Marketing & Design Team
*
Posts: 6,779


The best way to predict the future is to invent it


WWW
« Reply #2 on: May 12, 2007, 05:19 AM »

OK there is something which is not working for me : though pagination shows up with PHx activated when the Ditto call is cached, the next and previous links, as well as page number links do NOT work Undecided

Am I the only one ?
Logged

.: nodeo.net : Pour un web libre, moderne et ouvert ! :: david-molliere.net : Suivez en "live" mes expérimentations et billets sur les CMS et autres applications web :.

*** Forums modxcms.fr Participez à l'élaboration du site MODx francophone ! ***

! Nouveau !  En live, ne manquez pas les news de modxcms.fr sur Twitter   ! Nouveau !

MODx est l'outil idéal pour les developpeurs et webdesigners qui cherchent un framework de gestion de contenu hautement flexible et performant, tout en étant simple d'accès pour les utilisateurs finaux.

Config : Apache 2.2.8 - MySQL 5.0.45 - PHP 5.2.6 | Debian 4.0 (Etch)

Réalisations sous MODx : | pargade-notaires.fr | soleil.info | gican.asso.fr | michelez-notaires.com | amadom.gerondicap.com | jocelyne-violet.net
davidm
Marketing & Design Team
*
Posts: 6,779


The best way to predict the future is to invent it


WWW
« Reply #3 on: May 12, 2007, 05:24 AM »

Okay I found the solution : you have to call Ditto cached yes but you can't cache the page, that was it !
Logged

.: nodeo.net : Pour un web libre, moderne et ouvert ! :: david-molliere.net : Suivez en "live" mes expérimentations et billets sur les CMS et autres applications web :.

*** Forums modxcms.fr Participez à l'élaboration du site MODx francophone ! ***

! Nouveau !  En live, ne manquez pas les news de modxcms.fr sur Twitter   ! Nouveau !

MODx est l'outil idéal pour les developpeurs et webdesigners qui cherchent un framework de gestion de contenu hautement flexible et performant, tout en étant simple d'accès pour les utilisateurs finaux.

Config : Apache 2.2.8 - MySQL 5.0.45 - PHP 5.2.6 | Debian 4.0 (Etch)

Réalisations sous MODx : | pargade-notaires.fr | soleil.info | gican.asso.fr | michelez-notaires.com | amadom.gerondicap.com | jocelyne-violet.net
sinbad
Committed to MODx
*****
Posts: 508



« Reply #4 on: Mar 22, 2008, 04:50 PM »

Thanks David, drove me nuts for hours before I tried the magic search feature   Cheesy
Logged
davidm
Marketing & Design Team
*
Posts: 6,779


The best way to predict the future is to invent it


WWW
« Reply #5 on: Mar 24, 2008, 11:46 AM »

Indeed it can drive you crazy but when unexplainable problem occurs (i.e you know you did things right), it's often cache related Tongue
Logged

.: nodeo.net : Pour un web libre, moderne et ouvert ! :: david-molliere.net : Suivez en "live" mes expérimentations et billets sur les CMS et autres applications web :.

*** Forums modxcms.fr Participez à l'élaboration du site MODx francophone ! ***

! Nouveau !  En live, ne manquez pas les news de modxcms.fr sur Twitter   ! Nouveau !

MODx est l'outil idéal pour les developpeurs et webdesigners qui cherchent un framework de gestion de contenu hautement flexible et performant, tout en étant simple d'accès pour les utilisateurs finaux.

Config : Apache 2.2.8 - MySQL 5.0.45 - PHP 5.2.6 | Debian 4.0 (Etch)

Réalisations sous MODx : | pargade-notaires.fr | soleil.info | gican.asso.fr | michelez-notaires.com | amadom.gerondicap.com | jocelyne-violet.net
Meristem
Member
**
Posts: 72


« Reply #6 on: Mar 30, 2008, 09:55 AM »

So what was the solution? I don't see any Ditto code in this thread about the cache. Please enlighten me.
Logged
Mark
Moderator
*
Posts: 3,247


Ditto Developer


WWW
« Reply #7 on: Mar 30, 2008, 11:24 AM »

Okay I found the solution : you have to call Ditto cached yes but you can't cache the page, that was it !
Logged

Meristem
Member
**
Posts: 72


« Reply #8 on: Mar 31, 2008, 06:19 AM »

Thanks Mark. I missed that while scrolling.
Logged
garmstrong
Jr. Member
*
Posts: 9


« Reply #9 on: Jun 17, 2008, 09:34 AM »

didn't work for me. Sad   EDIT: Got mine to work thanks to the members here.  I had a space after paginate.  Grin
« Last Edit: Jun 17, 2008, 10:36 AM by garmstrong » Logged
markieham
Jr. Member
*
Posts: 6


« Reply #10 on: Oct 15, 2008, 09:12 AM »

Just to add more info for those that are having trouble with pagination links...

The xhtml links setting (Tools -> Configuration) can also mess them up.. the pagination link changes to &start=5 - but manually trying &start=5 does work. Just disable the xhtml links and it'll work again.

Markie
Logged
davidm
Marketing & Design Team
*
Posts: 6,779


The best way to predict the future is to invent it


WWW
« Reply #11 on: Oct 15, 2008, 06:49 PM »

Nice catch but reverting to that setting will mean your URLs are not XHTML valid...
Logged

.: nodeo.net : Pour un web libre, moderne et ouvert ! :: david-molliere.net : Suivez en "live" mes expérimentations et billets sur les CMS et autres applications web :.

*** Forums modxcms.fr Participez à l'élaboration du site MODx francophone ! ***

! Nouveau !  En live, ne manquez pas les news de modxcms.fr sur Twitter   ! Nouveau !

MODx est l'outil idéal pour les developpeurs et webdesigners qui cherchent un framework de gestion de contenu hautement flexible et performant, tout en étant simple d'accès pour les utilisateurs finaux.

Config : Apache 2.2.8 - MySQL 5.0.45 - PHP 5.2.6 | Debian 4.0 (Etch)

Réalisations sous MODx : | pargade-notaires.fr | soleil.info | gican.asso.fr | michelez-notaires.com | amadom.gerondicap.com | jocelyne-violet.net
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP

Copyright © 2005-2008 MODxCMS, All rights reserved. Contact Us
Styles by ziworks.com

Powered by SMF 1.1.4 | SMF © 2005, Simple Machines LLC

Valid XHTML 1.0! Valid CSS!