Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.

helpme

 

Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.

 

Display modules on different bt-portfolio pages

Display modules on different bt-portfolio pages

Hey,
i have trouble get metamod work with bt-portfolio you can find it here:http://bowthemes.com/joomla-extensions/ … onent.html
ok, now my Problem. I would like to display on each portfolio different modules. i tried alsmost the whole day different solutions from here but i cant get it to work. I use the actual version of metamod and joomla 2.5.6 . The site is not public so i cant send you a link. But the modules should be displayed for example "on" this URL: /index.php?option=com_bt_portfolio&view=portfolio&id=59:prof-dr-christian-bluemelhuber-in-leipzig&catid_rel=15:medien&Itemid=151
After finishing the sitde, i need to use Friendly URLS done by joomla, is this possible?
I hope my english works out for you.
Best regards
Kevin

lykada
Beginner Modder
ranks
useravatar
Offline
2 Posts
Administrator has disabled public posting

Re: Display modules on different bt-portfolio pages

Hi Kevin,

for the URL given, as an example you can detect it as follows:

if ($option == 'com_bt_portfolio' and $view == 'portfolio') {
  switch ((int)$id) {
    case 59: return XXX;
    case 60: return YYY;
    case 61: return ZZZ;
    // add more here...
  }
}

Replace XXX with the module id to use for portfolio 59, YYY with the id to use for portfolio 60, ZZZ with the module id to use for portfolio 61, etc. Add more lines as necessary.

Also, don't forget to read through the Quick Start guide. http://www.metamodpro.com/metamod/quick-start

Best regards,
Stephen

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3312 Posts
User info in posts
Administrator has disabled public posting

Re: Display modules on different bt-portfolio pages

Thank you so much smile
best regards

Kevin

lykada
Beginner Modder
ranks
useravatar
Offline
2 Posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1666
Total Polls:
6
Total Posts:
5909
Dormant:
User Info:
 
Total Users:
10093
Newest User:
lamanaudio
Members Online:
0
Guests Online:
210

Online: 
There are no members online

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked