Jump to content

Adding a new page


Recommended Posts

Posted

Hi all,

I want to add a new page to the top (navigation bar) of the following site:

http://flymaldives.exofire.net/

It is currently under 'destinations served', but it doesn't adapt to login/out (i.e- it always shows the login/register buttons even when I am logged in).

How can I get the destinations served to adapt to the login/logout situation? Does it have to go through the index.php/routes.htm rather than just /routes.htm? How do I do this?

Thanks.

Posted

Never mind, I just created a simple backlink instead.

Another question - is it possible to make the links in the navigation bar start with capital letters? I have noticed that they have capial letters in the core_navigation.tpl, but not on the site.

Thanks.

  • Administrators
Posted

Never mind, I just created a simple backlink instead.

Another question - is it possible to make the links in the navigation bar start with capital letters? I have noticed that they have capial letters in the core_navigation.tpl, but not on the site.

Thanks.

The menu items on the release skin css are set to lowercase. You can take that line out of your css file and then they will be like you have them in the core_nav file.

  • Administrators
Posted

Never mind, I just created a simple backlink instead.

Another question - is it possible to make the links in the navigation bar start with capital letters? I have noticed that they have capial letters in the core_navigation.tpl, but not on the site.

Thanks.

You can do:

<?php
if(Auth::LoggedIn())
{
   echo '<a href="/routes.html">Routes</a>';
}
?>

And that will only show if logged in

Posted

Thanks Simpilot and Nabeel. The navigation bar is sorted. I think I'll stick with the backlink for now - I want the page to be available whe logged on and off.

Thanks.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...