Closed GoogleCodeExporter closed 9 years ago
It's a sensible feature. I think we should add this field.
Original comment by batiste....@gmail.com
on 5 Mar 2009 at 9:58
There is now a last_modification_date in the model.
Original comment by batiste....@gmail.com
on 15 Apr 2009 at 7:28
Thanks!
Original comment by andrii...@gmail.com
on 15 Apr 2009 at 7:43
Thanks for the cool tip. I'm trying to do that sitemap output. Settings have
PAGE_HIDE_ROOT_SLUG = True but I get /home/section/1/ urls.
How do I solve that. I want clean urls in sitemap, not that useless "home".
Thanks.
Original comment by tezro...@gmail.com
on 17 Jun 2010 at 4:26
"PAGE_HIDE_ROOT_SLUG = True" hide the /home/ only for the page itself, but not
for the children. The reason is that it could create some name conflict with
other pages at the root level.
The solution could to change this line to not add the slug of the root page:
http://github.com/batiste/django-page-cms/blob/master/pages/models.py#L256
Or your could move the root page child's to the same level (as brother instead
of child).
Original comment by batiste....@gmail.com
on 18 Jun 2010 at 7:06
Thanks for the answer, but my problem was that I have put all the pages inside
the /home/ page.
By the way, that is perfectly clear to me, because all the pages on the site
are the children of the root page. If it is a bit makes sense, there's some
arguing about it at another Django cms -
http://groups.google.com/group/django-cms/browse_thread/thread/952fa4bdb3a91ccd/
50675e491977a1a6
Original comment by tezro...@gmail.com
on 18 Jun 2010 at 11:06
That would make sense to remove the /home/ every time for your case. The
modification in the source is probably quite straightforward. I gonna have a
lock at that.
Original comment by batiste....@gmail.com
on 18 Jun 2010 at 1:08
Original issue reported on code.google.com by
andrii...@gmail.com
on 5 Mar 2009 at 12:40