Index.php? Usage

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
cchhita
Posts: 54
Joined: Sun 14. Nov 2004, 23:54

Index.php? Usage

Post 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
bebernl
Posts: 15
Joined: Wed 24. Mar 2004, 15:53
Location: Amsterdam

Post 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
cchhita
Posts: 54
Joined: Sun 14. Nov 2004, 23:54

Post 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
Pappnase

Post 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.
Karla
Posts: 223
Joined: Tue 26. Oct 2004, 11:56

Re: Index.php? Usage

Post 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
spirelli
Posts: 996
Joined: Tue 27. Jul 2004, 13:37
Location: London

Post 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.
Post Reply