inline problems

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
tjipke

inline problems

Post by tjipke »

Hello,

Im using the inline mode on my module within cmsms, but something wierd is happening!

Example case of my problem:

"My template"
==========================================
|                                                                |                          |
|    {content} (ID: cntnt01)                          | {mod list=links}  |
|                                                                | (ID: m3, inline)    |
|                                                                |                          |
|                                                                |                          |
|                                                                |                          |
|                                                                |                          |
|                                                                |                          |
|                                                                |                          |
==========================================

a). {content} tag load a page called "home" wich contains the following content: {mod list=articles} and creates a list of articles
b) the right side tag is rendered in "inline" mode
c) the left side tag not inline

The {content} tag displays the page "home" and i get a list of articles with links in it to the detail page
When i click on that link the module gets called and the {content} plugin does not fetch the page "home" content anymore but it calls the module to display the details of the article.

In this case the the tag on the rightside get a new ID: m2. because the module tag located in the page content "home" is gone because of the module call. therefor when i click on the rightside it displays the output within the {content} tag because that tag get visible again gets ID: m2 again..

I hope someone understands what im trying to explain.. and someone can help me to solve this problem
Last edited by tjipke on Mon Dec 22, 2008 4:26 pm, edited 1 time in total.
Post Reply

Return to “Developers Discussion”