the teasers on my page aren't viewed correctly ..
can't really understand what made all this happens but I'm really depressed with the results I get.
here's a teaser content.
<div class="content">[URL=http://www.arb-up.com/][img]http://www.arb-up.com/files/arb-up-2008-1/Xt511790.jpg[/img][/url]
تعالج [color=blue]<strong>بحة الصوت</strong>[/color]
طارد [color=red]للغازات[/color]
[color=red]منشط لحركة الامعاء[/color]
منبه لأعصاب [color=blue]التذوق [/color]في الفم ومنشط [color=blue]لإفراز العصارة الهاضمة[/color] للمعدة
[color=red]القرفة [/color][color=blue]خافضة لضغط الدم [/color]و [color=blue]نسبة السكر الدم[/color]</div>note that no "p" no "br" tags are leaved !!! and the bbcode tags are not rendered..
while the full node source
===
<div class="content"><p><a class="bb-url" href="http://www.arb-up.com/"><img class="bb-image" alt="" src="http://www.arb-up.com/files/arb-up-2008-1/Xt511790.jpg"/></a></p>
<p>تعالج <span style="color: blue;"><strong>بحة الصوت</strong></span></p>
<p>طارد <span style="color: red;">للغازات</span></p>
<p><span style="color: red;">منشط لحركة الامعاء</span></p>
<p>منبه لأعصاب <span style="color: blue;">التذوق </span>في الفم ومنشط <span style="color: blue;">لإفراز العصارة الهاضمة</span> للمعدة</p>
<p><span style="color: red;">القرفة </span><span style="color: blue;">خافضة لضغط الدم </span>و <span style="color: blue;">نسبة السكر الدم</span></p>
</div>
what may couse this... I don't think it's the theme cause I've tried using another one ..
please help,
Tammam Tulimat.
Comments
Comment #1
gpk commentedYou're right, it's probably not anything to do with the theme, but it is possible for the node template to interfere with node display. Might be worth trying a core theme like Garland.
Rather, it looks as if the filters in the node's input format are not being run on the teaser. Usually, exactly the same filters are run on the teaser as on the full node body. What modules do you have installed? I wonder if one of them is interfering with the filtering process.
Comment #2
Tammamtu commentedi've came to a solution of applying check_markup function to the $node->teaser variable. every thing went fine except for that a teaser has the same length of a node .. as you noticed above ..
so a full node is viewed in teaser and node views.
thnx gpk for helping ..
I'm using BUEditor , forum_access, advanced_forum , cck, views, panels and some more ..
Tammamtu.
Comment #3
gpk commented>a teaser has the same length of a node
That could be because the full node fits within the length defined at admin -> content management -> post settings.
I would guess it's either a module or possibly the theme that's causing this - the only sure way is to disable all contrib modules and select a core theme. If the problem still persists then it implies a bug in core - maybe to do with the handling of RTL or something.
Comment #4
Tammamtu commentedI've done what you suggested ..
the problems comes when I add the "panels" module
I am using 1.2.5 .. I think i should use the new version.
thanks for helping.
tammamtu
Comment #5
gpk commentedOK, glad you found what was causing the problem.
Panels 2.x is significantly different, and I should perhaps just say that your specific problem may not have been fixed in this version (e.g. it may be caused by a conflict with another contrib module you are using) - in fact, if the bug has been reported and fixed then it will probably have been fixed in all versions.
Suggest you try 2.x on a disposable test site, and also have a look at the Panels issue queue http://drupal.org/project/issues/panels and report your particular problem if there's no reference to it there (or change the Project for this one to Panels). (Tho' from a quick look/search I couldn't see anything relevant.)
Marking as "fixed" for now, pls reopen/change project/category etc. as appropriate as and when.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.