{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.
1996 328ti
Posts: 317
Joined: Mon 19. Apr 2004, 06:10
Location: Greenville, SC USA
Contact:

Post by 1996 328ti »

tinoo wrote: Another question: Where is the order of the pagenavigation createt? For
example if i like to have the navigation like this:
<< < Page 1 of 1 > >>

Which line do i have to change in the core code?
I'd like to do this also.
Or possibly just << < > >> +
tinoo
Posts: 311
Joined: Thu 16. Jun 2005, 11:16
Location: Zürich, Switzerland
Contact:

Post by tinoo »

@1996 328ti

Check new version! All done by Erich...
Greetz, tinoo
1996 328ti
Posts: 317
Joined: Mon 19. Apr 2004, 06:10
Location: Greenville, SC USA
Contact:

Post by 1996 328ti »

tinoo wrote:Check new version! All done by Erich...
Is there something newer than 1.61?
That is what I am using.

pagenavstyle = 1 (Graphical Style)
Spagenavpos = 0 (bottom)
thumb_maxwidth =
graphicpagenavlayout = 1 (<< < Page > >>)

I to either Page 1 of 3 or remove the page 1 3 altogether.
erich_k4
Posts: 160
Joined: Thu 31. Mar 2005, 10:29
Location: Austria

Post by erich_k4 »

1996 328ti wrote: I to either Page 1 of 3 or remove the page 1 3 altogether.

use Page|of for pagelink_text (Pagenavigation Caption)

Erich
tinoo
Posts: 311
Joined: Thu 16. Jun 2005, 11:16
Location: Zürich, Switzerland
Contact:

Post by tinoo »

1996 328ti wrote:I to either Page 1 of 3 or remove the page 1 3 altogether.
Sorry, but what's your problem now? This doesn't work or what? I lost
the connection...
Greetz, tinoo
1996 328ti
Posts: 317
Joined: Mon 19. Apr 2004, 06:10
Location: Greenville, SC USA
Contact:

Post by 1996 328ti »

erich_k4 wrote:
1996 328ti wrote: I to either Page 1 of 3 or remove the page 1 3 altogether.
use Page|of for pagelink_text (Pagenavigation Caption)
Erich
Much better, thank to.
I didn't even notice Pagelinktext e.g. Page|from or Seite|von :oops:

Now what if I don't want the page numbers listed at all?
Is that possible?
erich_k4
Posts: 160
Joined: Thu 31. Mar 2005, 10:29
Location: Austria

Post by erich_k4 »

1996 328ti wrote: Now what if I don't want the page numbers listed at all?
Is that possible?
Not at the moment, but in the next version.... :)


Erich
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

Hello Erich,
Just a suggestion or request:
Would it be easy to get {TEASER_EX} to render the isNew.php Rep Tag? :roll:
I have a project where this would be usefull. :wink:
Thanks again for your great efforts on this awesome RT.:D

Cheers,
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
allison
Posts: 32
Joined: Fri 25. Feb 2005, 11:25
Location: Viet Nam
Contact:

Post by allison »

Hi, :lol:
Thanks Erich for great RT. It's very useful for my project! I have a small question :D
My news structure:

Image

Home article only contains RT {TEASER_EX} with syntax:

Code: Select all

{TEASER_EX:news|-1:3:article_created|DESC:0:Trang:1::news_list:-1::0:0::0}
Backend:

Image

Image

And my question is: I don't want to display home article in backend. How can i do that?
I switch home article to invisible and nonpublic. Sometime the RT works, home article doesn't display in backend. But sometime it doesn't work, it only displays the article next home article.

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

Post by erich_k4 »

allison wrote: And my question is: I don't want to display home article in backend. How can i do that?
I switch home article to invisible and nonpublic. Sometime the RT works, home article doesn't display in backend. But sometime it doesn't work, it only displays the article next home article.
Allison.
Hi allison!

you have to exclude the teaser_ex-article from the resultset, to do so follow the steps below:

Image

1. move the cursor over the edit article button (your home article)
2. look at status bar and remember the id (13 in the sample)

adjust your teaser_ex tag.

Code: Select all

{TEASER_EX:news|-1:3:article_created|DESC:0:Trang:1:YOURID:news_list:-1::0:0::0}
Erich
allison
Posts: 32
Joined: Fri 25. Feb 2005, 11:25
Location: Viet Nam
Contact:

Post by allison »

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
1996 328ti
Posts: 317
Joined: Mon 19. Apr 2004, 06:10
Location: Greenville, SC USA
Contact:

Post by 1996 328ti »

tinoo wrote:Hi Folks

I just changend some of the navigation grafics (larger symbols). If you
want to use it - feel free to save them to your disk:
You don't happen to have a new button for all, do you?
tinoo
Posts: 311
Joined: Thu 16. Jun 2005, 11:16
Location: Zürich, Switzerland
Contact:

Post by tinoo »

1996 328ti wrote:You don't happen to have a new button for all, do you?
I'm sorry - i don't have a button for "all"... 'cause i didn't need it... You can
find my modified buttons in /img/button - just have a look there and may be
you'll find a suitable one for "all"? :wink:
Greetz, tinoo
KIer
Posts: 11
Joined: Fri 17. Feb 2006, 20:38

problem with Templatename

Post by KIer »

hi I use {TEASER_EX} Replacement tag v1.61

but in templatename for articlelising, I can only select Default or System, if I select other Templatename, the article disapear, no show.

this works:

Code: Select all

TEASER_EX:en_events|1:1:article_created|DESC:1::1::system:20::0:0:200:0}

Code: Select all

TEASER_EX:en_events|1:1:article_created|DESC:1::1::default:20::0:0:200:0}
but this don't work:

Code: Select all

TEASER_EX:en_events|1:1:article_created|DESC:1::1::event:20::0:0:200:0}
and I have event.tmpl in phpwcms_template/inc_cntpart/list/event.tmpl

It works in my categoery page, but it doesn't work where I put the teaser code.

anyone know what is the problem?

thanks in advance.
erich_k4
Posts: 160
Joined: Thu 31. Mar 2005, 10:29
Location: Austria

Re: problem with Templatename

Post by erich_k4 »

KIer wrote: but this don't work:

Code: Select all

TEASER_EX:en_events|1:1:article_created|DESC:1::1::event:20::0:0:200:0}
and I have event.tmpl in phpwcms_template/inc_cntpart/list/event.tmpl

It works in my categoery page, but it doesn't work where I put the teaser code.

anyone know what is the problem?

thanks in advance.
missing fileextension!
use event.tmpl instead of event
Erich
Post Reply