Menu Items linked to 1 page, populating placeholder snippets - Joomla! Forum - community, help and support


is possible have 1 page placeholder snippets , depending on menu item links 1 page placeholders populated based on menu item?

i'm working on site need page each usa state; 50 pages. every page have exact same text except state names listed. such as:

"you're reading text texas , same on every page."

instead of creating 50 pages exact same text except state name, possible have 1 page below , snippet auto populated depending on menu item linking it? there 50 item menu each state:

"you're reading text [state] , same on every page."


i've looked through extensions , can't quite find achieve that.

thanks!,
wesley
j!2.5.x

what went ahead , did use jfactory , pull menu item name , use echo placeholders in 1 article, menu item name each state name.

i placed below variable @ top of article:

code: select all

<?php $active = jfactory::getapplication()->getmenu()->getactive(); ?>

and placeholders inserted echo:

code: select all

echo $active->title;


this isn't user-friendly way client maintain need. i'll revisit later see if can achieve same plugin or such.

- wesley





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support