SimplePortal

Customization => Themes and Graphics => Topic started by: e bunny on September 06, 2010, 01:53:13 AM

Title: Re: SimplePortal Documentation
Post by: e bunny on September 06, 2010, 01:53:13 AM
Nathaniel I really need your help if you could just send me a message please!

I need to know how to add a button that links to my webclient
Title: Re: Re: SimplePortal Documentation
Post by: Nathaniel on September 06, 2010, 01:57:35 AM
Please post support requests in the relevant support board, not in a random topic...

Not really a SimplePortal specific issue, please refer to the SMF documentation below:
http://docs.simplemachines.org/index.php?topic=564.0
Title: Re: SimplePortal Documentation
Post by: e bunny on September 06, 2010, 02:08:11 AM
I've tried that, But i'm completely new to PHP. And like, I don't get where I'm supposed to add the link to my webclient. Like i get how to add the button, but not the link :/
Title: Re: Re: SimplePortal Documentation
Post by: Nathaniel on September 06, 2010, 02:11:38 AM
The link goes into the "<a href="Link">Title</a>" part of the button, instead of 'Link', you should have the url of the webpage that the link goes to.
Title: Re: SimplePortal Documentation
Post by: e bunny on September 06, 2010, 02:28:08 AM
so it should look like this?
Code: [Select]
// Show the [webclient] button.
echo ($current_action=='webclient' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'webclient' ? 'active_back' : 'back' , '">
<a href="http://www.barragepkz.com/webclient.html">webclient</a>
</td>' , $current_action == 'webclient' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


Title: Re: SimplePortal Documentation
Post by: e bunny on September 06, 2010, 02:42:08 AM
ok i got it :)
SimplePortal 2.3.8 © 2008-2024, SimplePortal