Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • oren Friend
    #180625

    hi
    on job list page i can see the list of all jobs with relevant modules’ the problem is when i click on a job to see the details the modules from the job list page display on the single job (same Itemid).

    is it possible to have different Itemid on the job page so i can control the modules’?

    thanks

    Thanh Nguyen Viet Friend
    #466869

    Hello Oren,

    You can override template file of job list page to update the link to detail page.
    E.g: if you use “inline” theme, please open the file:
    component/com_jajobboard/views/jajobs/tmpl/themes/inline/jalist-item.php

    Finding this code snippet:
    <a href=”<?php echo JRoute::_(‘index.php?option=’. JBCOMNAME .’&view=jajobs&layout=jaview&cid[]=’.$item->id.’&Itemid=509&alias=’.$alias); ?>” class=”<?php echo $class;?>”> <?php echo $item->title; ?> </a>

    and then replacing it with:
    <a href=”<?php echo JRoute::_(‘index.php?option=’. JBCOMNAME .’&view=jajobs&layout=jaview&cid[]=’.$item->id.’&alias=’.$alias.’&Itemid=509′); ?>” class=”<?php echo $class;?>”> <?php echo $item->title; ?> </a>

    Replacing Itemid with your one.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Thanh Nguyen Viet 12 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum