How to adding new tab inside membership area within iframe?

Discussion in 'Templates customization' started by lewist, Jul 10, 2011.

  1. lewist

    lewist New Member

    Joined:
    Jul 9, 2011
    Messages:
    4
    I wanna add new tab within membership area that linked to my blog.
    here is an example of tab feature I want from senuke member page.
    here I include screenshot

    [​IMG]

    and if we open the link, video training for example. its a blog within iframe

    [​IMG]

    Please lemme know what should I change as I really have no clue with smarty template. Thanks
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    This is somewhat specialized to your design- the person who set this up for you is no longer available i'm guessing?

    I can give you the code that will add/remove tabs, but as far as making it function in your iframe- more info would be needed.

    David
  3. lewist

    lewist New Member

    Joined:
    Jul 9, 2011
    Messages:
    4
    Thank you for your reply David.
    Screenshot above are the example that I want from my senuke membership as my website is something else. I want feature like this within my website.
    sure can you tell me the code. or where should I add the add
    if you needed any info I'll let you know through PM.
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
  5. lewist

    lewist New Member

    Joined:
    Jul 9, 2011
    Messages:
    4
    Thanks Alexander but I still don't understand.
    too many thing to be change. lets say I wanna add video training menu which is hosted on somesite.com/members/video (wordpress site) within amember menu tab saying video training. and if I click those from inside amember menu its will showed somesite.com/members/video page within iframe just like the picture I showed you above.
    what code should I change?
    site.inc.php and tabs.inc.php ? if yes then what code should I change/added in there?
  6. lewist

    lewist New Member

    Joined:
    Jul 9, 2011
    Messages:
    4
    Ok I just added this into tabs.inc.php and now the tab are already showed.
    $this->add(new TabMenu_Tab('Video Training', 'page.php', null));
    $this->add(new TabMenu_Tab('Forum', 'page.php', null));
    $this->add(new TabMenu_Tab('Blog', 'page.php', null));
    $this->add(new TabMenu_Tab('Help Desk', 'page.php', null));

    and now for page.php what code should I fill in there to make this tabs functional and adding the page I specially create for each menu to be showed within iframe?
    so example the url tab within menu for video training is is http://somesite.com/amember/page.php?page=training
    and it showed and iframed page of http://somesite.com/members/video (still have amember header and footer, it will only showed in the body)
    and for blog, the URL http://somesite.com/amember/page.php?page=blog
    and it showed and iframed page of http://somesite.com/blog and so on.
    what code should I put within page.php as right now its still blank?
    Thanks

Share This Page