Please login or register.

Login with username, password and session length
Advanced search  

News:

You need/want an older version of sNews ? Download an older/unsupported version here.

Author Topic: Page with a link?  (Read 806 times)

Pein

  • Newbie
  • *
  • Karma: 0
  • Posts: 28
  • n0 n33d t0 b3 l33t
Page with a link?
« on: June 19, 2011, 10:20:21 pm »

Howdy,

I would like to ask, if its possible to add a url to the page created? I would create a page with a name Forum. And when I user click it, it would redirect him to the forum.
Is this possible? If it is, please tell me how to do it.

Cheers,
Dai
Logged

Fred K

  • Still trying to learn stuff
  • ULTIMATE member
  • ******
  • Karma: 130
  • Posts: 2728
    • Personal
Re: Page with a link?
« Reply #1 on: June 20, 2011, 02:42:53 am »

Hi Dai,

No need to create a page within sNews, that will require more work than necessary. Instead, in index.php, in your menu bar, directly after the closing ?> tag for the pages() function (or categories(), it doesn't matter which you're using) but before the closing </ul> tag, add this:

Code: [Select]
<li><a href="forum/" title="My glitzy forum">Forum</a></li>
And bada-bing, bada-boom. Should not need to do anything beyond that.
Logged

Pein

  • Newbie
  • *
  • Karma: 0
  • Posts: 28
  • n0 n33d t0 b3 l33t
Re: Page with a link?
« Reply #2 on: June 20, 2011, 12:32:55 pm »

Uuu K pretty thanks for a fast reply to my question. It works :D yayks  ;D
Logged