Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Would it be possible to implement a [topic] autotag in the next versions of Geeklog?

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

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
What would it do? Just print the current topic id? Or does it expand to a link to the topic?

Status: offline

::Ben

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

I was thinking to a link to the topic.

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

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
Of course adding this autotag is as easy as making an autotag plugin, such as the youtube plugin posted to the forums last month.

In drshakagee's post just search and replace "youtube" with "topic".
Rename the variable $whichtube to $whichtopic.
Change this line that starts "$retval = ..." to
Text Formatted Code
$retval = "<a href="{$_CONF['site_url']}/index.php?topic=$whichtopic">$whichtopic</a>";
 

And that should basically do it (assuming I didn't make any typoes above).

So when is someone going to make a proper autotag plugin with an admin screen where you can create replacement strings for arbitrary autotags?

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Thank you jmucchiello.



So when is someone going to make a proper autotag plugin with an admin screen where you can create replacement strings for arbitrary autotags?


It will be a good feature in geeklog official distrib...

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

Status: offline

jhackwith

Forum User
Chatty
Registered: 07/24/04
Posts: 63
Quote by jmucchiello:So when is someone going to make a proper autotag plugin with an admin screen where you can create replacement strings for arbitrary autotags?


What a great idea! That shouldn't be too hard to implement. Added to our plugin idea database, perhaps Firewind can crank it out one of these days.
"Beauty... is the shadow of God on the universe." ~ Gabriela Mistral -- Desolacíon

Status: offline

ivy

Forum User
Full Member
Registered: 11/25/04
Posts: 314
We can use auto tag
Text Formatted Code
[story:] [event:] [staticpage:]

from Geeklog 1.3.10 ...

http://www.geeklog.jp/docs/changes.html

Geeklog Japan https://www.geeklog.jp

Status: offline

Benta

Forum User
Regular Poster
Registered: 03/11/05
Posts: 80
Quote by: cordiste

Would it be possible to implement a [topic] autotag in the next versions of Geeklog?

::Ben



Try the GL Utilities plugin.

You can make your own autotags in it.

Status: offline

ivy

Forum User
Full Member
Registered: 11/25/04
Posts: 314
Thank you for reply.

Yes!
I will try the autotags plugin, too.

#I uploaded Japanese language files for autotags plugin.
http://www.geeklog.jp/filemgmt/index.php?id=181
Geeklog Japan https://www.geeklog.jp