article default overide

0 views
Skip to first unread message

alanski

unread,
Nov 3, 2009, 6:03:33 PM11/3/09
to Joomla! General Development
I have been trying to use template overides per article to access the
intro text of an article.
So in template/html/com_content/article/default.php
I am trying to say if section id =2 then hide all intros for articles
in this view.

However, even though there is a parameter check for show_intro, I cant
access the intro and choose to do something with it as the article
object text seems to have been concatenated/joined already, ie article-
>text is already combining the intro and main into one.

Is my thinking right here?

If so then can a menu level check on the section/category view effect
hide intro on article view without hiding the intro from blog displays

cheers
alanski

Andrew Eddie

unread,
Nov 4, 2009, 5:50:42 AM11/4/09
to joomla-de...@googlegroups.com
I think that gets taken care of in the view ($this->article->text).
You may not have much control over that in the layout if show_intro is
not set. Not sure on that one.

Regards,
Andrew Eddie
http://www.theartofjoomla.com - the art of becoming a Joomla developer




2009/11/4 alanski <in...@joomkit.com>:
Reply all
Reply to author
Forward
0 new messages