-
Posts
204 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by miniarma
-
-
You need to add the CSS and Javascript files and link them like this to the top of your Layout.tpl file
<link type="text/css" href="<?php echo SITE_URL?>/lib/skins/test/menu.css" rel="stylesheet" /> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/test/jquery.js"></script> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/test/menu.js"></script>
Then you need to locate the core_navigation.tpl file and add your menu css. Like the example below. (can be found in /core/templates)
<body class="menu"> <div id="menu"> <ul class="menu"> <li><a href="<?php echo url('/'); ?>" class="parent"><span>Home</span></a> </li> <li><a href="#" class="parent"><span>Airline Operations</span></a> <div><ul> <li><a href="#" class="parent"><span>Sub Item 1</span></a> <div><ul> <li><a href="#"><span>Sub Item 1.1</span></a></li> <li><a href="#"><span>Sub Item 1.2</span></a></li> </ul></div> </li> <li><a href="#" class="parent"><span>Sub Item 2</span></a> <div><ul> <li><a href="#"><span>Sub Item 2.1</span></a></li> <li><a href="#"><span>Sub Item 2.2</span></a></li> </ul></div> </li> <li><a href="#"><span>Sub Item 3</span></a></li> <li><a href="#"><span>Sub Item 4</span></a></li> <li><a href="#"><span>Sub Item 5</span></a></li> <li><a href="#"><span>Sub Item 6</span></a></li> <li><a href="#"><span>Sub Item 7</span></a></li> </ul></div> </li> <?php if(!Auth::LoggedIn()) { // Show these if they haven't logged in yet ?> <li><a href="<?php echo url('/login'); ?>"<span>Login<span></a></li> <li><a href="<?php echo url('/registration'); ?>"<span>Register<span></a></li> <?php } else { // Show these items only if they are logged in ?> <li><a href="<?php echo url('/profile'); ?>"<span>Pilot Center<span></a></li> <?php } ?> <li><a href="<?php echo url('/pilots'); ?>"<span>Pilots<span></a></li> <li><a href="<?php echo url('/acars') ?>"<span>Live Map<span></a></li> <?php echo $MODULE_NAV_INC;?> <?php if(Auth::LoggedIn()) { if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { echo '<li><a href="'.fileurl('/admin').'"<span>Admin Center<span></a></li>'; } ?> <li><a href="<?php echo url('/logout'); ?>"><span>Log Out<span></a></li> <?php } ?>
Then upload the layout.tpl and core_navigation.tpl to your skins directory.
Refresh and done
If you need anymore help then let me know
- 1
-
Really nice reskin Congrats !
-
Okay i got it to work except now if you visit my page you will see all these questions marks on the home page whats that about? And when i click on a pilots profile i get the following message or error - Notice: The template file "/hermes/web07d/b593/pow.bostonexpressvaorg/htdocs/phpvms//core/templates/pilot_public_profile.tpl" doesn't exist in /hermes/web07d/b593/pow.bostonexpressvaorg/htdocs/phpvms/core/classes/TemplateSet.class.php on line 248. I have the file pilot_public_profile.tpl but when i go to the directory that it tells me to go i get lost at classes, what i mean by lost is there is nothing that has TemplateSet.class.php. can you also help me out on that question too?
Thanks,
Skylar
It means that you havnt got the pilot_public_profile.tpl uploaded to the core/templates folder.
The reason why TemplateSet.class.php is coming up is because it can't find the pilot_public_profile.tpl I would assume.
-
Hi, If you like I can help you out.
Cheap custom PHPvms templates - http://geekaid-repairs.co.uk/
Starting from $20 - 14 Euro, £12.
Please use the contact me form on my site and please supply me with any extra detials.
All my previous work can be viewed on my website.
Thanks
-
Thank you very much guys
-
Not bad
Just got a few spelling mistakes:
professional, experience, criteria (already plural)
Ow god xD Not a good start. Thanks for pointing it out
-
Cheap custom PHPvms templates - http://geekaid-repairs.co.uk/
Starting from $20 - 14 Euro, £12.
Please use the contact me form on my site and please supply me with any extra detials.
All my previous work can be viewed on my website.
Thanks
Help with my SKIN
in Skinning
Posted
Have you added your PHP tags to your images, css and js files.
Example(s)