SimplePortal

Customization => Themes and Graphics => Topic started by: giridhari on June 08, 2009, 10:49:51 AM

Title: How to add custom Button in Main Menu
Post by: giridhari on June 08, 2009, 10:49:51 AM
(http://i42.tinypic.com/s43s0h.jpg)


I need to add this "FORUM" Button in Main Menu in my SMF theme

Can anyone explain me ?????


Please help me soon

Title: Re: How to add custom Button in Main Menu
Post by: Nathaniel on June 08, 2009, 06:41:14 PM
See this topic: Working with Custom Themes. (http://simpleportal.net/index.php?topic=52.0)

Moved to the Themes and Graphics (http://simpleportal.net/index.php?board=18.0) board.
Title: Re: How to add custom Button in Main Menu
Post by: giridhari on June 08, 2009, 06:47:58 PM
please reply me the solution here
Title: Re: How to add custom Button in Main Menu
Post by: Nathaniel on June 08, 2009, 06:50:34 PM
Please try following the steps in this post: http://simpleportal.net/index.php?topic=148

If you can't do that, then please post your '{smfdirectory}/Themes/{themename}/index.template.php' file as an attachment.
Title: Re: How to add custom Button in Main Menu
Post by: giridhari on June 12, 2009, 05:14:05 AM
Please make changes to this attatchment
Title: Re: How to add custom Button in Main Menu
Post by: 130860 on June 12, 2009, 10:39:17 AM
the file attatched belongs to a 2.0 version:

// Version: 2.0 RC1; index


please attach your Sources/subs.php file

greetings!
Title: Re: How to add custom Button in Main Menu
Post by: giridhari on June 12, 2009, 10:55:25 AM
It is of 1.1.9
Title: Re: How to add custom Button in Main Menu
Post by: 130860 on June 12, 2009, 11:23:59 AM
mmm, this is weird, I still think the file is for 2.0, however, can yo post a link to your forum an attatch your Sources/subs.php file please ;)


greetings!
Title: Re: How to add custom Button in Main Menu
Post by: giridhari on June 12, 2009, 11:29:01 AM
Subs.php added
Title: Re: How to add custom Button in Main Menu
Post by: 130860 on June 12, 2009, 11:40:42 AM
yep, you are using 2.0:

Software Version:           SMF 2.0 RC1-1   /taken from subs.php file line 8  ;)

try with this one and, are you sure you had installed simpleportal? because I had to make all the edits in subs.php no just the buttons one
Title: Re: How to add custom Button in Main Menu
Post by: Nathaniel on June 16, 2009, 07:31:33 PM
Any updates on this issue giridhari?

Did 130860's solution help you?
SimplePortal 2.3.8 © 2008-2024, SimplePortal