How can I edit {$user_cp_links}

armaclans

Member
For version 1.2

In the code I come to a stopping halt because I cannot find the file that holds this information

I need to rearrange the list thats inside {$user_cp_links}

8crK57t.png




Is it possible to have two <div id="main">

I am trying to achieve this:

On the front page it looks like
gLfDkK0.png


On the details page, I am trying to get it to look like below without changing the front page
9kWf6ft.png
 
Last edited:
Not exactly sure what you are trying here.
You could remove that tag and hardcode the links found inside the tag ( like the other links ). Unfortunatly you cannot at this stage reorder the links from that tag, hence the hardcode. As the order is defined by which plugin is loaded first by php.

Also id is unique, if you want to repeat styling, whatever it is, you should use classes ( div class="myclass" )
 
I was able edit the file user_cp_global_start.php that was located in the plugins folder for screenshots.

I was trying to add icons for all of the links reference below (it worked)
xTUt62j.png
 
Dont edit the php file then, on next plugin update the change will be lost.
Easiest method would be that we move the html link out of the php file and make a html file for it, so you can overwrite using plugins child feature.

Let me post an update to the screenshot plugin , then ill give you instructions
 
http://visiolist.com/community/resources/screenshots.18/
Ok please reupload the plugin, ive updated it.

Now if you want to edit the link, you would go to plugins/ScreenShots/
1) create a folder called "child" (without quotes)
2) copy file user_cp_menu_links.html
3) paste the file into plugins/ScreenShots/child/
4) edit the file within that folder. Now on next plugin update your change will not be lost. This works the same way as skins child feature
 
Back
Top