Jump to content
sayedzaafir

How to add more pages to icrew crew center

Recommended Posts

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 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
<?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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×