Forum

Thread tagged as: Question, Field-Types

pagelist field type?

Where can I download the pagelist field type. I can't seem to find it anywhere

Thanks

Neil Duddridge

Neil Duddridge 1 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Thanks Drew,

Why is it stuck in an archive? Is there a pagelist type in Perch 3 that makes needing the pagelist field type redundant?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Not yet!

How do I make the link display the Navigation text instead of the path

Brittany Lewis said:

How do I make the link display the Navigation text instead of the path

The way we've implemented pagelist is like this, which is a real example from one of our client sites...

<a href="<perch:content id="page1" type="pagelist" label="Link to page" replace=".php|" />" class="btn btn-primary"><perch:content id="button1text" type="text" label="Button 1 Text" help="e.g More Details" /></a>

We let the client input their own text for the pagelist link e.g. More Details, Click here etc

Ah! That's a good idea! Thank you for sharing!

Simon Clay

Simon Clay 127 points

Brittany Lewis said:

How do I make the link display the Navigation text instead of the path

You can also add output="navtext" or output="title" to display text instead of the path

Simon Clay said:

Brittany Lewis said:

How do I make the link display the Navigation text instead of the path

You can also add output="navtext" or output="title" to display text instead of the path

Thanks for this tip Simon, I've never needed to use that for pagelist before, but it's good to know :)