Loading...
 
Features / Usability

Features / Usability


Grab data from a table

posts: 2

Would it be possible to have a spreadsheet or a table in tiki with data in it and then have abother page on Tiki grab certain data (specified by me) from that table and display it?

For expample...

Tiki page 1 has a table/spreadsheet with data
box 1 = 12
box 2 = 13
etc...

then say on tiki page 2 I want to display what is in box 1
and on tiki page 3 I want to display what is in box 2 etc...

Thanks for any help?

posts: 1092

I don't think it is the best answer, but it can work:
There is a plugin include that include a wiki page in another one. To activate it, you need to copy lib/wiki-plugins-dist/wikiplugin_include.php into lib/wiki-plugins/wikiplugin_include.php
sylvie


posts: 2
Ok, i'll look into that. Does this only work to include an entire page or can I specify just a data cell (part of a page or table cell on a page) to include?
posts: 1817 Catalan Countries

> Ok, i'll look into that. Does this only work to include an entire page or can I specify just a data cell (part of a page or table cell on a page) to include?

You can specify start and stop strings (lines) in the page. This would allow you to create the "mother table" in wiki format, and you can manually hide your tags for start and stop of inclusion in the other pages, by adding some lines created by wyou with hidden content (same color as backgroud).

Try first, search documentation on howto do the basics, and if any more doubts, ask again! :-)

Good luck,

Xavi