nephila / djangocms-page-sitemap

django CMS page extension to handle sitemap customization
BSD 3-Clause "New" or "Revised" License
9 stars 21 forks source link

question: missing admin-interface for PageSiteMapProperties #10

Closed funkyfuture closed 7 years ago

funkyfuture commented 8 years ago

ciao, i set up the djangocms-page-sitemap as described in the README and it works, meaning there's a properly rendered sitemap.xml. there's also a table djangocms_page_sitemap_pagesitemapproperties in the database.

however i do not see an interface to alter the properties in the admin-backend, nor corresponding inline fields in an admin interface for a page.

am i missing something or can this be considered as bug?

OS: Ubuntu Trusty Python: 3.4.3 Django: 1.8.12 Django CMS: 3.2.3 Django CMS Page Sitemap: 0.3.1

funkyfuture commented 8 years ago

ah, okay, i can access admin/djangocms_page_sitemap/pagesitemapproperties/ when entered manually as url-path. but there's no field to select an existing page / extended_object.

yakky commented 8 years ago

@funkyfuture Hi, the page extensions admin is only meant to be available on the "Page" menu of the django CMS frontend toolbar. In that menu you handle the properties of the sitemap for the page you're on

funkyfuture commented 8 years ago

do you mean on a path like en/admin/cms/page/27/ / en/admin/cms/page/27/advanced-settings? there it isn't.

yakky commented 8 years ago

@funkyfuture nope, you have to login in the frontend with http://www.yoursite.com/?edit, login and then access the frontend toolbar (see http://django-cms.readthedocs.io/en/latest/user/reference/page_admin.html for reference)

yakky commented 8 years ago

All the page extensions are meant to be available only on the frontend editor toolbar, not right from the admin like esempio4 The address is something like https://www.yoursite.com/admin/djangocms_page_sitemap/pagesitemapproperties/add/?extended_object=514, but it's not meant to be used this way but o

funkyfuture commented 8 years ago

thanks a lot, that helped. i keep this issue open as a reminder to me to extend the docs when i have the time for it.

yakky commented 7 years ago

The above PR will document the inteface in the README. Thanks for reporting this