![]() |
Refresh AdminCP Menu during Product Install
Is there anyway (using Javascript or otherwise) to automatically refresh the AdminCP menu (left side frame) during a product install, using the PHP install code for instance.
I'm developing a product that will include a cpnav XML file, and would rather not have to instruct users to "refresh the page" or "press F5" so they can see the new menu options. My first thought would be JavaScript code to instruct the left side menu frame to refresh itself, but I'm not sure if it's possible, how it would be done, or whether or not it would work within the product install code. Besides that one issue, everything is seamless. Many of the mods I see are telling their users to refresh, or logout then log back-in. Any ideas? |
This should get you started:
Code:
<script type="text/javascript"> Then you need to initiate the code, you will have to setup code that will process it once your hack is installed. But this code below will allow you to perform the action via link: Code:
<input type="button" value="Reload" onclick="Reload();"> |
Thank you!
I think I'm going to give it a try, making sure to check that the XML file exists before attempting refresh :) |
All times are GMT. The time now is 06:26 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|