Re[2]: [midgard] damn...I thought I was getting close...

2000-01-19 Thread Alexander Bokovoy
Hello David, you wrote: >> topics using their real names but creating their shortened >> equalents (which should be used then as path names). > This is the way I used to create article and topic names, and if the > name already exists, the user is prompted to change the name. It seems to

RE: [midgard] damn...I thought I was getting close...

2000-01-19 Thread Ken Pooley
Well...I was about to write one last whining e-mail about why could I not figure this out but I just got it...the key was $argv...I am not calling by names, just id # but it seems to work sonow I just need to figure out what I have done...or howI had just gotten a Chinese fortune saying

Re: [midgard] damn...I thought I was getting close...

2000-01-19 Thread David Guerizec
Hi, > > Just one thing (and I'm talking to the whole dev team here): will it be a > > library space where we could put all these little helpfull functions, and > > make them available for every sites in the DB, or will we have to replicate > > them for each host (maybe in Midgard 2.0) ? > > Damn

Re: [midgard] damn...I thought I was getting close...

2000-01-19 Thread Emiliano
> Alexander wrote: > > Also some problems might exist accessing topics and articles by name. At > > least, one should carefully select names for topics and articles (and write > > them in URl-safe form). Why is that? David Guerizec wrote: > This sounds ok to me. > Just one thing (and I'm talking

Re: [midgard] damn...I thought I was getting close...

2000-01-19 Thread David Guerizec
Hi Alexander > David wrote: > > Here is a piece of code I wrote for an intranet, I provide it "as is" to > > feed the debate... > > You can put it in the code-init element of an ACTIVE page, and you'll need > > the functions mgd_get__by_name you can find at this url > > (http://www.midgard-p

Re: [midgard] damn...I thought I was getting close...

2000-01-19 Thread Alexander Bokovoy
David wrote: > Here is a piece of code I wrote for an intranet, I provide it "as is" to > feed the debate... > You can put it in the code-init element of an ACTIVE page, and you'll need > the functions mgd_get__by_name you can find at this url > (http://www.midgard-project.org/article/1420.htm

Re: [midgard] damn...I thought I was getting close...

2000-01-19 Thread David Guerizec
Hi, Here is a piece of code I wrote for an intranet, I provide it "as is" to feed the debate... You can put it in the code-init element of an ACTIVE page, and you'll need the functions mgd_get__by_name you can find at this url (http://www.midgard-project.org/article/1420.html), or just wait

Re: [midgard] damn...I thought I was getting close...

2000-01-19 Thread Emiliano
Fred Hirsch wrote: > > This sounds like a similar problem that I was having in doing a dynamic > nav-link style. I heard lots of advice in using argv to extract from the > $midgard->uri. I never did figure out why I couldn't get argv to work, > from all I can tell, it only holds the name of the l

Re: [midgard] damn...I thought I was getting close...

2000-01-18 Thread Fred Hirsch
ere? > if ($id) $topic = mgd_get_topic($id); <--I tried this but haven't seen the > desired result > if ($article) $author = mgd_get_person($article->author); > > I am not sure why I am so thick on this but I think I am getting closer > kp > > ----- Original Message-----

RE: [midgard] damn...I thought I was getting close...

2000-01-18 Thread Ken Pooley
e) $author = mgd_get_person($article->author); I am not sure why I am so thick on this but I think I am getting closer kp - Original Message- From: Emiliano [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 18, 2000 11:18 AM To: [EMAIL PROTECTED] Subject: Re: [midgard] damn...I tho

Re: [midgard] damn...I thought I was getting close...

2000-01-18 Thread Emiliano
Ken Pooley wrote: > I want on the subsequent page to get the articles from the sub topic..so > first page has topics that are linked...press link go to subtopic page and > list articles...my idea is that if I can use the existing topics as the > basis for organization then the content creators ca

Re: [midgard] damn...I thought I was getting close...

2000-01-18 Thread Alexander Bokovoy
Carilda wrote: > Then your uris would be something like: > /root page > /13.html topic (or subtopic?) 13 > /13/22.htmltopic (or subtopic?) 13, article 22 which should > belong to topic 13 > > There should be a "mgd_get_topic_

RE: [midgard] damn...I thought I was getting close...

2000-01-17 Thread Ken Pooley
orse. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Carilda Thomas Sent: Monday, January 17, 2000 5:29 PM To: [EMAIL PROTECTED] Subject: Re: [midgard] damn...I thought I was getting close... > Emile wrote (pretty well for a sick guy)... > >So

Re: [midgard] damn...I thought I was getting close...

2000-01-17 Thread Carilda Thomas
th your content-fillers having to put their new topics as subtopics to this set. Was I at all coherent here? the cat By the way, it's "Carilda" not "Carlida" -- but I have been called worse. > -----Original Message----- > From: Emiliano [SMTP:[EMAIL PROTECTED]]

RE: [midgard] damn...I thought I was getting close...

2000-01-17 Thread Ken Pooley
sage- From: Emiliano [SMTP:[EMAIL PROTECTED]] Sent: Monday, January 17, 2000 3:51 PM To: [EMAIL PROTECTED] Subject: Re: [midgard] damn...I thought I was getting close... Ken Pooley wrote: > I have a root page, it is active...it lists all of the topics and > descriptions for

Re: [midgard] damn...I thought I was getting close...

2000-01-17 Thread Emiliano
Ken Pooley wrote: > I have a root page, it is active...it lists all of the topics and > descriptions for a category...the idea is that the topic name is a link > into the topic, there is a <[topic]> (listed further down) that should take > me into the topic and list all of the articles which are

[midgard] damn...I thought I was getting close...

2000-01-17 Thread Ken Pooley
well, I thought I was getting close to figuring this out but I am still missing the boat...(if I had $1 for everyboat I missed I would have bought the boat by now) I have a root page, it is active...it lists all of the topics and descriptions for a category...the idea is that the topic name is