replace 'select.genericList' with simple html text? - Joomla! Forum - community, help and support


hi,
this may seem dumb of you, started developing under php , joomla , i'd appreciate help...

i trying display current category name user browsing in module using (not joomla categories),
unfortunately, module not developed me, nor can find developer.
there line displays drop-down list, list display current category user browsing, (and if no category chosen display blank line):

code: select all

<?php echo jhtml::_('select.genericlist', $this->locationlist, 'locationid', null , 'id', 'name', $this->locationid);?>

what trying display simple html current category name instead of drop-down list.
should simple enough, though have no idea how that... :)

any appreciated!!
thanks!

hi awint,

take closer @ $this->locationlist. use var_dump see how variable looks , extract name of category.

regards





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