Hi -
I'm running the latest LISE module in CMSMS 2.1.1
Is there a way to use a LISE item detail values in my Core::Page Template?
For example, I would like the $item->title to replace the page title in the META <title> tag as well as within a <h1> tag in the page template.
I would also like the $item->title to show up in my breadcrumbs Navigator.
How can I access the LISE $item from the page template?
Thanks!
-jon
LISE (ListIt2) item details values in Page Template
Re: LISE (ListIt2) item details values in Page Template
There has been a lot of questions about this subject in the forums though it's not specifically about LISE. It's a general question.
In your (LISE) detail template assign specific values to smarty variables and use them LATER in your page template.
Note that by default the page template's <head> section is processed later than the </__body> section.
Further important to note that in CMSMS 2.x Smarty variable scopes come into play
Very useful information:
http://www.cmscanbesimple.org/blog/smar ... e-examples
(buy Rolf a cup of coffee
)
In your (LISE) detail template assign specific values to smarty variables and use them LATER in your page template.
Note that by default the page template's <head> section is processed later than the </__body> section.
Further important to note that in CMSMS 2.x Smarty variable scopes come into play
Very useful information:
http://www.cmscanbesimple.org/blog/smar ... e-examples
(buy Rolf a cup of coffee
Re: LISE (ListIt2) item details values in Page Template
Thank you greatly. This is my first site with CMSMS 2 and the smarty variable scope thing got me.
Good info. Cup of coffee bought
Good info. Cup of coffee bought
Re: LISE (ListIt2) item details values in Page Template
Thank you!ooopie wrote:Good info. Cup of coffee bought
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -



