Subrion CMS Support Forums   Follow Subrion on Twitter Join Us on Facebook

Go Back   Subrion CMS Support Forums > Common Information > General Chat

General Chat That's the right place for your to discuss anything you want.

Reply

 

LinkBack Thread Tools Display Modes
Old 11-19-2008   #1 (permalink)
Junior Member
 
Join Date: Nov 2008
Posts: 3
mbnetwork is on a distinguished road
Default Can i add a new tab to (edit account) page?

i need to add a new tab with some content to edit-account page next to Common tab and Password.
How can we add new tabs?
mbnetwork is offline   Reply With Quote
Old 11-19-2008   #2 (permalink)
Administrator
 
Vasily B.'s Avatar
 
Join Date: Feb 2008
Location: Kyrgyzstan, Bishkek
Posts: 509
Vasily B. is on a distinguished road
Default Re: Can i add a new tab to (edit account) page?

Welcome to our support forums

You should make changes in edit-account.tpl file that's located in /templates/Your_Template/ directory.

Find the following code:
Code:
{if $pictures_sections}
            <li><a href="#sbr-tab-container-3"><span>{$lang.pictures_info}</span></a></li>
{/if}
add the following after it:
Code:
<li><a href="#sbr-tab-container-4"><span>your custom tab</span></a></li>
then find the following code:
Code:
            <div style="clear:both;margin-bottom:10px;"></div>
        </div>
{/if}
    </div>
</form>
{include file="footer.tpl"}
change it to the following:
Code:
            <div style="clear:both;margin-bottom:10px;"></div>
        </div>
{/if}
        <div id="sbr-tab-container-4">here comes your tab content</div>

    </div>
</form>
{include file="footer.tpl"}
Let us know if you have more questions
__________________
Auto classifieds script, Best Articles Script, Web Directory Software, Realty Classifieds Script,
eLitius Affiliate Tracking Script - Open Source Affiliate Script, Free Directory Script - Best Free Directory Script
Follow Surbion CMS news and updates on Subrion Twitter
Vasily B. is offline   Reply With Quote
Old 11-19-2008   #3 (permalink)
Junior Member
 
Join Date: Nov 2008
Posts: 3
mbnetwork is on a distinguished road
Default Re: Can i add a new tab to (edit account) page?

thanks it works
mbnetwork is offline   Reply With Quote
Old 11-19-2008   #4 (permalink)
Administrator
 
Vasily B.'s Avatar
 
Join Date: Feb 2008
Location: Kyrgyzstan, Bishkek
Posts: 509
Vasily B. is on a distinguished road
Default Re: Can i add a new tab to (edit account) page?

No problem, ask if you need any help
__________________
Auto classifieds script, Best Articles Script, Web Directory Software, Realty Classifieds Script,
eLitius Affiliate Tracking Script - Open Source Affiliate Script, Free Directory Script - Best Free Directory Script
Follow Surbion CMS news and updates on Subrion Twitter
Vasily B. is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Account Fields bosshog001 Subrion Core Discussion 1 11-13-2008 09:16 PM
How does a user view their account information? brainegg General Chat 1 10-20-2008 11:10 PM
Account users Real Name not public dstemper Article Script / Article Directory Script 1 08-11-2008 09:14 PM
Cannot logon to admin account moth Subrion Core Discussion 1 05-02-2008 06:04 AM
Edit Catagory bosshog General Chat 1 01-17-2008 09:13 PM


All times are GMT -6. The time now is 09:35 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0