Zach Paine <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Hello,
> First of all, great work on this project! I just got it up and running
an=
> d I am looking forward to playing around with it. So here is my problem:
I=
> am having trouble pulling the whole site together. I can access the root
=
> page, however, I cannot access any of the articles and I am unsure of how
t=
> he system works. Can anyone help me? I'm not on the list, so could
replie=
> s be sent to [EMAIL PROTECTED] also? =20
Hi Zach!
First of all, welcome to the wonders of Midgard. I am glad you got it up and
running and am curious if you had any specific trouble getting this far.
Second, I would like to invite you to subscribe to the list. There is a
focussed group working on the current documentation, and your questions
would be a great help to the project, as it helps us gain insight what the
most pressing questions of a new user may be.
Now, I'll have a go and suggest one way to display an article (like in Perl,
There Is More Than One Way To Do It (tm) in Midgard too).
create a subpage under the rootpage, and call it 'artview'.
Enter the following content:
<?
$getit = mgd_get_article(232);
?>
<h1>&(getit.title);</h1>
<h3>&(getit.abstract);</h3>
<p>&(getit.content);</p>
replace 232 by the number (id) of an article you've allready created. After
submitting, when you access /artview on the midgard host-url you've created,
you will see title, abstract and content of the article you referred to.
This is an all too basic example of what you can do, and probably people on
the list will start replying how much more sophisticated it could be done.
And believe me, it can.
Do checkout our current manual at http://www.midgard-project.org/manual/.
You'll find a lot of information there, that will get you going. And please,
even if you don't join the list, keep us posted of your proceedings, as your
feedback will be very valuable to our project.
Armand.
--
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]