Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Problem with Multi "Pager Template" on the same page
Last Post 12/14/2009 1:16 PM by Yann Habrial. 4 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Yann Habrial
New Member
New Member
Posts:28


--
12/11/2009 2:57 PM

Hello,

I am encountering a problem with the use of the "PagerPageTemplate" with a few DMX Modules disposed on the same page with the same template configuration.

For example, i have got 10 files with an entry list equal to 5 and the same for all DMX modules on the page. If i try to change the page of one of the DMX module on the page, it changes all the content of the other modules with the content of the one i have clicked. The problem is linked with the URL provided which overwrites the content of the others with the entryid property...

Do you have a configuration for my template which could solve the problem please ?

This is my template configuration for the pager :


[custom:page]

Can you give me a hand with this ?

Thanks a lot,

Nicolas

Yann Habrial
New Member
New Member
Posts:28


--
12/11/2009 3:02 PM

Configuration of the Pager template:

 

"


[custom:page]
"
   

Yann Habrial
New Member
New Member
Posts:28


--
12/11/2009 3:06 PM

For the third time...

div style="display:[custom:pageiscurrent|none;inline]" a href="[dmxmodule:url]Page=[custom:page]" class="pageButton">[custom:page]
div style="display:[custom:pageiscurrent|inline;none]" class="pageButton">[custom:page]



 
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
12/14/2009 12:17 PM
Hi Yann,

The Templated view cannot be used multiple times on the same page. In fact the same goes for the module as a whole. You've correctly identified the issue: the querystring. Just like you can only put one forums module or one blog module on a single page, you can only have one DMX. The strength of being able to reference stuff using a URL is a tradeoff with this.

Peter
Yann Habrial
New Member
New Member
Posts:28


--
12/14/2009 1:16 PM

Hi Peter,

Thanks for your answer. I will organize my page differently then.

Yann

You are not authorized to post a reply.