Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2005-05-19 17:40:36

aldoh
New member
Registered: 2005-05-18
Posts: 6

Changing the link created by linker.

Hi, me again:

when i click a node in the linker tree, it writes: /Resumen_de_Reunion_Panama_9_de_Mayo_de_2005.doc, but what i would like is that the link, would point to /somedir/Resumen_de_Reunion_Panama_9_de_Mayo_de_2005.doc, where "/somedir" is a php var.

Finally, the html code should look like: href="http://mydomain.com/somedir/Resumen_de_Reunion_Panama_9_de_Mayo_de_2005.doc, but i dont wich to show in the tree the content of the parent of "somedir". I hope what i wrote make sense.

Offline

#2 2005-05-19 22:58:09

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: Changing the link created by linker.

aldoh: copy the Linker backend (scan.php in plugins/Linker), modify it to suit your needs, and set config.Linker.backend to point to your new backend.  It's fairly straight forward PHP code.

Also see the Linker plugin wiki page which details the structure that gets returned and alternative ways to supply it - http://xinha.python-hosting.com/wiki/Linker


James Sleeman

Offline

#3 2005-05-20 14:48:30

aldoh
New member
Registered: 2005-05-18
Posts: 6

Re: Changing the link created by linker.

thanks...i just did as u said.

Offline

Board footer

Powered by FluxBB