TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 30, 2024, 07:36:44 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,174
  • Total Topics: 21,220
  • Online today: 147
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 123
  • Total: 123

Making Static Pages Mod work with buttons

Started by SundayNiagara, August 25, 2005, 03:36:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SundayNiagara

I already know how to do that.  But it doesn't look right that way, so does anyone know how to make this work with buttons?
Mark

gelsbern

Could you explain what you mean about with buttons?   Do you mean adding buttons to your menu bar?

I find one must be very clear what one is asking in this forum as a lot of people don't speak english natively.

If you aren't clear, your either get the wrong answer (as I apparently gave above) or no answer.


If you are looking on how to make a link to your page with a button and adding a button I would look here

http://www.tinyportal.net/smf/index.php?topic=448.0

or use this site's search function.

Have a great day.

SundayNiagara

Here is my point:  Do you expect your members to type this http://www.yoursite.com/index.php?action=static&staticpage=1 , when they visit, or wouldn't it look real nice, using a button from the main menu?
Mark

gelsbern

Ahh gotcha, then that link I gave in the last post should be what you are looking for.

http://www.tinyportal.net/smf/index.php?topic=448.0

Sorry about the confusion.


SundayNiagara

I just know there is someone who can tie this all together in one place, (here) instead of jumping all over the place.  I'm going around in circles and still don't have this mod working to my satisfaction.  Which is; by using a button from the main menu.  Anyone??????????????
Mark

PS:  Take a look at my sites, they are XMB forums, with many of the pages done with a custom add-on page.  I just can't help but wonder why this can't be done with smf.

http://www.americandragracing.com/xmb1/portal.php
http://www.sundayniagara.com/forum/portal.php

IchBin

Sunday, tell me what theme your using (is it a TP theme?) and give me the link you need put in, and I will do it for you.

SundayNiagara

Yes, it is the helios_multi_tp theme.  However, I would like to do this myself, if I can get an explanation:  Step a, step b, etc.
Mark

IchBin

The reason why I asked was because this link:

http://www.tinyportal.net/smf/index.php?topic=448.0

shows you how to do it You just have to change the image for your button and the text.

SundayNiagara

That refers to "Coppermine."  Not what I'm talking about.  Please describe the steps here.
Mark

IchBin

#9
That link describes putting a link in your theme. He just happens to want it to point to coppermine. Lets examine the link shall we?

<a href="this is where you put the link">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/this is where you put your image" alt="alt text for image" style="margin: 2px 0;" border="0" />' : 'Name of your link here'), '</a>', $context['menu_separator'], '

However, this will be slightly different depending on which theme you use. But since you wont tell me I can't give you the exact link.