Status: offline

Marites

Forum User
Chatty
Registered: 02/04/04
Posts: 64
I am having problems with Autolinks for example:

[s_t_o_r_y:14 - Nene scores a P50M lobby fund for Cha-cha] Previous Article]


is only translating to /path/article.php/14

All our article stories take the form - some even have [Feature] or [Obituary] after the hyphen.

I tried a test article like:

[s_t_o_r_y:Nene scores a P50M lobby fund for Cha-cha] Previous Article]

Would I be correct in thinking the parser cannot cope with my strange form of titles.

- Marites -

(story spelt out just for this posting btw)

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Are you trying to refer to stories by their title? Use the story ID instead.

bye, Dirk

Status: offline

Marites

Forum User
Chatty
Registered: 02/04/04
Posts: 64
Quote by Dirk: Are you trying to refer to stories by their title? Use the story ID instead.

bye, Dirk


Opps I was following the example on the new features 1.3.10
story;email-bug About the email bug

I assumed email-bug related to the story title so seems I have to use

story;20050914224314959 Read previous article

Will give it a try.

- Marites -


Status: offline

Dan Marian Eugen

Forum User
Newbie
Registered: 09/14/12
Posts: 4
Quote by: Dirk

Are you trying to refer to stories by their title? Use the story ID instead.

bye, Dirk

Hi.Is there any way to change this automatic way
www.site.com/article.php/01928309107012
to
www.site.com/article.php/storyname
,,,because i have allready 7000 articles and its hard to change them manually.

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Hi,

You can try in configuration > Site > Enable URL Rewrite

Ben
I'm available to customise your themes or plugins for your Geeklog CMS

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Quote by: Dan Marian Eugen@oauth.facebook

Hi.Is there any way to change this automatic way
www.site.com/article.php/01928309107012
to
www.site.com/article.php/storyname
,,,because i have allready 7000 articles and its hard to change them manually.


I'm afraid not. You would have to write a little PHP script for that (which would also have to handle special characters - story IDs can't contain spaces, for example, and it's not a good idea to have special characters in URLs).

bye, Dirk

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
You can try in configuration > Site > Enable URL Rewrite


Oups Confused Next time I will read twice the question...

Thank you Dirk for proofreading.

Ben
I'm available to customise your themes or plugins for your Geeklog CMS