Problems Adding a Plugin to Paper_Lantern

Steini Petur

Well-Known Member
Apr 24, 2016
54
11
58
Iceland
cPanel Access Level
Root Administrator
Hey guys,

I am in need to update a plugin I created a way back, but with Paper Lantern I have managed to figure out the setup process and installation but when you click the icon, it just goes like it's outside cPanel instead of "inside it" like it use to.

I use to be able to do this with

<cpanel setvar="dprefix=../">
<cpanel Branding="include(stdheader.html)">

Then end it with

<cpanel Branding="include(stdfooter.html)">

This clearly is not the way to go in Paper_Lantern, so what is it that I need to do so the sidebar, the top bar appears inside my .php index file? Is it now much more difficult?
 

Steini Petur

Well-Known Member
Apr 24, 2016
54
11
58
Iceland
cPanel Access Level
Root Administrator
no one has any idea how this can be accomplished I can see cloudflare did this and few others, I just need the top menu and sidebar into my view just like you could do with x3 with simple additions to the index file..
 

Steini Petur

Well-Known Member
Apr 24, 2016
54
11
58
Iceland
cPanel Access Level
Root Administrator
Thank you for that nugget, I guess it's a bit more difficult then 2 liner like it use to be but I will read the guide. I have no issue implementing the plugin I just don't want it to feel as if they moved away from the cPanel page, I felt like I had gone outside and to a different website when i clicked my plugin, that was no good :)
 

Steini Petur

Well-Known Member
Apr 24, 2016
54
11
58
Iceland
cPanel Access Level
Root Administrator
This has been resolved, thank you so much AdamF. I've managed to implement this using the API and change index to index.live.php to utilize the API, this is perfect, it is down right smooth, thank you.
 
  • Like
Reactions: Infopro