Re: including a coreblog in another page
Mikel Larreategi <[email protected]>
| Newsgroups | gmane.comp.python.zope.coreblog.english |
|---|---|
| Message-ID | <[email protected]> |
Kate Legere wrote:
> I have a site in zope that uses standard headers, footers and sidebars. I'd
> like to reference my coreBlog from a dtml method like...
>
> *****************
> <dtml-var standard_header>
> <dtml-var sidebar>
>
> --- coreBlog -----
>
> <dtml-var standard_footer>
> ******************
If you look at the index_html method in a default COREBlog, you can see
the following:
####
<dtml-comment>### Content block ###</dtml-comment>
<div id="content">
<dtml-call "REQUEST.set('noheader',1)">
<dtml-call "REQUEST.set('noextendlink',1)">
<dtml-call "REQUEST.set('nocomment',1)">
<dtml-call "REQUEST.set('nocommentform',1)">
<dtml-unless top_days>
<dtml-call "REQUEST.set('top_days',4)">
</dtml-unless top_days>
<dtml-in "rev_day_entry_items(count=top_days)">
<dtml-var entry_body>
<dtml-else>
<div id="content">
There are no entries.
</div>
</dtml-in>
####
So, try putting this code in your website.
Regards,
--
Mikel Larreategi
[email protected]
CodeSyntax
Azitaingo Industrialdea 3 K
E-20600 Eibar
Tel: (+34) 943 82 17 80
_______________________________________________
COREblog-en mailing list
COREblog-en-/9qXvnWia/9Wk0Htik3J/[email protected]
http://postaria.com/cgi-bin/mailman/listinfo/coreblog-en
Unsubscription writing to coreblog-en-leave-/9qXvnWia/9Wk0Htik3J/[email protected]