Jump to content

vAirline Template


PilotMohamed

Recommended Posts

Hello everyone,

I use the vAirline Template, and it´s a great template but I have, after I edited the template for my VA, this problem:

http://screenshooter.net/9328839/rwfhspb

I now, that I edited something wrong, but please help me, how I can fix this problem (Maybe in the layout.tpl), because the "category list" etc. is in my VA wrong.

I will, that it will be look, like on the "vAirline.org" Homepage.

http://screenshooter.net/9328839/fkyxjva

I hope that everyone can help me.

Link to comment
Share on other sites

Step 1 "The entire vAriline folder goes into you phpvms/lib/skins folder." I done it already.

But Step 2, I don´t understand it. :( So what I must edit in the "core navigation.tpl" ?

<div class="chromestyle" id="chromemenu">
<ul>
<li><a href="<?php echo url('/'); ?>">Home</a></li>
<li><a href="#" rel="dropmenu1">About Us</a></li>
<?php
if(!Auth::LoggedIn())
{
// Show these if they haven't logged in yet
?>
<li><a href="<?php echo url('/registration'); ?>">Join</a></li>
<?php
}
else
{
// Show these items only if they are logged in
?>
<li><a href="<?php echo url('/profile'); ?>" rel="dropmenu2">Pilot Operations</a></li>
<?php
}
?>
<li><a href="<?php echo url('/acars'); ?>">Current Flights</a></li>
<li><a href="#">Events</a></li>
<li><a href="#">Forums</a></li>
<li><a href="#" style="border-right: none">Contact</a></li>
<?php echo $MODULE_NAV_INC;?>
<?php
if(Auth::LoggedIn())
{
if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN))
{
echo '<li><a style="border-left: 1px solid #DADADA;" href="'.fileurl('/admin').'">Admin Center</a></li>';
}
?>
<li><a href="<?php echo url('/logout'); ?>">Log Out</a></li>
<?php
}
?>
</ul>
</div>
<!--1st drop down menu -->
<div id="dropmenu1" class="dropmenudiv">
<a href="#">Our Staff</a>
<a href="#">History</a>
<a href="#">Timeline</a>
</div>
<!--2nd drop down menu -->
<div id="dropmenu2" class="dropmenudiv" style="width: 150px;"> <a href="<?php echo url('/'); ?>">Home</a>
<a href="[url="http://skyairwaysva.site90.net/%22>1st"]http://skyairwaysva....ite90.net/">1st[/url] item</a>
<a href="<?php echo url('/profile/edit'); ?>">Edit Profile</a>
<a href="<?php echo url('/pireps/mine'); ?>">Logbook</a>
<a href="<?php echo url('/profile/stats'); ?>">Statistics</a>
<a href="<?php echo url('/pireps/filepirep'); ?>">File Report</a>
<a href="<?php echo url('/'); ?>">Statistics</a>
<a href="<?php echo url('/'); ?>">Flight Log</a>
</div>
<script type="text/javascript">
cssdropdown.startchrome("chromemenu")
</script>

And than, where I must insert the "core navigation.tpl" file?

Hope you can help me, and sorry for my English.

Link to comment
Share on other sites

  • 3 weeks later...

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...