0
Welcome Guest! Login
0 items Join Now

Template style based on category

  • Template style based on category

    Posted 12 years 5 months ago
    • I searched the forum for this, but feel free to point me in the right direction if this has been covered.

      I am running several domains on one joomla install; each domain with a different style of the Radiance template. The issue I am having is that if you click on an article title or a Readmore button, you see the article displayed in the site's default template.

      I don't think there is a built in way to do this, but it seems like it would just be doing something like "if catid = x, then url = url + &itemid=y "

      My question is, is that feasible and if so, which file should I be hacking?
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: Template style based on category

    Posted 12 years 5 months ago
    • This is actually normal Joomla behavior. For pages that doesn't have assigned itemid (every page dynamically generated which doesn't have menu item defined) Joomla will show modules assigned to the default itemid (which is usually Home page of the site)

      Search google how to overcome this behavior or try this

      Create a hidden MENU.
      Put a MENU ITEM in it for each (single) article you want on separate page (publish)

      No need to put hidden menu anywhere - it will never be seen

      Now joomla will open the articles in a separate page.

      You can also take a look at Advanced Module Manager by nonumber.nl as a possible solution to this issue
    • Check my services at: Mihha-Vision
  • Re: Template style based on category

    Posted 12 years 5 months ago
    • Thank you for the reply.

      I have googled extensively. Enough to know that there is no non-commercial solution available for this problem. There is a $20 solution called Chameleon which will do exactly what I need, but this seems like an easy issue to overcome without using a third party component. Making a hidden menu for 100's of articles isn't really a solution. Its a very time consuming work-around. Once again, my question is this:
      I don't think there is a built in way to do this, but it seems like it would just be doing something like "if catid = x, then url = url + &itemid=y "

      My question is, is that feasible and if so, which file should I be hacking?

      I know I will no doubt get some protest about hacking the core, but since I am using domain redirects in the index.php, I've already gone down this path.
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: Template style based on category

    Posted 12 years 5 months ago
    • If you are using Joomla articles and categories that you can use free version of Advanced Module Manager, just as I suggested 8)
    • Check my services at: Mihha-Vision

Time to create page: 0.070 seconds