NYCPHP Meetup

NYPHP.org

[joomla] modules in mulitple positions

Rolan Yang rolan at omnistep.com
Sat Oct 6 12:39:11 EDT 2007


That's totally what I needed. Thanks!

~Rolan

bz-gmort at beezifies.com wrote:
> Rolan Yang wrote:
>> Rolan Yang wrote:
>>> bz-gmort at beezifies.com wrote:
>>>> Rolan Yang wrote:
>>>>> I want to place the search module in one position (top) for the 
>>>>> front page, but place it at the "right" position for other pages. 
>>>>> Is there an easy way to do this? I'm thinking I could create a 
>>>>> copy of the search module configure the second one for "right"  or 
>>>>> create a copy of the template and and apply it to the front page 
>>>>> (swapping out positions for "top" and "right") but I'm wondering 
>>>>> if there is an easier way...??
>> What I ended up doing was duplicating the module like so:
>>
>> went into the /modules directory
>> cp mod_search.php mod_search2.php
>> cp mod_search.xml mod_search2.xml
>
>
> Why not just go to Site Modules in the Admin, click the checkbox next 
> to the modules, and then click "copy".
>
> Than you will have 2 modules you can position and configure 
> independently of each other that use the same code.  You can even 
> configure them seperately(for example, a module that displays the 
> latest articles can be configured in one instance to show 3 articles 
> and another to show 10)
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>



More information about the Joomla mailing list