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

Re: How to remove the SMF menu on top of the portal by VSD
November 04, 2020, 11:02:52 pm

Re: How to remove the SMF menu on top of the portal by EzPortal
November 04, 2020, 09:29:10 pm

Re: How to remove the SMF menu on top of the portal by VSD
November 04, 2020, 08:17:14 pm

Re: How to remove the SMF menu on top of the portal by EzPortal
November 04, 2020, 07:57:05 pm

How to remove the SMF menu on top of the portal by VSD
November 04, 2020, 07:43:18 pm

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

+- HTML Menu


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

Recent Topics ezBlock

How to remove the SMF menu on top of the portal by VSD
November 04, 2020, 11:02:52 pm

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

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

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

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

Recent Topic Ezblock randomly showing "New" message indicator by EzPortal
January 14, 2020, 10:17:10 pm

Block hiding issue on smf 2.1 mobile devices by EzPortal
January 07, 2020, 08:21:08 am

Install error. Duplicate column name 'metatags' by EzPortal
January 06, 2020, 03:52:03 pm

ezPortal 4.5.5 now with PHP 7.2/7.3 support by EzPortal
December 30, 2019, 04:18:18 pm

Unable to load EZportal when Maintenance mode disabled? by EzPortal
December 06, 2019, 09:21:56 am

Author Topic: Tutorial: Custom Button on Custom Themes  (Read 6468 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
4698 Views
Last post February 18, 2009, 02:49:58 pm
by bcpurleigh
1 Replies
3800 Views
Last post March 09, 2009, 05:59:02 pm
by EzPortal
2 Replies
4267 Views
Last post September 30, 2014, 11:29:24 pm
by fobnicat
2 Replies
4813 Views
Last post October 18, 2015, 10:51:30 am
by Arun_kaushal
1 Replies
9479 Views
Last post October 12, 2020, 07:55:08 am
by EzPortal

+-SMF Gallery

Quick Menu



Members Online

28 Guests, 0 Users
Powered by EzPortal