The more I play with Midgard the more I learn how powerfull it is. WOW! you
guys did a great job! I have some new questions:
1) I noticed this code in the admin site. What does it do?
<?php header('Cache-Control: no-cache');
header('Pragma: no-cache'); ?>
2) How can I have an article title show up in a specific area of a layout? So,
if I have a child layout that I used for subpages, I want the header to be the
article title. How do I do this if the header tags are in the layout?
In my subpage about I have the following code:
<? $article = mgd_get_article(24); ?>
<h2>&(article.title);</h2><br />
&(article.content:h);
In the layout I wan't to do something similar to:
<head>
<? $article = mgd_get_article(24); ?>
<h2>&(article.title);</h2><br />
</head>
so it would seem like I have to pass the article number somehow or maybe there
is a better way to do this.
Derek
=====
. \\|//
(O-O)
*--------------------------------------oOO--(_)--OOo-----*
* Sender: Derek Beattie *
* Personal: [EMAIL PROTECTED] *
* Business: [EMAIL PROTECTED] *
*--------------------------------------------------------*
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]