{TEASER_EX} Replacement tag v1.90 - 10.1.2007

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

Hi to all,

have to dig out why i don't get any images listed in teaser ex generated columns and just get one column shown but setup to show 2 columns?

Using wcms 1.3 and TeaserEx 1.9.

I havwe done these steps:

- in category i set articles to -1
- in category i setup some articles with the following settings:
- article listing standard
- make some "schlagtext"
- set a image for articlelisting

and set TeaserEx tag to:
{TEASER_EX:category|6:-1:article_title|ASC:0::2::team-list.tmpl:-1::0:3:150:0:vert::off}

but don't get 2 columns and no images.

Tried also to set no image in article for listing and used instead "use images from article" - but no display of any image.

Hope some one can get me updated.
thank you.
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
tyreal2012
Posts: 46
Joined: Fri 8. Dec 2006, 16:57

Post by tyreal2012 »

/bow thanks for this works a treat

edit fixed it i cant type

edit 2:also is there a way to force view all entires as mine isnt showing at the bottom?
phpWCMS Noob - with a million questions
[1.3.3]
tyreal2012
Posts: 46
Joined: Fri 8. Dec 2006, 16:57

Post by tyreal2012 »

just installed teaser ex and it seems that teaser ex doesnt work with gt now im not sure if this is a teaserex bug or a gt bug?
phpWCMS Noob - with a million questions
[1.3.3]
macmukka

Post by macmukka »

@ tyreal2012 - see my earlier post - http://www.phpwcms.de/forum/viewtopic.php?t=14278

I am using TeaserEx with 1.3.3 - but it doesnt seem to work it just reports:-

<!-- TEASER_EX: No article found -->

Does it work with 1.3.3? I could do with it! Any fixes?

Best - Mac

UPDATE -----

Just restarted my machine that runs testing server and TeaserEx worked the first time - but not after that. Just once?! Does this help anyone with the problem? - Thanks


PROBLEM SOLVED ------

I had a templating problem which meant the correct template was not being called form each article section which was upsetting TeaserEx. I am an idiot!
danielreeders
Posts: 14
Joined: Wed 30. May 2007, 09:25

Post by danielreeders »

Hi Erich,

I'm following Oliver's advice to use {TEASER_EX} to generate an article menu in a given category. I don't want menu items to appear in <H1> so I've created an articlemenu.tmpl file in /inc_cntpart/articlesummary/list/.

I've entered the following code in my template:

Code: Select all

{TEASER_EX:hivaids|-1:-1:default|ASC:0::1::articlemenu.tmpl:-1::0:0:-1:0:vert::off}
In the end result, it applies the custom template to all the articles links EXCEPT THE FIRST ONE, which stays in the default <H1> format!

Very strange. You can see it in action here, unless I figure the problem out first: http://daniel.reeders.net.au/clients/ca ... 12,0,0,1,0

Hope you can help me. Thanks so much,

Daniel
jscholtysik

Post by jscholtysik »

Hi Daniel,

Oliver Georgi does not mean TEASER_EX by Erich, he means the content part teaser, which is in the core code of phpwcms...


Joachim
danielreeders
Posts: 14
Joined: Wed 30. May 2007, 09:25

Post by danielreeders »

jscholtysik wrote:Hi Daniel,

Oliver Georgi does not mean TEASER_EX by Erich, he means the content part teaser, which is in the core code of phpwcms...


Joachim
My mistake in assuming he was replying to the question I actually asked.

Teaser_EX does provide a solution, so I hope someone can still help me.
danielreeders
Posts: 14
Joined: Wed 30. May 2007, 09:25

SOLVED?

Post by danielreeders »

I've found a bugfix or workaround.

On line 887 of reptag_teaser_ex.php I knocked out the second condition in the IF statement.

BEFORE
if ($c_listemplate_id != 'default' && !empty($article_list[$key]["article_image"]['tmpllist']))

AFTER
if ($c_listemplate_id != 'default')

I'm fairly sure for the purposes of this hack, if the template specified in its own tag isn't "default" then it should run through the code that deals with finding another template to use. ;) Set me straight if I'm wrong!
danielreeders
Posts: 14
Joined: Wed 30. May 2007, 09:25

Post by danielreeders »

Now realising some problems with both the teaser CP and the teaser-ex RT for my purposes of finding an article menu solution -- neither one offers the option of highlighting the current page, and neither one (I think) follows the manual ordering I've entered for the articles in the Article Centre.

bigsighverytired I think I'm gonna sleep on it.
ssyfrig
Posts: 364
Joined: Tue 2. Mar 2004, 17:01
Location: Zürich / Switzerland
Contact:

Post by ssyfrig »

Hi Erich

Arbeitest Du an einem update für 1.3.3?

Do you work on an update for 1.3.3?

would be great...

thanks, Sven
zentering
Posts: 120
Joined: Thu 16. Feb 2006, 21:35
Location: Stockholm Sweden

Post by zentering »

Any update or someone tested it on 1.3.3

/ Z
ssyfrig
Posts: 364
Joined: Tue 2. Mar 2004, 17:01
Location: Zürich / Switzerland
Contact:

Post by ssyfrig »

Hi phpwcms community

Hat jemand genügend Erfahrung um den RT so anzupassen das er auf 1.3.3 läuft. Würde so gerne eine Site updaten aber brauche dort den TeaserEX. :cry: :?

Besten Danke Sven
dinnocon
Posts: 62
Joined: Tue 17. Jul 2007, 15:49
Location: UK, Kent

{TEASER_EX} Replacement tag

Post by dinnocon »

Thank god for this forum. Great CMS great support!! I am using version 1.3.3 and am totally new to this kind if thing. I would like to use the TEASER_EX replacement tag, but, can't see where to put the downloaded file. Sorry if this is a dumb question...am sure there is a simple answer. Can anyone please help? Cheers
ssyfrig
Posts: 364
Joined: Tue 2. Mar 2004, 17:01
Location: Zürich / Switzerland
Contact:

Post by ssyfrig »

Hi dinnocon

TEASER_EX doesen't work with 1.3.3

Greez Sven
dinnocon
Posts: 62
Joined: Tue 17. Jul 2007, 15:49
Location: UK, Kent

Post by dinnocon »

ssyfrig wrote:Hi dinnocon

TEASER_EX doesen't work with 1.3.3

Greez Sven
Thanks Sven,

Can you recommend anything similar?
Post Reply