0
Welcome Guest! Login
0 items Join Now

RokSprocket open a selected Tab

    • w2kd's Avatar
    • w2kd
    • Rocketeer
    • Posts: 50
    • Thanks: 1

    RokSprocket open a selected Tab

    Posted 9 years 7 months ago
    • I have the RokSprocket setup in Tab mode and loaded 3 articles into each tab.
      I then have the module loaded from an article using the {loadposition xxx} in the article
      By default when viewing the page the first tab is selected.

      I now have 3 links on my home page. I would like to have each link go to the page but open up a select Tab.
      Eg Link A to load page with Tab 1 open
      Link B to load page with Tab 2 open.

      Is this possible - I have currently set up the links by referencing the menu item.

      Here the home page uteandtruckrentals.com.au/ with the links under the Locations adn they point to the contact page

      Thanks for your help
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: RokSprocket open a selected Tab

    Posted 9 years 7 months ago
    • w2kd wrote:
      I have the RokSprocket setup in Tab mode and loaded 3 articles into each tab.
      I then have the module loaded from an article using the {loadposition xxx} in the article
      By default when viewing the page the first tab is selected.

      I now have 3 links on my home page. I would like to have each link go to the page but open up a select Tab.
      Eg Link A to load page with Tab 1 open
      Link B to load page with Tab 2 open.

      Is this possible - I have currently set up the links by referencing the menu item.

      Here the home page uteandtruckrentals.com.au/ with the links under the Locations adn they point to the contact page

      Thanks for your help

      Well if you want to avoid you having to override PHP and JS files you could try this.

      1) create 3 RokSprocket Tab layout modules:
      - rsplinka -> in the module setup you'set Tab 1 as the first tab in the Filtered Article List
      - rsplinkb -> in the module setup you'set Tab 2 as the first tab in the Filtered Article List
      - rsplinkc -> in the module setup you'set Tab 3 as the first tab in the Filtered Article List

      2) Your Home page links would open the RokSprocket Tab layout modules rsplinka, rsplinkb and rsplinkc respectively.
    • w2kd's Avatar
    • w2kd
    • Rocketeer
    • Posts: 50
    • Thanks: 1

    Re: RokSprocket open a selected Tab

    Posted 9 years 7 months ago
    • Thanks Dan
      That what I was thinking but thought I try to see if there was a parameter I could pass.
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: RokSprocket open a selected Tab

    Posted 9 years 7 months ago
    • w2kd wrote:
      Thanks Dan
      That what I was thinking but thought I try to see if there was a parameter I could pass.

      This has been asked many times before so I would suggest that you comment in the REQUEST forum ;)

Time to create page: 0.058 seconds