SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 23, 2012, 11:55:53 am

Login with username, password and session length
Members
Total Members: 10069
Latest: tetsujrock
Stats
Total Posts: 28682
Total Topics: 4975
Online Today: 94
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 54
Total: 54
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: 2 simple problems for someone who understands php. Please help  (Read 2371 times)
wigglewire
Newbie
*
Offline Offline

Posts: 2


View Profile
« on: June 23, 2008, 10:20:05 am »

Problem 1:  Gallery button I added works, but it looks like this:
  • Gallery>
and I just want it to say: Gallery

Problem 2: The spacing between each Menu Item is not equally spaced.

Here is a copy of my file:

* index.template.php (33.66 KB - downloaded 303 times.)
« Last Edit: June 23, 2008, 10:22:34 am by wigglewire » Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9676


View Profile
« Reply #1 on: June 23, 2008, 07:13:37 pm »

Find
Code:

// Gallery button   
if ($context['allow_smfgallery_view'])   
echo '
<td class="mainnav"><li', $current_action == 'gallery' ? ' class="chosen"' : '', '><a href="', $scripturl, '?action=gallery"><b>' , $txt['smfgallery_menu'];


Change to
Code:
// Gallery button   
if ($context['allow_smfgallery_view'])   
echo '
<td class="mainnav"><a href="', $scripturl, '?action=gallery">' , $txt['smfgallery_menu'], '</a></td>';

Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[May 21, 2012, 08:54:11 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]

[May 17, 2012, 12:38:16 pm]

[May 15, 2012, 09:32:27 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 0.198 seconds with 19 queries.