{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.
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

Hi KIer,

Try using this:
{TEASER_EX:en_events|1:1:article_created|DESC:1::1::event.tmpl:20::0:0:200:0}

I think you simply had a .tmpl extension missing :wink:
Should be your complete template name:
event.tmpl

Cheers,
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

Hi allison :wink:
allison wrote:Hi Erich,
That is. Everything is good done. It's very simple but I don't understand what "exclude" means in Vietnamese in "Exclude Articles with ID's" content. A stupid question! :oops:
Allison
I don't speak Vietnamese of course but...
Exclude means: the ones you don't want see in your listing.
Suppose you have a serie of articles which numbers are:
10, 11, 12, 13, 14, 15
and that you DON'T want TEASER_EX to show the
article number 13 in the listing... then you will simply exclude it.

Check Erich's TeaserEX-Tag-Generator:
http://www.kmedv.at/wcms/index.php?teaser_ex_generator

Cheers,
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
KIer
Posts: 11
Joined: Fri 17. Feb 2006, 20:38

Post by KIer »

hi erich_k4

it works!

you are great, thanks :D
allison
Posts: 32
Joined: Fri 25. Feb 2005, 11:25
Location: Viet Nam
Contact:

Post by allison »

Hi StudioZ,
I don't read "TeaserEX-Tag-Generator" carefully, so I don't know how to exclude a article. But after read a post by Erich, everything is clear. I found it's very simple so that I said my question is a stupid question. :lol:
Thanks for care StudioZ!
Good luck!
ndm
Posts: 14
Joined: Thu 26. Jan 2006, 14:06
Location: Switzerland
Contact:

Post by ndm »

great !
works perfect. tnx a lot !

greetz from switzerland
keep vintage alive ! use windows !
peri
Posts: 61
Joined: Sat 11. Mar 2006, 14:33

Post by peri »

Really, i dont know how to use this tag.
I have read all 18 pages. And it is still strange to me.

Where do i have to set the code to keep this stuff running??
Ich werd jetzt erst einmal eine Tasse Tee trinken ... mhh lecker

Image
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

You won't get away with posting such an empty query. Where's the details? Where's the "hard work" ?? What have you tried?? What specific questions have you asked -or- do you have to ask?? C'MON :oops: :? :o :roll: :twisted: :shock: :( :P :wink:
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post by pepe »

:roll: :roll: :roll: I second you DeXXus... :wink: :wink: :wink:

The "small handfull" of helpers in this forum have to work x times to answer what a newbees want to now!


Why don't they read all the existing informations, why don't they use the search button, befor they ask :?:

What a crazy world?!
tinoo
Posts: 311
Joined: Thu 16. Jun 2005, 11:16
Location: Zürich, Switzerland
Contact:

Post by tinoo »

pepe wrote:The "small handfull" of helpers in this forum have to work x times to answer what a newbees want to now!
Forums are the badest way to store informations... There is no clear structure, but there are thousands of informations split over several pages...

Look at this topic! 18 pages! That's too match! At the point if you / if we have to repeat answers, we should think about a proper documentation - and a running sample!

And sometimes we should ask "special" newbies, to leave phpwcms and go back to frontpage-wizards... :roll:

@pepe:
Die Sache mit der Multilanguage-Page ist genau sowas... Du schreibst dir die Finger wund und mir wird beim lesen schwindlig :P , aber irgendwo ein paar Seiten weiter hinten schreibt Kosse eine Zusammenfassung, knapp und bündig - und alles wird klar! Dazwischen liegen Seiten, in denen es nichts als die gleichen Fragen hat... Solche Beiträge sollte man radikal ausmisten und alle wichtigen Informationen auf die Docu-Page übertragen,
oder einfach die Zusammenfassung im Forum liegen lassen. Ist natürlich auch eine Mordsarbeit - macht aber sicher auch mehr Spass als immer weider auf die gleichen Fragen zu antworten...
Übrigens: Ich werde mich demnächst mit einer Mehrsprachen-Seite beschäftigen. Vielleicht komm ich dann mal um ein, zwei Tipps abzuholen... :lol:
Last edited by tinoo on Wed 5. Apr 2006, 07:57, edited 1 time in total.
Greetz, tinoo
tinoo
Posts: 311
Joined: Thu 16. Jun 2005, 11:16
Location: Zürich, Switzerland
Contact:

Post by tinoo »

peri wrote:Really, i dont know how to use this tag.
Sorry but if you don't know how to use this tag, you don't need it...

Otherwise you would know what this tag can do and you would understand
the options of this tag. This could be, if you red article nr 1 on page 1 and if
you had a look at erichs demopage. If you still don't know how to manage
it, just be happy with phpwcms without teaser_ex...
Greetz, tinoo
jareeq
Posts: 22
Joined: Wed 15. Feb 2006, 21:49
Contact:

Post by jareeq »

@erich_k4

line 293 should be

Code: Select all

$sql .= $sqlorder;

:-)
erich_k4
Posts: 160
Joined: Thu 31. Mar 2005, 10:29
Location: Austria

Post by erich_k4 »

jareeq wrote:@erich_k4

line 293 should be

Code: Select all

$sql .= $sqlorder;

:-)
it was a bug in ver 1.52 actual version is 1.61 please update your installation
Erich
jareeq
Posts: 22
Joined: Wed 15. Feb 2006, 21:49
Contact:

Post by jareeq »

erich_k4 wrote:
jareeq wrote:@erich_k4

line 293 should be

Code: Select all

$sql .= $sqlorder;

:-)
it was a bug in ver 1.52 actual version is 1.61 please update your installation
im writing about 1.61 downloaded from recomended link that line is missing and problem with sort order is back again...
erich_k4
Posts: 160
Joined: Thu 31. Mar 2005, 10:29
Location: Austria

Post by erich_k4 »

jareeq wrote:
im writing about 1.61 downloaded from recomended link that line is missing and problem with sort order is back again...
could not verify this:

Version 1.61, 14.03.2006
for mysql.4
line 281 $sql .= $sqlorder;
line 298 $sql .= $sqlorder;

dont know what file you are talking about!!!!!???

or do you mean it should be before the "LIMIT" statement on line 293?
Erich
jareeq
Posts: 22
Joined: Wed 15. Feb 2006, 21:49
Contact:

Post by jareeq »

// TEASER_EX replacementtag (by Erich Munz, 2006)^
//
// Version 1.61, 14.03.2006^
//
// requirements: mysql >= 4.x, phpwcms ver >= 1.2.x !!!!!!!!!^
//
// copy this file to phpwcms_template\inc_script\frontend_render

betwen line 292 and 293 $sql .= $sqlorder; is missed , i'v downloaded it yesterday this is the same problem like some time ago, tak a look some previous posts
Post Reply