1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

A few queries related to customisation.

Discussion in 'XenForo Questions and Support' started by madshark, Jun 1, 2011.

  1. madshark

    madshark Member

    Im just going to list all the little questions I have so that I dont open a dozen threads.

    1. How do I have the home page show up the home tab instead of the forum?
    2. I cant for the life of me figure out where to change the tab colours for the profile view.

    I'm sure I had a few more but I need these two asap so Ill start it off.

    Cheers.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    The home page URL is set in the ACP -> Options -> Basic Board Information: Home page URL

    The css for the tabs is .profilePage .tabs.mainTabs , you can add some custom code to EXTRA.css.

    .profilePage .tabs.mainTabs li a
    .profilePage .tabs.mainTabs li.active a
    .profilePage .tabs.mainTabs li a:hover
     
  3. madshark

    madshark Member

    Brogan yes I know you can set the home page url. Which I did. But when i visit. www.mysite.com it loads the node list/forum tab. I want it to load the homepage tab instead. Which is a custom page url.

    In VB I recall being able to point either to the forum or the cms or a custom html page(which is what I did) that loaded when www.mysite.com was accessed. Perhaps its in the index.php ? I will have a snoop around as well.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

  5. madshark

    madshark Member

    Ok Im a little confused. My forum is in the root dir. And I have a custom page inked to home via a node page.

    You had used an additional home.php if I understood correctly. In which case all I need to do is change the htaccess? To the node page url that ive linke to the Hom Tab in settings?
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

  7. madshark

    madshark Member

  8. Brogan

    Brogan XenForo Moderator Staff Member

    If a server is configured correctly, it will try to load an index file when browsing to the domain root.
    These can be e.g. index.htm, index.php, etc.

    The usual way to do this is with an entry in the root .htaccess file, for example: DirectoryIndex home.php index.php index.htm index.html

    http://en.wikipedia.org/wiki/Webserver_directory_index
     
  9. madshark

    madshark Member

    I got it working using the Library above. So its all good. Im trying to get the tab working as Shadab had given. Altho i'm not sure about where to slot the php or the callbacks :S for the navigation_tabs event listener. hmm. hopefully someone will point it out sooner or later.
     
  10. madshark

    madshark Member

    Is there away to force gender selection on registraion? And not have an unspecified option?

    Also where do I style the follower block? :/

    Thanks
     

Share This Page