Pagelist show "no pages" if no pages available
Permalink
Hi all,
I am betting this has come up before but I can't find it anywhere on the site... I apologise if it has come up.
I was wondering how to make a Pagelist template that shows a message like "no pages available" if there are no pages to show. Currently it just stays blank when no pages are there to be highlighted.
Any help would be greatly appreciated.
Richard
I am betting this has come up before but I can't find it anywhere on the site... I apologise if it has come up.
I was wondering how to make a Pagelist template that shows a message like "no pages available" if there are no pages to show. Currently it just stays blank when no pages are there to be highlighted.
Any help would be greatly appreciated.
Richard
Note: /* +++Added extra */ means this piece of code added additionally into the page list.
Rony