Welcome to Geeklog, Anonymous Saturday, November 30 2024 @ 02:23 am EST
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)
[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)
9
10
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
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 -
7
9
Quote
Status: offline
Dan Marian Eugen
Forum User
Newbie
Registered: 09/14/12
Posts: 4
Location:Bucharest, Romania
Quote by: Dirk
Hi.Is there any way to change this automatic wayAre you trying to refer to stories by their title? Use the story ID instead.
bye, Dirk
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.
12
11
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
9
11
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 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
13
8
Quote
All times are EST. The time is now 02:23 am.
- 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