Closed GoogleCodeExporter closed 9 years ago
It looks like 'pages/templates/admin/pages' needs to be somewhere?
Original comment by nickserg...@gmail.com
on 19 Mar 2009 at 5:54
Nevermind - got it - had to copy /example/templates/pages to templates dir - was
following installation which directed only to use trunk c/o.
Original comment by nickserg...@gmail.com
on 19 Mar 2009 at 8:37
I'm having similar symptoms, but the re-jiggering of templates does not seem to
be
helping me. I'll look more at the other patches, but this could use some
clarification/workaround in the docs - or if someone could just point me in the
right
direction, I'd be grateful. I want to do this the Right Way. Thanks,
-j
Original comment by haight6...@gmail.com
on 27 Mar 2009 at 6:17
Just to add some details about the problem - in the HTML source of the "change a
page" page, I see this:
<fieldset class="module aligned ">
<h2>Content</h2>
</fieldset>
Which tells me 'fieldset' is empty at line 6 of fieldset.html.
I'm not sure how that would get populated though. I'll keep hacking at it..
Original comment by haight6...@gmail.com
on 27 Mar 2009 at 6:29
Looks like this has something to do with the way Django handles template tags.
I
made it work by changing
from pages.templatetags.pages_tags import PlaceholderNode
in pages/utils.py on line 42 to
from django.templatetags.pages_tags import PlaceholderNode
I'm not sure if it's the right thing to do, but it works. Sorry for not making
it a
patch.
Original comment by sad.n...@gmail.com
on 1 Apr 2009 at 12:44
Yep, oki, I have just changed this code to be more bullet proof. I really don't
get
how to do a proper isinstance in python.
The solution that I have found it that:
if str(node.__class__).find("PlaceholderNode") >=0:
It feels not right but it should work.
Original comment by batiste....@gmail.com
on 2 Apr 2009 at 9:01
Original comment by batiste....@gmail.com
on 14 Apr 2009 at 4:12
Original issue reported on code.google.com by
nickserg...@gmail.com
on 19 Mar 2009 at 5:50Attachments: