2012-10-22, 07:44:55
islander Wrote:Hmm, doesnt seem to be working for me. Installed a fresh copy of 3.1.2, added this plug-in.Oh, don't replace that code. That problem was for an earlier version where I messed up. I fixed it now!
I see a green "Main" button below the content area of a page, but I am not able to click it.
Tried adding a new page, and the same thing happens.
Line 71 reads:
I tried to replace it with the code above, but then there is an error, and I am not able to view the admin area.Code:echo exec_filter('content', $SEI_RAW_CONTENT_DATA[bling($field[0])]);
Green means it is already selected.
The main tab is the default one. If you don't add any new tags (like the one below) to the template that is all you'll have. This is normal.
If you only have a single tab, it's purely cosmetic as you cannot switch to anything else so clicking it will do nothing. Once you get more tabs, the green one will be the currently active one.
To get more tabs, put this tag somewhere in your template, where you want more content (ie in a sidebar or something). Place any name you want in the brackets:
Quote:<?php insert_page_content("sidebar"); ?>
Also make sure you have the same tag with empty brackets in the main section of your page:
Quote:<?php insert_page_content(); ?>
Then go back to your page edit screen and you should have some new tabs down the bottom with which you can click to change.
Let me know how it goes! This is my first plugin, so if it does work let me know what you think too. I'm curious if you guys using it are enjoying it or shelving it. Heh.