-
AuthorPosts
-
October 3, 2013 at 1:15 pm #191131
Hi,
Can anyone help me create an ‘enter or exit’ page that doesn’t display the menus or anything else? This will be attached to the main domain name.
Many thanks
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
October 3, 2013 at 4:25 pm #507933Unless I’m mistaken, I believe what you are referring to is a “splash page.”
If so, there are a few ways to implement a splash page onto a Joomla site . . . .
When creating a splash page the file name is usually index.html. On most server configurations, the extension .html, will be higher in the order of file extensions to be loaded, hence will always loads before the main Joomla index.php file.
The problem now arises when Joomla references the root level of the website in any navigation. It assumes that there isn’t a splash page and it will lead to the user being redirected to the index.html file rather than the Joomla front page, index.php. The best way to get around this is to use the search engine friendly url settings in Joomla to create a new alias for the default Joomla index page.
- Start by creating a new menu in the menu manager and call it Hidden. Specific details such as title, description and module title don’t really matter as you most likely won’t be touching this menu item again.
- Next is to create a new Menu Item Type, choose Internal Link > Article > Front Page > Front Page Blog Layout. Set up the parameters to suit your front page layout and call it “home” and click save. At this point you will also need to set the menu item that you just created to the default for your site. Now anytime index.php is called, it will load this menu item that you have just created. This menu doesn’t actually need to appear anywhere on the site layout. As its name states, it is a hidden menu.
- Now, if you have an existing home button in your main menu site structure, check the alias for this home menu item. Make sure it is set as ‘home’. This will make sure that it’s search engine friendly URL comes up as home.html. If you don’t have a main menu item for the home button yet then create one in your main navigation on your site and like stated in the step above, set the alias to home.
- Now the final step is to make sure that all the links on your site point to the home.html link. You’ll most likely need to change this in these areas:
- Splash page link to home.html
- Logo links on your site
- Any additional links in structure or navigation
If there are any more menu items that are linking to the home link, make sure that they are Link Alias,
which is another menu item type, to your main menu home link.1 user says Thank You to TomC for this useful post
October 5, 2013 at 11:16 pm #508107Thanks Tom, thats great!
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
October 6, 2013 at 11:06 pm #508141Glad to be of assistance . . . . Hope the information was what you were looking for.
All the best with your continuing site development !!!
🙂
-
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by TomC 11 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum