sayedzaafir Posted October 31, 2018 Report Share Posted October 31, 2018 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 Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted November 2, 2018 Moderators Report Share Posted November 2, 2018 Can you go to your_phpvms_url/admin ? Is this what you need? Quote Link to comment Share on other sites More sharing options...
sayedzaafir Posted November 2, 2018 Author Report Share Posted November 2, 2018 No I mean like having a admin icon in the crew center for the staff to go to the admin panel Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted November 2, 2018 Moderators Report Share Posted November 2, 2018 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. Quote Link to comment Share on other sites More sharing options...
sayedzaafir Posted November 5, 2018 Author Report Share Posted November 5, 2018 thank you so much i added thx but will alll pilots see this icon or only staff ?? Quote Link to comment Share on other sites More sharing options...
Sovereign Posted November 5, 2018 Report Share Posted November 5, 2018 (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 November 5, 2018 by Sovereign Quote Link to comment Share on other sites More sharing options...
sayedzaafir Posted November 6, 2018 Author Report Share Posted November 6, 2018 okay thank you so much guys it worked ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.