I finally updated this. It is now an extension and works both in the CP and on templates. Please check it out in the new thread. I’ll leave the plugin here for reference but it is now deprecated and probably won’t work anyway!
Hi,
We had a need for some way to easily see cat_ids, field_ids etc when developing templates so we came up this little plugin.
After adding the plugin tags to a template, and if you are logged in as a Super Admin, a small tab appears at the top left. Clicking this opens a pane with 6 tables of data:
Weblogs, Member Groups, Categories, Weblog Fields, Admin Quicklinks and Weblog Entries
Each table line has shortcut links that will open that specific item in the CP in a new window.
There are two tags:
{exp:pur_developer:js}
Should be placed within the <head> of your template. This adds links to the Javascript and the CSS.
{exp:pur_developer}
Should be placed directly after the <body> tag. This creates the developer pane tab and populates the tables.
The attached image shows the developer pane open on a template. Any suggestions or feedback very welcome.
Cheers
Dry
P.S. copy the pur_developer folder containing the image, CSS and JS into the plugins folder
Update 1.1 Changed the way the links are generated to use system-generated PATH variables
Oh now this I like, wow I love this community 😊
I’m getting one problem with broken links, where image paths etc are rendered as index.phpeeadm/index.php. Not had time to look at it yet, but I’m sure I will find a stray index.php in a system path somewhere!
stinhambo, I did a test, and it only appears if your logged in as a superadmin via the backend. If your logged in using the login function from the frontend, it does not work. Logging in via the backend will give you a sessionid, which is what I think is required.
Just make take on what could be causing it.
Mmmm if I click on the ‘My Site’ link at the top, I get the local server address (where I was originally developing) and not the web version. I wonder if this has something to do with my I get nothing.
Hi Stinhambo,
Do you mean the ‘My Site’ link in the control panel? If so, you can edit this ‘Quicklink’ using the ‘My Account’ tab. Once logged in just open another window and navigate to your site.
Cheers
Dry
I’m getting one problem with broken links, where image paths etc are rendered as index.phpeeadm/index.php. Not had time to look at it yet, but I’m sure I will find a stray index.php in a system path somewhere!
Hi Neekster,
Hmm, odd. Are you using .htaccess to remove index.php from URLs?
Cheers
Dry
thanks for the plugin. Very handy, I put it on one of my pages to have quick access to the category IDs and most importantly to the costum weblog fields, that should save some clicks. I’m also having the same problem that it adds the link url after the index.php, without the index.php it would work.
Installed, added tags, and all worked fine.
Comment: It seems to me, at first thought, that this plugin would be more useful if it worked on the Control Panel rather than on the web site. For those of us who do tweeks/additions to live sites, the plugin really couldn’t be used and, as there’s no “on/off” button, cumbersome to add/remove tags. It seems the info the plugin provides is really backend stuff.
That said, I think you’ve done a great job with this and will look for ways it might come in handy here.
Dry, I’m sorry to say that nothing at all is happening. The plugin is showing up ok in the Plugin screen and the folder is nicely placed in the plugins folder too.
HI Stinhambo,
You have to be logged in as a Super Admin for the tab to appear. All I can think of is that your admin session is not active when you’re looking at your site front end. Which browser/OS are you using?
Cheers
Dry
thanks for the plugin. Very handy, I put it on one of my pages to have quick access to the category IDs and most importantly to the costum weblog fields, that should save some clicks. I’m also having the same problem that it adds the link url after the index.php, without the index.php it would work.
Hi Tilo,
Ah ok. Are you removing index.php from your URLs using .htaccess or have you changed the name of your index.php file?
Cheers
Dry
Great Plugin.
I too, was having the same link issues as posted above and yes I have renamed my index.php to “go” instead. My links were appearing as http://www.example.com/gosystemfolder/index.php….
As a quick fix I simply replaced all the {homepage} tags in the pi.pur_developer.php with http://www.example.com/ and that corrected the link issue for me.
Everything seems to work fine now.
Again, great plugin!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.