Page 1 of 1

Index.php? Usage

Posted: Fri 3. Dec 2004, 11:26
by cchhita
Hi Everyone,

Firstly, I would like to say that PHPWCMS is awesome, and the support is also awesome!

I was wondering if anyone could point me in the right direction here.
I have multiple articles in one section, and I would like to know how to reference them properly.

I have attached an image to explain a little better.
I can quite easily allocate an alias to the sections through the Site Structure feature (i.e. for Profile, Director etc, but is there a way of creating alias' for articles?
I.e. I would like to place an alias on the articles hp and also Ethicsline. At present, the only way to reference these pages is with the following;
index.php?id=0,14,0,0,1,0 - which seems a little complicated if you want to give a user a direct URL to the Ethicsline page for instance.
Also, I do not fully understand how the ID works.
The first 0 refers to the Section ID (i.e. Home), and the number 14 refers to the Article Number (i.e. Ethicsline). But what about the 0,0,1,0? What do they mean? What are they used for?
Any help would be greatly appreciated!
Thanks

Image

Posted: Fri 3. Dec 2004, 11:34
by bebernl
Hi,

if you edit a category, you have the possibility for a 'alias this category'. Then you can load the page by index.php?myalias

greets
bebernl

Posted: Fri 3. Dec 2004, 12:11
by cchhita
Hi,

Thanks for your quick reply.
Yes I can place an alias for the category - which is straight foward. But is it possible to place an alias for an article?

Ie. I would like to reference the ethicsline Article by going to http://www.mysite.com/index.php?ethicsline

Instead of http://www.mysite.com/index.php?id=0,14,0,0,1,0

Thanks

Posted: Fri 3. Dec 2004, 12:24
by Pappnase
cchhita wrote:Hi,

Thanks for your quick reply.
Yes I can place an alias for the category - which is straight foward. But is it possible to place an alias for an article?

Ie. I would like to reference the ethicsline Article by going to http://www.mysite.com/index.php?ethicsline

Instead of http://www.mysite.com/index.php?id=0,14,0,0,1,0

Thanks
hello

sorry but his is not possible at the moment. and i also don't know if this will possible in the future.

Re: Index.php? Usage

Posted: Fri 3. Dec 2004, 14:54
by Karla
cchhita wrote:Also, I do not fully understand how the ID works.
The first 0 refers to the Section ID (i.e. Home), and the number 14 refers to the Article Number (i.e. Ethicsline). But what about the 0,0,1,0? What do they mean? What are they used for?
Any help would be greatly appreciated!
Thanks
http://www.phpwcms.de/forum/viewtopic.php?p=5680#5680

Posted: Sat 4. Dec 2004, 11:49
by spirelli
The only way to give your users a simple link to a specific article at the moment is to put this article on a single page.