Skip to content

Url handling#6

Open
nightillusions wants to merge 13 commits into
masterfrom
url_handling
Open

Url handling#6
nightillusions wants to merge 13 commits into
masterfrom
url_handling

Conversation

@nightillusions

Copy link
Copy Markdown
Owner

New Features:

  • Slugify function for clean URLs (User page names stays the same)
  • Completely new menu settings: All pages visible via settings, add new page button, hide/show page in menu, reorder menu items

If there are more than one listener for a hook (e.g. more than one plugin), it is possible to rearrange the order with a priority.

Default priority = 10
- Clean(er) URL's: For the permalinks an extra slug is now generated. The user inputs are stored separately so that they are still displayed in the menu.
- New menu Setting: It is now possible to Edit, add, delete and hide/show menu items via simple clicks on glyphicons.
- If a menu item was created (but no page), the item could not be deleted.
- On initial database creation, the IDs of the menu items were not accepted.
- New _slugify function should be used for creation a page via new url visit
- Cannot create additional menus or show/hide on 404 page + fix (by robiso)
- JS Problem: sporadically the action abort (delete, hide/show)
- Update an existing menu item cause a "ghost page".
- Excluded the creation of a new menuItem to a stand alone function.
- Some improvements of redundant code.
- Database "ghost pages" when creating pages via not existing url.
- Window reloads too fast after click on hide/show menu item.
- Some improvements to the code (minified)
New:
- Quick order for menu items
Fixed:
- Empty menu field now gets filled with "empty"
- wrong function spelling
- Adding new menu item fails, after deleting previous menu items (with unchanged name/slug) except last one.
- Unused CSS classes removed
- Updated to current version 2.0.6 thanks to @robiso
- Moved setlocale() to top and removed Error Control Operator
- Possible error when _slugify() returns an empty string.
- Some beauty fixes for preventing PHP Notices in logs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant