Jump to content

Recommended Posts

Posted

Hello guys 

 

I have installed the icrew crew center looks really good 

but I want to add some more pages like for weather map then Downloads ,fleet etc so pls tell me how to do it 

and in icrew there is no option to go to admin panel directly so if anyone can make a code for that also would be great thank you 

  • Moderators
Posted

In general, it would be better to post your question under the skin's thread so the developer can see it easily to address your question. I have not worked with the theme in the past but you will probably have to work with the following file:

your_phpvms_directory/lib/skins/iCrewLITE/app_sidebar.php. Starting from line 98, you will see something like this:

<li>
                         <a href="<?php echo SITE_URL?>/index.php/screenshots">
                            <i class="material-icons">photo_camera</i>
                            <span>Gallery</span>
                        </a>
                    </li>

Just under this, paste this one:

<li>
                         <a href="<?php echo SITE_URL; ?>/admin">
                            <i class="material-icons">photo_camera</i>
                            <span>Admin Center</span>
                        </a>
                    </li>

Of course this is something pretty basic. The above part of code can be placed wherever else you want outside of a <li></li> statement. If you aware of the basics of HTML, you probably have it.

Posted (edited)
<?php if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { ?>
<li> 
<a href="<?php echo SITE_URL; ?>/admin"> 
<i class="material-icons">photo_camera</i> 
<span>Admin Center</span> 
</a> 
</li>
<?php } ?>

with this only Pilot with Access Admin right can see the icon

Edited by Sovereign

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