Using page description (if available) instead of first block
Permalink Browser Info Environment
Hi,
I was wondering if there's a way to customise the template so it uses the page description instead of the first block when ones available? Basically would like to use the page block excerpt as a fallback when users haven't added a page description.
Great add on by the way... find myself using it all the time.
I was wondering if there's a way to customise the template so it uses the page description instead of the first block when ones available? Basically would like to use the page block excerpt as a fallback when users haven't added a page description.
Great add on by the way... find myself using it all the time.
Type: | Discussion |
---|---|
Status: | New |
Yes, this is very easy to do (it's how the built in page_list block does it)... just override the template file by copying this file:
...to here:
Then modify that copied file and change this line:
...to this:
Cheers,
Jordan