Jump to content

Recommended Posts

  • Moderators
Posted

i've installed exam center and putted links on my core_navigation.tpl but i got this can you tell me what to do ?

giorgi, you putted in the wrong lines for the core_navigation.tpl

Here this will work with your core_navigation

<li><a href="<?php echo url('/'); ?>">home</a></li>
<?php
if(!Auth::LoggedIn())
{
// Show these if they haven't logged in yet
?>
<li><a href="<?php echo url('/login'); ?>">Login</a></li>
<li><a href="<?php echo url('/registration'); ?>">Register</a></li>
<?php
}
else
{
// Show these items only if they are logged in
?>
<li><a href="<?php echo url('/profile'); ?>">Pilot Center</a></li>

<a href="<?php echo url('/Exams') ?>">EXAMCenter</a>	
<?php
}
?>
<li><a href="<?php echo url('/pilots'); ?>">Pilots</a></li>
<li><a href="<?php echo url('/acars') ?>">Live Map</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').'">Admin Center</a></li>';
}
?>


<li><a href="<?php echo url('/logout'); ?>">Log Out</a></li>
<?php
}
?>

This will work. clean out of your core_navagation.tpl and put the code above it in.

Posted

yes but i've got another problem and can anyone give to me a exam center files with right destinations? i though that there was an admin and other files together

  • Moderators
Posted

yes but i've got another problem and can anyone give to me a exam center files with right destinations? i though that there was an admin and other files together

giorgi, when you downloaded the the add on files, the add-on files should be following the structures to phpvms files.

Here for example

core

templates

example.tpl

classes

exmaple.class

lib

images

my image.jpeg

my image.jpeg.

Just like that follow the add on folder you downloaded.

If you need help still, let me know.

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