Take a look in your layout.html

when you create meta- pages, is expected to yout layout.html to render that
code..

HEADER
<body>
    <div id="wrap">
      <div id="container">
{{=auth.navbar('Welcome',URL(r=request,c='default',f='user'))}}
<div id="header">
  {{=*plugin_wiki.embed_page('meta-header')* or XML('<h1>%s</h1><h2>%s</h2>'
% (response.title, response.subtitle))}}
</div>

SIDEBAR

<div class="sidebar">
      {{=*plugin_wiki.embed_page('meta-sidebar') *or ''}}
    </div>


FOOTER

<div id="footer">
  {{=*plugin_wiki.embed_page('meta-footer')* or XML('<p>&copy; 2010. Design
inspired by <a href="http://www.spyka.net";>spyka</a>@<a href="
http://www.justfreetemplates.com";>FreeWebTemplates</a> - Powered by <a
href="http://web2py.com";>web2py</a> - <a href="%s">documentation
(pdf)</a></p>' % URL(r=request,c='static',f='cube2py.pdf'))}}
</div>

2010/8/6 cadrentes <cadren...@gmail.com>

> Thanks!
> That took care of the error.
>
> I tested all but the meta-code.  The meta-menu works but the other
> "meta's" are being trumped...for example, the footer remains
> "Copyright © 2010 - Powered by web2py" instead of being replaced by
> "meta-footer" when I create the pages.
>
> On Aug 5, 4:40 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> > I posted it now at
> >
> > http://web2py.com/examples/static/web2py.plugin.wiki.w2p
> >
> > please check it.
> >
> > On Aug 5, 5:33 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> >
> > > This is fixed in this version of the plugins:
> >
> > >http://code.google.com/p/cube2py/
> >
> > > will repost it on web2py.com tomorrow.
> >
> > > On Aug 5, 3:46 pm, cadrentes <cadren...@gmail.com> wrote:
> >
> > > > I'm running 1.82.1 and installed plugin_wiki.  When attempting to
> > > > create "meta" pages I get the following error:
> >
> > > >   File "/home/www-data/web2py/applications/welcome/controllers/
> > > > plugin_wiki.py", line 70, in page_edit    body=request.vars.template
> > > > and w(slug=request.vars.template).body or '')AttributeError:
> > > > 'NoneType' object has no attribute 'body'
> >
> > > > Any suggestions?
> >
> >
>

Reply via email to