Loading...
 
Features / Usability

Features / Usability


Creating a "Book List"?

posts: 20 United States

Hey guys,
I am creating a wiki based around research that myself and friends have done. As part of this I would like to be able to create a list of 'books' that I have read (also Articles, Journals, etc.). The idea would be to have a simple database with things like Author, Title, Publisher, Date, etc. I would just want to add a book to the list, then be able to 'soft link' to it when writing an Article or Wiki page. Tikiwiki seems like it is powerful enough to support a custom object list or database, is there an easy approach to how to do this?

I am a computer engineer so development is no problem for me. So, two issues:

* Is this available out of the box?
* If not, how do I find out how to create this on my own very easily? It seems like Galaxia *may* be useful for this, but I'm not too familiar with it.

I'd like to be able to do something like book:hawkins1 or something like that to link it automatically from articles.

Thanks!
Blaine
UC, Cincinnati OH

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((.