Loading...
 
Features / Usability

Features / Usability


posts: 20 United States

> Sounds like a perfect job for Tiki's Trackers feature.
>
> HTH,
>
> -Rick
> Now Available: TikiWiki for Dummies Smarties — 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=$page, 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

posts: 1817 Catalan Countries

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+rules) 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! wink

posts: 3665 United States

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 docs for information on creating custom plugins.

HTH,

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


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting