{TEASER_EX} Replacement tag v1.90 - 10.1.2007
-
- Posts: 317
- Joined: Mon 19. Apr 2004, 06:10
- Location: Greenville, SC USA
- Contact:
[PHP]-problem
First off I'd like to say that I absolutely love the teaser ex RT!
BUT I do have a slight problem. In my template for the article listing, I use the [PHP][/PHP] function to show the number of comments for the article (See http://www.phpwcms.de/forum/viewtopic.php?t=8816). This comes out as code instead of the actual PHP-function.
Is there any way to use the [PHP][/PHP] function in my template when using teaser ex?
BUT I do have a slight problem. In my template for the article listing, I use the [PHP][/PHP] function to show the number of comments for the article (See http://www.phpwcms.de/forum/viewtopic.php?t=8816). This comes out as code instead of the actual PHP-function.
Is there any way to use the [PHP][/PHP] function in my template when using teaser ex?
Just like Kvist...
I have the same issue with RTs:
etc...
Thanks
I have the same issue with RTs:
Code: Select all
[b] [/b] or [B] [/B]
[i] [/i] or [I] [/I]
Thanks
![Image](http://logotypes.ca/mdglogotypes03f.png)
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
-
- Posts: 46
- Joined: Tue 25. Oct 2005, 22:27
A few "layout" problems...
fixed.
Last edited by Shapeshifter on Tue 15. Aug 2006, 15:57, edited 1 time in total.
-
- Posts: 46
- Joined: Tue 25. Oct 2005, 22:27
Hi
has anybody run this in Version 1.2.6 ?
have never tested it before
got
my call looks like
has anybody run this in Version 1.2.6 ?
have never tested it before
got
any help?Notice: Undefined index: in ..... phpwcms_template/inc_script/frontend_render/reptag_teaser_ex.php on line 61
my call looks like
Code: Select all
{TEASER_EX:Service|10;Produkte|10:3:article_tstamp|DESC:1:Page:1:}
Hello Horst!
Change line 61 from
to
Erich
Change line 61 from
Code: Select all
$show_news_from = intval($_GET['f']);
Code: Select all
if ($_GET['f']) $show_news_from = intval($_GET['f']); else $show_news_from = 0;
Hello Erich,
Could not live anymore without your {TEASER_EX}
While you'r here..
I had this question for you...
--- 01. ---
Looking for a small and minor tweak....
I am trying to put the category name on it's own single line, rather than being immediately followed by the article title.
How could I edit this line? (~ 327):
$tmpl = render_cnt_template($tmpl, 'TITLE', html_specialchars($article_list[$key]["article_catname"]." - ".$article_list[$key]["article_title"]));
the " - " being the part where I need to replace with a break like "<br />" but it is not being taken
What I want to acheive is this:
Category Name Here
Article Title Here
Followed of course, by the summary
text Followed of course, by the summary
text Followed of course, by the
summary text ...
Also:
--- 02. ---
Would it be difficult to make {TEASER_EX} being able to
parse other RTs like: etc. ... ?
Cheers,
Could not live anymore without your {TEASER_EX}
![Laughing :lol:](./images/smilies/icon_lol.gif)
![Wink :wink:](./images/smilies/icon_wink.gif)
While you'r here..
![Wink :wink:](./images/smilies/icon_wink.gif)
I had this question for you...
--- 01. ---
Looking for a small and minor tweak....
![Wink :wink:](./images/smilies/icon_wink.gif)
I am trying to put the category name on it's own single line, rather than being immediately followed by the article title.
How could I edit this line? (~ 327):
$tmpl = render_cnt_template($tmpl, 'TITLE', html_specialchars($article_list[$key]["article_catname"]." - ".$article_list[$key]["article_title"]));
the " - " being the part where I need to replace with a break like "<br />" but it is not being taken
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
What I want to acheive is this:
Category Name Here
Article Title Here
Followed of course, by the summary
text Followed of course, by the summary
text Followed of course, by the
summary text ...
Also:
--- 02. ---
Would it be difficult to make {TEASER_EX} being able to
parse other RTs like: etc. ... ?
Cheers,
![Image](http://logotypes.ca/mdglogotypes03f.png)
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
Hi
thanx for your response - but still get the Notice![Sad :(](./images/smilies/icon_sad.gif)
have changed the Line now to
think then I miss something but the Notice is away
can't see where 'f' comes from![Question :?:](./images/smilies/icon_question.gif)
thanx for your response - but still get the Notice
![Sad :(](./images/smilies/icon_sad.gif)
have changed the Line now to
Code: Select all
$show_news_from = 0;
![Confused :?](./images/smilies/icon_confused.gif)
can't see where 'f' comes from
![Question :?:](./images/smilies/icon_question.gif)
Hi Horst!
Try this one
Erich
Try this one
Code: Select all
if (isset($_GET['f'])) $show_news_from = intval($_GET['f']); else $show_news_from = 0;
Erich
- Fulvio Romanin
- Posts: 394
- Joined: Thu 4. Dec 2003, 11:12
- Location: Udine, Italy
- Contact:
@Timenator:
@StudioZ and @Kvist:
Replace line 482 (v1.0.6) with
Erich
No i'm sorry...Is there a way to use Teaser_EX with multiple categories AND MySQL 3.23.58?
@StudioZ and @Kvist:
Is there any way to use the [PHP][/PHP] function in my template when using teaser ex?
Would it be difficult to make {TEASER_EX} being able to
parse other RTs like: etc. ... ?
Replace line 482 (v1.0.6) with
Code: Select all
return str_replace("<br /><br />", "<br />", html_parser(render_PHPcode($listing)));
Hey many thanks Erich
Your tweak at line line 482 is working perfect !!!
Any idea on how to isolate the Category Title now...
If you have time...
Cheers,
Yves
![Very Happy :D](./images/smilies/icon_biggrin.gif)
![Very Happy :D](./images/smilies/icon_biggrin.gif)
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Your tweak at line line 482 is working perfect !!!
![Wink :wink:](./images/smilies/icon_wink.gif)
erich_k4 wrote:Would it be difficult to make {TEASER_EX} being able to
parse other RTs like: etc. ... ?
Replace line 482 (v1.0.6) withErichCode: Select all
return str_replace("<br /><br />", "<br />", html_parser(render_PHPcode($listing)));
Any idea on how to isolate the Category Title now...
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
If you have time...
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
Cheers,
Yves
![Image](http://logotypes.ca/mdglogotypes03f.png)
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!