TinyPortal

Development => Support => Topic started by: Klaus on January 18, 2007, 06:02:18 PM

Title: a simple page
Post by: Klaus on January 18, 2007, 06:02:18 PM
I have seached a lot in here and I have spent hours trying with TP blocks, articles and menus.

And all I wanted to do on TP was a simple page. A simple html page and a link on the main menu to it.

Is this asking for too much? Thanks a lot in advance for any reply.
Title: Re: a simple page
Post by: knat on January 18, 2007, 06:08:32 PM
just create an article and add your html in it.. then create a link for it on your frontpage.. it should be pretty easy to do  :)
Title: Re: a simple page
Post by: Klaus on January 18, 2007, 06:26:49 PM
Quote from: knat on January 18, 2007, 06:08:32 PM
just create an article and add your html in it.. then create a link for it on your frontpage.. it should be pretty easy to do  :)

Thanks for the reply. The article was ok, but how can I link to it from the frontpage?
How can you link to one particular article?
Title: Re: a simple page
Post by: G6Cad on January 18, 2007, 08:20:13 PM
Do you mean something like this i have on my forum
A light quick view over the content and then if you want, a link to the full site ?

http://www.familjegodis.se/forum/archive.php
Title: Re: a simple page
Post by: Klaus on January 19, 2007, 04:49:33 AM
Thanks for the support guys. I want something real simple, just a page with contents inside the TP system and with a button on the menu. Like the a "about us" page in here. http://www.tinyportal.net/index.php?page=29
Title: Re: a simple page
Post by: Klaus on January 19, 2007, 09:52:02 PM
I can't believe TP can't do a simple page?!  :o
Title: Re: a simple page
Post by: Lesmond on January 19, 2007, 10:07:32 PM
But TP can do A simple page in a article, You can turn off most things so all you see is the top and the content you put in the article :) as you saw in the about us page
Title: Re: a simple page
Post by: knat on January 20, 2007, 03:11:24 PM
Quote from: Klaus on January 19, 2007, 09:52:02 PM
I can't believe TP can't do a simple page?!  :o

TP can do a simple page, but can you ? :D

When you have added your html to your article (remember to click on the html/source button if you use the WYSIWYG editor), click on the settings for that article and turn off all things except Show top

Now click on preview and copy the link to that article if it looks the way it should..

Now all you have to do is insert a button with this link where you want it  ;)
Title: Re: a simple page
Post by: Klaus on January 22, 2007, 07:09:06 AM
I finally did it. Thanks for the support. I could not find the link anywhere (preview was redirected to the homepage) but then I used the ?page=# format to build the link acording to the number of the article and worked.

Now, how I can protect guests from seeing that page? That can only be done on blocks no?
Title: Re: a simple page
Post by: Wolf14 on May 07, 2007, 07:42:15 AM
Quote from: Klaus on January 22, 2007, 07:09:06 AM
I finally did it. Thanks for the support. I could not find the link anywhere (preview was redirected to the homepage) but then I used the ?page=# format to build the link acording to the number of the article and worked.

Now, how I can protect guests from seeing that page? That can only be done on blocks no?

Hi,
I have the same porblem, but I do not understand where I have to use this command "?page=#". Can someone help me? Thank you in advance.
Title: Re: a simple page
Post by: Zetan on May 07, 2007, 11:22:56 AM
When you view the Article you have created you will see the address to that Article in the address field in you're browser, eg:

http://yoursite.com/index.php?page=1

There are several ways you can call the Article.
You can use the Site Map, Menu block or simply link to the page.

A simple html link:
<a href="http://yoursite.com/index.php?page=1" title="Mouse Over Text">Link Title</a>

* or
[Edited]
<a href="?page=1" title="Mouse Over Text">Link Title</a>



You could use the Menu block:
Admin > Edit Blocks > Menu Manager > Add Menu Item
Now you create the Title of the link > Select the Link option, and insert the URL of the Article.

You need to switch the Menu item on, and create a Menu block.

* You can just use this part of the URL:
?page=1
And that will still work as it is an internal link and SMF/TP can deal with the link internally.

Title: Re: a simple page
Post by: Crip on May 07, 2007, 11:32:16 AM
?page=3 - is all you need for internal
Title: Re: a simple page
Post by: Zetan on May 07, 2007, 11:35:22 AM
ah.. well, even easier then.. Thanks crip  8)