EzPortal - Portal Software for Forums

EzPortal - Made to Fit Your SMF Forum - Glad You Found Us!
+- +-

UserBox

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Recent Posts

Minor Update for SMF 2.1.x by EzPortal
October 18, 2020, 09:33:09 am

Re: EzPortal unable to be seen by user with primary custom usergroup by EzPortal
October 12, 2020, 07:55:08 am

EzPortal unable to be seen by user with primary custom usergroup by radi27
October 11, 2020, 04:46:32 pm

Show Likes mod by NickT
July 10, 2020, 12:09:44 pm

Re: ezPortal inbuilt module downloaders not working. by EzPortal
March 26, 2020, 08:19:48 am

Re: ezPortal inbuilt module downloaders not working. by Valdivia
March 26, 2020, 08:16:33 am

Re: ezPortal inbuilt module downloaders not working. by EzPortal
February 12, 2020, 10:01:42 pm

Re: ezPortal inbuilt module downloaders not working. by usalabs
February 12, 2020, 05:59:54 pm

+- HTML Menu


Sample HTML Block Usage - You May Custom Code it, as needed!

Author Topic: Tutorial: Custom Button on Custom Themes  (Read 5943 times)

0 Members and 1 Guest are viewing this topic.

Offline mghq

  • Posts: 14
  • Karma: 3
  • Gender: Male
    • Gaming Hubs
Tutorial: Custom Button on Custom Themes
« on: April 09, 2009, 10:18:02 pm »
Go to you custom themes folder which will be under Themes.
Once you are in the custom templates folder edit index.template.php
Once there hit cntrl+f at the same time.
After you do that type this "// Show the [help] button." Without the quotes.
Add this code before that line
Code: [Select]
// Show the [forum] button.
echo '<li><a' , $current_action=='forum' ? ' class="current"' : '' , ' href="', $scripturl, '?action=forum"><span>Forum</span></a></li>';
This makes the forum link appear in any template.

~You can also use this for any custom mod to, just modify the code slightly~

Offline Sam

  • Posts: 12
  • Karma: 0
  • Gender: Male
    • SGC RS2 Private Server Community
Re: Tutorial: Custom Button on Custom Themes
« Reply #1 on: April 13, 2009, 02:05:52 pm »
Nice tut. It might be worth while adding some pictures to it. It would make it easier to follow if you weren't so computer savvy.
Please PM for further assistance regarding the Ezportal.

Offline mghq

  • Posts: 14
  • Karma: 3
  • Gender: Male
    • Gaming Hubs
Re: Tutorial: Custom Button on Custom Themes
« Reply #2 on: April 18, 2009, 01:28:06 pm »
K. I might add some a little later

Offline fisho

  • Posts: 1
  • Karma: 0
  • Gender: Male
Re: Tutorial: Custom Button on Custom Themes
« Reply #3 on: May 18, 2009, 10:56:13 pm »
can i do that to show a gallery button on custom theme?.

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
4609 Views
Last post February 18, 2009, 02:49:58 pm
by bcpurleigh
1 Replies
3692 Views
Last post March 09, 2009, 05:59:02 pm
by EzPortal
2 Replies
4163 Views
Last post September 30, 2014, 11:29:24 pm
by fobnicat
2 Replies
4699 Views
Last post October 18, 2015, 10:51:30 am
by Arun_kaushal
1 Replies
1981 Views
Last post October 12, 2020, 07:55:08 am
by EzPortal

+-SMF Gallery

Quick Menu



Members Online

26 Guests, 0 Users
Powered by EzPortal