TinyPortal

Development => Support => Topic started by: tunsurya on April 20, 2009, 04:11:16 PM

Title: Missing Forum and contact menu page when using custom theme
Post by: tunsurya on April 20, 2009, 04:11:16 PM
Hallo ..
Glad to meet you all here
I'm new member here and just beginner want to learn and need help
I have installed SMF 1.1.8 and TP v1.0 beta 3
smf mod advance contact form 1.1 installed.when  used smf defoult  core theme all menu ok,but when i try to use another theme (MCPLUS theme) menu Forum and contact page not seen there.
Please help me how to fix this problem and give detail step by step ho to do

Thanks
Title: Re: Missing Forum and contact menu page when using custom theme
Post by: Renegd98 on April 20, 2009, 04:19:10 PM
Welcome tunsurya to Tinyportal.

To add a menu to the theme read thsu the following How to add a Home button or a new tab? (http://docs.tinyportal.co.uk/index.php?topic=30) and it will give you an idea on how to add the tab/menu choice for the forum and contact.

if you need further help/info after this then please let us know.
Title: Re: Missing Forum and contact menu page when using custom theme
Post by: tunsurya on April 20, 2009, 05:27:57 PM
I to try to do like on this link  How to add a Home button or a new tab? but i just find like this
// Show the [help] button.
echo '<li><a href="', $scripturl, '?action=help" >' , $txt[119] , '</a></li>'; on index template php .
so how is it?
Title: Re: Missing Forum and contact menu page when using custom theme
Post by: Renegd98 on April 20, 2009, 05:41:19 PM
In the fututre please use the #code option to display code.

To make the forum button do the following:

// Show the [forum] button.
echo '<li><a href="', $scripturl, '?action=forum" >' , $txt['tp-forum'] , '[/url]</li>';


To make the contact button do the same but change the action to whatever the contact action is. Most likely it is contact. You can see what it is from the default theme and also the code to put inside the $txt[xxxx] string can be found in the default theme also.
Title: Re: Missing Forum and contact menu page when using custom theme
Post by: tunsurya on April 20, 2009, 07:01:50 PM
Yeah ..ok thanks very much for your help.
my problem solved ha...