Custom Page with Menu Link

Started by Atheo, May 16, 2008, 12:43:18 PM

Previous topic - Next topic

Atheo

Hello, I'm new and learning so if this is a simple question I apologize.

What I am trying to do:

1.)  I'm using the current smf 2 beta.  I want to make a custom home page that displays nothing after the menu bar except what I put there (i.e. Articles, pics, etc.)  I want this page to have everything that appears from the menu and above and follow the current theme but as an editable content page.   1.1.5 had Home and Forum as separate pages but 2.X seems to have the forum as the home page.  I don't like this.

2.)  I want to have a link in the menu bar so that 'Home' links to this page and 'Forum' to the current home page(forum).

I am using the default theme with some custom graphics changes.
I have searched and searched for a solution and have found topics that touch on at least parts of this.  If this is a newbie question, I'm sorry.  At least tell me where to find the solution. 

Thanks!

Remember: I have only been doing this a couple of days but I catch on quickly.


Atheo

#2
THANKS!!!

Now how do I change the buttons on the menu so that 'Home' leads to a custom page and 'Forum' leads to the board?

karlbenson

The menu buttons are in Sources/Subs.php
From about line 3682 onwards.

The one for home for example is
      'home' => array(
            'title' => $txt['home'],
            'href' => $scripturl,
            'show' => true,
            'sub_buttons' => array(
            ),
         ),

Advertisement: