Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Page Management Extension - Bug?

edited May 2007 in Vanilla 1.0 Help
When using the "page management" extenstion, any attempt to delete a tab/page leads one to a pull-down list of the tabs that exist. The pre-selected item is "discussions", not a tab that anyone wants to delete. Selecting any other tab with the pull-down list selects the selected item for a second or two, but before one can hit the "delete" button, the pull-down list GOES BACK TO "DISCUSSIONS"! Clearly, this could lead to some unfortunate outcomes for the less-than alert board admin. I'm not sure if this is merely a display issue, or a functionality issue, and I'd rather not find out on a live board.


  • Options
    Also, when one selects "edit" with the intent of editing a tab or page, one gets a blank set of fields. It appears that one cannot "edit" a page or tab.
  • Options
    I actually don't see this behavior. Firefox 2.0, IE 7, and Opera 9--what browser are you using?

    Also, do you see something like ?PostBackAction=Page&PageID=search in the address bar?
  • Options
    Page Management = "" Select "Edit" on an existing page yields "[tab label, lower case] BUT ALL FIELDS ARE BLANK! Select the "X" to delete yields = "[tab label, lower case] But the page shows: Select Tab/Page to Remove * Tabs/Pages (required) AND "DISCUSSIONS" is selected in the pull-down list No matter what you do, "DISCUSSIONS" pops back into the pull down list before you can click the "Remove" button. Looks to me like a problem with the way the pull-down select list is coded.
  • Options
    everything seems to be working fine on my end. could you give a few more details about your setup?
  • Options
    After checking every possible tab, it appears that the problem is limited to a single tab, the last one on the list. It is perhaps unique, in that it has a longer title (32 Chars), contains several commas, and contains an ampersand. The page merely point to a discussion topic, so the tab is a very very sticky way of making a "sticky" post, nothing more. When attempting to "edit" this tab, one gets a blank form. When attempting to "delete" this tab, one gets the non-working multi-item select box.
  • Options
    Sure enough. The ampersand breaks the URL. I tried escaping it in the address bar as %26 and & but neither worked.

    Fix seems to edit your CustomPages.php file in the page manager extension's folder to remove the ampersand from the tab identifier field (the one that looks like the tab name but with underscores). Then you will be able to edit or remove it normally.
  • Options
    hmm, never saw that bug before...

    should be fixed now in the extension, but I'm afraid you'll still have to edit your custompages file manually to fix your tab
This discussion has been closed.