@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.
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>
@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.
@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?
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.
Comments
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?
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.
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)
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>
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
i think its a left over code. or code that is part of functions not yet completed.
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.
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.
It doesn't seem to have permission to create a new file INSIDE the folder