Loading...
 
Skip to main content

Features / Usability


You are viewing a reply to Creating a "Book List"?

> Sounds like a perfect job for Tiki's Trackers featureQuestion.
>
> HTH,
>
> -RickQuestion
> Now Available: TikiWiki for Dummies SmartiesQuestion — A beginner's guide to using ))TikiWiki((.

Hey man - that was perfect, thanks!

Now I have another question. How do I link to the tracker items? If I add it as an external wiki, text does not show up in the link (since this is an existing bug - text in external wiki links do not work).

So if I have an external wiki 'books' that links to http://mywiki/trackeritem=$pageQuestion, or whatever, i can do this:
(.(.books:1|text).) - without the periods. The link works, but the text of the book just shows up as '1', not 'text'

Any ideas? I imagine there would be an easy way to insert a link to a tracker item. Maybe I could use one of the SQL queries to get the 'title' field of the tracker item and use it to display somehow?

Thanks,
Blaine

Hi Blaine!

Glad you make a tracker for this!

I guess that you can use either the external link with square brackets to the tracker item itself (even if the link is longer and uglier). Some trick would be to add some customized rewrite rule in you .htaccess file (see http://doc.tikiwiki.org/Rewrite+rulesQuestion) so that you write

[book946|text]

and the "book946" gets rewritten as tracker item:

"tiki-view_tracker_item.php?trackerId=N&itemId=946&show=view"

(being N, the tracker number for your book/bibliography collection)

HTH, and welcome to Tikiwiki Community! 😉

As Xavi said, you can use the external link style or, as an alternative, you could build a wiki plugin (if you don't want to have to remember the entire URL.

You could have something like this:

Copy to clipboard
{{BOOK(id=1) /}


... that the plugin would translate into the appropriate tracker link.

See the docsQuestion for information on creating custom plugins.

HTH,

-RickQuestion
Now Available: TikiWiki for Dummies SmartiesQuestion — A beginner's guide to using ))TikiWiki((.