Show addons for Both Vanilla Versions or filter to Vanilla 1Vanilla 2
Order by RecentPopular

Addons Plugins Page Manager 2.5.3

Warning! We have not performed any code-review or testing of this addon. Use it at your own risk.
Author
SirNot
Version
2.5.3 
Released
June 2006
Downloads
10085

Download Now

Requirements

Requires
Vanilla 1

Other Requirements (if any):

Comments

  • Is it "Management" or "Manager"? The Vanilla 1.1 updater wants to know... ;)

  • @pbear: the default.php file of this extension has to be changed. The line that reads:

    Extension name: Page Management Plus

    Should be:

    Extension name: Page Manager

    Then the new Vanilla updater works ok.
    SirNot should correct this!

  • I changed the name of the extension to Page Manager, uploaded the new file, and that extension disappeared from the list in the admin panel. Changed the name back to Page Management Plus, and it appears again.

    Do we need to uninstall/reinstall the extension in order for this name change to be recognized? If so, what happens to the pages that we have already created?

  • @dhdesign: I changed the name to "Page Manager", and it worked fine for me. Make sure you do not change anything else on that line, apart from the name. If you accidentaly delete something - like, for instance, the colon - then the updater may not be able to recognise what extension it is at all, and it may ignore it!

  • Okay, I just changed it again from Page Management Plus to Page Manager, and it is now showing in the extensions list in the admin panel correctly.

    From what I'm reading, there are enough issues with the 1.1 upgrade that I'm going to wait until later today before I even attempt it. That way, I can get things fixed in advance, and hopefully won't encounter the same problems.

  • fixed

  • Page Manager 2.4.3 is broken!
    The tabs appear OK but they don't navigate to the actual content.
    Tried re-sync, tried making a new tab, nothing works.

    Later...
    Reinstalled fresh copy, seems to be working again.

    Posted: Wednesday, 7 March 2007 at 9:56AM (AEDT)

  • Small formatting issue
    the input boxes need to be inside span for the vanilla css to pick it up correctly
    All ur input checkboxes are except one. the tabs hidden checkbox
    I'm using this
    <p class="Description"><span><br /><input type="checkbox" name="Hidden" id="chkTabHidden" '.($this->TabHidden ? 'checked' : '').'/><strong> '<br />.$this->Context->GetDefinition('HiddenQ').<br />'</strong></span></p>

  • @SirNot: people sometimes have quite a bit of trouble getting their "Page Manager" pages to look like ordinary discussion pages, as outlined in this discussion.

  • Are these functions important
    PageMng_RoleFormConstruct
    PageMng_PreSubmitButton

    I took both these functions out and ur extension didn't break
    are they required?

    I'm just dismantling your extension, cause i'm making one based on your code :)
    flattering isn't it :P

  • have you tried to see if the settings page still works?

  • everything works. role assignment works as well
    i think its a left over code. or code that is part of functions not yet completed.

  • @schizobuddy: those functions aren't essential (heck, if you don't want an admin interface half the extension is non-essential), but they are responsible for displaying/managing which tabs a role can access on the 'edit role' pages. if you comment out the addtodelegate(...) functions and reload the role editing page you'll notice the tab list will disappear.

    in regard to the tab formatting, that setting is so 'independant' if you will that I think I'd prefer to leave it like it is.

    @icouto: all the page manager does is provide a completely empty page that the user can work with; it delibrately leaves out as much as possible to give the user as much freedom as he needs. If you want I could add something to the description mentioning you're comment 'how-to' though.

  • Hello everyone,
    First of all I would like to thank you all.
    I just installed this Page Manager. But I have just got an error message saying "PAGEMANAGER ERROR: An error occured in attempting to save your tabs. Please check that your file permissions are correct and verify that PageManager::CustomPageFile (./extensions/PageMng/CustomPages.php) is a valid file name."
    I changed the permission of default.php to 777. But I cant see a file called CustomPages.php.
    Could someone help me with this problem?

    Thanks.

  • change the permissions of the folder to 777
    It doesn't seem to have permission to create a new file INSIDE the folder

  • Oh, Thank you very much for your rapid and kind reply.
    Solved! Merci.

  • SirNot. What do I need to do when making an extension (which is a custom page and use extension.php) in order for it to be compatible with Page Manage? It seems to me that PM rewrites the menu on alll other pages, but either you forgot to do it for extension.php, or add on authors have to add a code snip to be compatible with yours.

  • You will have to run the resync link, that will recreate the tabs. and ur tab will be taken care of

  • nope. it still forgets the new tabs when on extension.php (ie my add on custom page.)

  • its working here

  • seems the problem may be when on the extension.php page. (wasnt it you that wanted me to use it?) I disabled PM and made another tab in a new extension uinsg the $Menu->AddTab feature and it still isnt there when on my tab. Appearently I some extra code is needed when writing extensions using extension.php that tells it to "get menu tabs from other add ons" or something..

    edit: Ok... this is really weird. disabling and enabling again, I got this to work without PM, but then enabling PM it will do really weird shit like show my "Test" tab (made in PM last time i had it enabled) when on one of the other pages and it will hide this and show the "Wiki" tab when on my DojoFiles tab..

  • as best as i can figure out the way to get it to work is to have small extensions for your custom tabs as i did with wiki in addition to PM, so as to display your tabs when on extension.php pages. And even then you have to play with enabling them in order to get it to work..

  • I might have missed this, but I want to use Page Manager to create pages, but not necessarily create tabs for all of them. How would I create a page but not create a tab?

  • So u want link to those pages from the panel and no tabs for those pages?

  • Well, I just installed nugget and would like to have a link in the nugget rather then a tab in the menu.

  • @garvin: just check the "Tab hidden from navigation?" option in Page Manager and create a link to that page in Nugget.

    By the way, I can't drag&drop pages in Page Manager... does anyone know what may be the cause of it?

  • Oh... I must have an old version as I don't see that option. Upgrading now.

  • Awesome! Thanks. I've got to keep up with the times, I guess.

  • Ok. New problem : ) Now, in my sidepanel appears a new section called "Page Links." That's not where I want to put it. How can I remove this?

    EDIT // Found the area in the default.php. Awesome extension!

  • lipa if drag and drop isn't working at all, even after u refresh then its prolly jQuery messing with it. jquery shouldn't be on the settings page

  • Sortable is not defined
    http://multistaff.info/settings.php?PostBackAction=Pages
    Line 124

    I am getting this error (reported by Firebug).

  • OK, Vanilla Packer was causing that error. I rearranged my pages and enabed the packer again.

  • Uploaded version 2.4.4 of Page Manager.

  • What changed?

  • the tab id is better formatted using a sanitize function.

  • Sirnot, there is a small bug that has crippled all extensions that use add tabs
    the Tab Identifier (page array) is all in small letters not the original names
    So DiscussionOverview is discussionoverview and hence its tab isn't visible no matter what you do.
    Files is files, Blog is blog etc all are broken now.
    they have to be in the correct case

  • Uploaded version 2.4.5 of Page Manager.

  • oops, so you're right. should be fixed now.

  • Hi, I've seen a few extensions being updated including this one. Now what file(s) should I upload? do I have to disable the extension first then upload it again? and what if I have created pages?
    Thanks.

  • for the page manager really all you have to do is update the default.php file. I don't think anything's changed in the ajax script since you've last updated, but just to be on the safe side you might as well reupload ajax.php as well.

    edit: that is, only if you're not plagued by the (rather obscure) bug which brought on the update (as described here). if that was the case you'd have to fix the custompages file as well

  • So I've got a php file that I want to be the content of the new tab I made with Page Manager. I thought I would use the php function 'include' in the Page HTML to reference the file.

    Can I use some kind of a relative path instead of coding the entire URL? If so, what does Page Manager think the base path is?

    Thank you for your kind attention.

  • the base path for php executed within a custom page will be the root vanilla directory, as index.php is what's being accessed by the user. (you could've actually determined this yourself by putting something like <?php echo getcwd(); ?> in a page and seeing what it printed)

  • Thanks much, SirNot ! That is a great tip - I'm a php newbie so these kinds of things are not yet obvious to me.

  • This is a super nifty extensions. Hours of coding saved :)

    Remember, if you're using it with Friendly URLS, you need to add RewriteRule ^page/(.*)$ index.php?Page=$1 [QSA,L] to the .htaccess file that comes with Friendly URLS. (Thanks Satollo)

  • A few beginner questions # 8
    SirNot, how hard would it be to add "Highlighted Tab" functionality to the PageManager extension? Would be nice to have it there I reckon :)

  • Uploaded version 2.5 of Page Manager.

  • What is changed, can't find the release notes

  • I believe this new version added support to highlight whichever tab was currently selected. It was discussed elsewhere on this board.

  • I thought it already did that?
    What exactly is meant by "highlight"?

    Posted: Saturday, 7 July 2007 at 10:59AM

  • Choose the 'TabOn' CSS class for the selected tab. It didnt seem to do it in all cases.

Want to take part in this discussion? Click one of these: Sign In Register For Membership

Make Your Own Addons!

What is this stuff?

Addons are custom features that you can add to your Vanilla forum. Addons are created by our community of developers and people like you!

Vanilla Approved?

We review addons to make sure they are safe and don't cause bugs. An addon is considered to be "Vanilla Approved" once our review process is complete.

Don't have Vanilla yet?

Download Vanilla Now