Code Monkey home page Code Monkey logo

<table> tag not working properly about dokuwiki-strata HOT 5 CLOSED

bwanders avatar bwanders commented on June 12, 2024
tag not working properly

from dokuwiki-strata.

Comments (5)

bwanders avatar bwanders commented on June 12, 2024

Hi! Nice to hear that you are interested in the strata plugin.

The most common thing that happens is that the table syntax between < and > is not recognized by strata, which will then leave the whole <table ...> block alone. You could try to simplify the fields in your opening tag, or use the alternative notation of using a fields group instead of putting the selected fields in your opening tag (https://www.dokuwiki.org/plugin:strata:reference_guide#variable_projection):

<table>
fields {
  ?name: Full Name
  ?address
}
-- Rest of query
</table>

instead of

<table ?name "Full Name" ?address>
-- Rest of query
</table>

I think that github did something strange with your example. If you want us to have a look at your example, could you edit your post so it shows up?

(Note: if you surround the example with ``` it will be shown as a code block, like my examples above.)

from dokuwiki-strata.

maauzer avatar maauzer commented on June 12, 2024

Thanks for you quick reply. Edited my original post to show the actual tags. For now I tried a very simple example (based on the quick reference guide) as follows :

Full Name: Jane Maria Doe
Birthday [date]: 1982-7-23
</data>

<data person>
Full Name: Jimmy Smith
Birthday [date]: 1990-6-15
</data>

<data person>
Full Name: Joe Borg
Birthday [date]: 1951-12-5
</data>

<data person>
Full Name: Marie Claire Samtec
Birthday [date]: 2001-2-1
</data>


<table ?p "Person" ?b "Birthday">
?p is a: person
?p Birthday [date]: ?b
?b < 1990-1-1
</table>

This is the result preview of the code
image

Please note that with <list> </list> the results show up.
Once again thanks for your help and apologies for my delay.

from dokuwiki-strata.

bwanders avatar bwanders commented on June 12, 2024

Hi there,

I tried your example in a test wiki, and what you do should work!

Since it does not for you, I suspect that one of the other plugins is conflicting.
You can determine which pluygin causes the problem by disabling them one-by-one and retrying (i.e., editting a small thing and saving the page with the <table>) after every disabled plugin.

After looking into the plugins you have active, I think that the best one to test for first is ckgedit... (By the way, have you tried ckgedit's multi-line plugin support?)

Please, let us know what you discovered, so others can learn from you!

from dokuwiki-strata.

maauzer avatar maauzer commented on June 12, 2024

Tried to weed out the conflicting plugin ....and finally managed to find out the culprit. Its the caption plugin by Till Biskup : https://www.dokuwiki.org/plugin:caption

from dokuwiki-strata.

bwanders avatar bwanders commented on June 12, 2024

Good catch!

(I have updated the strata plugin page with this information)

from dokuwiki-strata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.