Help - Search - Members - Calendar
Full Version: <$mtentrytitle$> Outside <mtentries>
Movable Type Community Forum > Using Movable Type > Templates and Tags
zeronine
Is there a way i can display an <$MTEntryTitle$> outside of <MTEntries>

I need to use <$MTEntryTitle$> inside a javascript. All this is inside a module too.

When I rebuild, I get an error because it's outside <MTEntries>

ErrorMessge:
Building category '666' failed: Build error in template 'Category Archive': Error in <MTInclude> tag: Build error in template 'Tracking Footer': Error in <MTEntryTitle> tag: You used an 'MTEntryTitle' tag outside of the context of an entry; perhaps you mistakenly placed it outside of an 'MTEntries' container?
PRO IT Service
Hi Zeronine,

You could display <$MTEntryTitle$> without <MTEntries> only on the Individual Archives Templates

On any other places you ahve to use outside <$MTEntryTitle$> inside <MTEntries>

Don't get scared, just think about what you have to achieve with that use of <$MTEntryTitle$> on your module and put around it the proper <MTEntries> coding... with any attributes your goal requires


Hope it helps,
Mihai Bocsaru
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.