I can put the page image in a menu or on a page but now I'm trying to make the root page image appear on all sub pages.
(Page 'image' dropdown under options tab.)
Does anyone know if this is possible and any hints if it is?
Thanks
SimonR
[SOLVED] Get root page image - is this possible?
[SOLVED] Get root page image - is this possible?
Last edited by Simon66 on Sat Mar 22, 2014 9:52 am, edited 1 time in total.
Re: Get root page image - is this possible?
Try the CGSimpleSmarty module.
Grtz. Rolf
Grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Get root page image - is this possible?
Thanks Rolf
I already looked at CGSimpleSmarty and rejected it. I also tried to write a very complicated UTD which was rubbish and didn't work.
After your reply I looked at CGSimpleSmarty again and realised I could daisy chain them.
It was this simple:
Thanks again
Simon
I already looked at CGSimpleSmarty and rejected it. I also tried to write a very complicated UTD which was rubbish and didn't work.
After your reply I looked at CGSimpleSmarty again and realised I could daisy chain them.
It was this simple:
Code: Select all
{cgsimple::get_root_alias('','rootalias')}
{cgsimple::get_page_content($rootalias,'image','rootimage')}
<img src="{uploads_url}/images/sub_logos/{$rootimage}"></img>
Simon