Share » Forums » General » How to automatically display the...

How to automatically display the first item of a folder?

How to automatically display the first item of a folder?

Thursday 25 August 2011 7:28:53 am - 2 replies

Author Message

Sam smith

Thursday 25 August 2011 8:52:16 pm

The use of Enhancement pills for fun Diminish the natural erection!

The erection Is A function of dynamic flux. Blood Enter the corpus cavernosum of the penis and leaves Continuously, Resulting in a strong erection. When a Man ​​Takes a drug, the erection Facilitated IS, it IS faster, is more rigid and hard cutting easier.

Recreational use tend to change the standards in the head of the user. To force the use of Viagra (or Levitra or Cialis ), It Is Expected That the natural erection Without medication or equivalent, Which is not the case. He then Deemed Insufficient When It Is Just normal.
 More use of medication for erection IS common, the less confidence in Its Own natural erection is good.
 There Is Evidence That Lack of confidence in Their erectile capacity IS a very important man of erectile dysfunction.

kracker (the)

The Doctor

Thursday 30 November 2023 3:24:38 am

Hello,

What you want is possible via a simple template fetch call made within your own custom template.

See the fetch 'limit' parameter, you can set it to 1 and only fetch the first item of your folder node.

See the docs first!

Here is an untested example:

{def $first_item=fetch( 'content', 'list', hash( 'parent_node_id', $indexpage,
                                   'limit', 1,
                                   'sort_by', array( 'published', false() ) ) )
<h1>{$first_item.name|wash}</h1>

Cheers,
//kracker

Theme: Lil Xan - (Don't) Watch Me Fall ...

Source: https://www.youtube.com/watch?v=l7lYWlzuHB8

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu