pass parameters to module chrome?

For Joomla! 1.5 Coding related discussions, please use: http://groups.google.com/group/joomla-dev-general
jayantap
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Feb 23, 2010 1:29 pm

Re: pass parameters to module chrome?

Post by jayantap » Tue Feb 23, 2010 1:39 pm

Im using same module in 4 different part of a particular web page. Like:
<jdoc:include type="modules" name="openx" adsize="120x60" />
<jdoc:include type="modules" name="openx" adsize="120x60" />....

But in the funciton $attribs['adsize'] always gives me the last value.... any suggestion? :)

randy270
Joomla! Intern
Joomla! Intern
Posts: 67
Joined: Thu May 22, 2008 1:40 pm
Location: Philadelphia, PA
Contact:

Re: pass parameters to module chrome?

Post by randy270 » Fri Oct 08, 2010 4:40 pm

Help. I'm searching and searching for an answer to my issue. This thread comes rather close.

I just want to change the h3 "title" attribute in a module I've created to something else. How do I do this?

User avatar
lcdweb
Joomla! Intern
Joomla! Intern
Posts: 87
Joined: Thu Jul 19, 2007 3:32 am
Location: Albany, NY
Contact:

Re: pass parameters to module chrome?

Post by lcdweb » Sat Oct 09, 2010 5:21 pm

look into creating custom module chrome
http://docs.joomla.org/Tutorial:More_on ... ule_chrome

fikiland
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Jun 09, 2011 7:26 am

Re: pass parameters to module chrome?

Post by fikiland » Mon Jun 13, 2011 12:52 pm

i'm using $globals['namevar'] to passing parameter from component to module
and it works fine


Locked

Return to “Joomla! 1.5 Coding”