Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 10:38 pm EDT

Geeklog Forums

Autolinks query


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)
 Quote

Status: offline

Dirk

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

bye, Dirk
 Quote

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 -

 Quote

Status: offline

Dan Marian Eugen

Forum User
Newbie
Registered: 09/14/12
Posts: 4
Location:Bucharest, Romania
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.
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Hi,

You can try in configuration > Site > Enable URL Rewrite

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

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
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
 Quote

All times are EDT. The time is now 10:38 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content