hi

i tryed "Three column 33/34/33" and "Two column". I added one article "node/11" in every column. so - what happens is:

Two column:
- panel-col-first: outputs the original HTML code of the node. Example code: "<p>Test1</p><p>test2</p><p>Test3</p>"
- panel-col-last: outputs destroyed HTML code. all "</p><p>" tags are replaced by <br /> tags. Example code: "<p>Test1<br />test2<br />Test3</p>"
- additional if i "Display links" in both - the page view counter is dispalyed once in panel-col-first and twice in panel-col-last. Example: "<div class="links">259 Abrufe</div>" and "<div class="links">259 Abrufe | 259 Abrufe</div>"

Three column 33/34/33:
- panel-col-first: outputs the original HTML code of the node. Example code: "<p>Test1</p><p>test2</p><p>Test3</p>"
- panel-col: outputs destroyed HTML code. all "</p><p>" tags are replaced by <br /> tags. Example code: "<p>Test1<br />test2<br />Test3</p>"
- panel-col-last: outputs destroyed HTML code. all "</p><p>" tags are replaced by <br /> tags. Example code: "<p>Test1<br />test2<br />Test3</p>"
- additional if i "Display links" in all of them - the page view counter is dispalyed once in panel-col-first and twice in panel-col-last. Example: "<div class="links">259 Abrufe</div>" and "<div class="links">259 Abrufe | 259 Abrufe</div>" and "<div class="links">259 Abrufe | 259 Abrufe | 259 Abrufe</div>"

how to fix this bugs?

Regards
Marc

Comments

merlinofchaos’s picture

Priority: Normal » Minor

Drupal sometimes has issues displaying the same node repeatedly, and you may be running into that in this case.

Does this happen if you use different nodes in each instance?

If it does not, I wouldn't consider this a high priority, unless I can be convinced that showing the same node in multiple columns is something one really really has to do.

marc.bau’s picture

No, this does not happen if different nodes are used.

But do you know what happen there? Why is the HTML code altered? For me it will be easier to have such a feature, while i must not create text for different panels. I need this for giving layout examples... ok, no big problem - i can create more then one node, but it is a bug!

merlinofchaos’s picture

I believe that this happens because the node is cached by Drupal, and when it goes through the standard view process, it is filtered a second time, which causes things to break in exciting ways.

Generally, the default filter doesn't want you to put a <p> tag in. But the line break converter converts two newlines to paragraphs. The second time it's filtered, it then strips out the <p> tags.

I don't know that this is fixable by panels.module at all, unfortunately, and it may even be related to a bug in PHP5 that can cause objects to be references when they are supposed to be copies. It's kind of crazy.

catch’s picture

Status: Active » Closed (won't fix)