Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 10

CurtisOdenToddZMOericgillettewhu606 +5 guests

Page Manager

This discussion is related to the Page Manager addon.
Page Manager
«1345

Comments

  • Posts: 231
    Is it "Management" or "Manager"? The Vanilla 1.1 updater wants to know... ;)
  • Posts: 206
    @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!
  • Posts: 49
    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?
  • Posts: 206
    @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!
  • Posts: 49
    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.
  • Posts: 921
    fixed
  • Posts: 2,419
    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)

  • Posts: 1,799
    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>
    <input type="checkbox" name="Hidden" id="chkTabHidden" '.($this->TabHidden ? 'checked' : '').'/><strong> '
    .$this->Context->GetDefinition('HiddenQ').
    '</strong></span></p>
  • Posts: 206
    @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.
  • Posts: 1,799
    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
  • Posts: 783
    have you tried to see if the settings page still works?
  • Posts: 1,799
    everything works. role assignment works as well
    i think its a left over code. or code that is part of functions not yet completed.
  • Posts: 921
    @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.
  • Posts: 42
    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.
  • Posts: 1,799
    change the permissions of the folder to 777
    It doesn't seem to have permission to create a new file INSIDE the folder
  • Posts: 42
    Oh, Thank you very much for your rapid and kind reply. Solved! Merci.
  • Posts: 379
    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.
  • Posts: 1,799
    You will have to run the resync link, that will recreate the tabs. and ur tab will be taken care of
  • Posts: 379
    nope. it still forgets the new tabs when on extension.php (ie my add on custom page.)
  • Posts: 1,799
    its working here
  • Posts: 379
    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..
  • Posts: 379
    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..
  • Posts: 433
    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?
  • Posts: 1,799
    So u want link to those pages from the panel and no tabs for those pages?
  • Posts: 433
    Well, I just installed nugget and would like to have a link in the nugget rather then a tab in the menu.
  • Posts: 291
    @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?
  • Posts: 433
    Oh... I must have an old version as I don't see that option. Upgrading now.
  • Posts: 433
    Awesome! Thanks. I've got to keep up with the times, I guess.
  • Posts: 433
    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!
  • Posts: 1,799
    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
Sign In or Register to comment.