?>


Quirks Content Engine Update 4/16 (table-like data, custom user panels)
Posted: Posted April 16th, 2017 by Xhin
View Source Report Thread Views

This is a very large update. It took as long as it did because I wanted to finish it before posting it, I moved in the middle of it, and had some trouble getting back into a groove of work afterwards.

Update

This update introduces a new data type, which is a table-like structure.



  • To access it, put a : in between the group name (in this case "questions") and the part of the table you want to change (in this case a specific "question").



  • In this case, it's part of the newreply template -- so is giving users the ability to ask you questions in the post.



  • Here's what the format of your post might look like to access this data.



  • In order to access it, you use the "each" tag. The first property is the name of the group you're accessing; the rest alter the format like you've seen before.

  • inside the each tag you have the format of each item in the list.

    How do OP's get to change the answer? Well...

    Panels Update



  • In the Quirks CP you have a new template type, "Panels".



  • Here's what the screen looks like. Note that you can create as many panels as you want (although you don't usually need much for post types you're creating).



  • Here's what a sample panel may look like.

  • It uses the "table" tag, which works similar to the "each" tag. Each thing inside the tags here actually forms the table head, while the tags themselves tell the engine what to display in each row of the table.

  • The special "show" tag just shows the data value in each row.



  • Here's what the OP actually looks like when they go into their CP for the thread.

  • They can now answer questions that have been asked, which gets reflected in the post:



    @KM8:

  • There are 4 Replies

    @Ghowilo: might be interested in this project too

    Posted April 16th, 2017 by Xhin
    View Source Quote Report
    Xhin
    Full speed ahead

    @Xhin: I haven't been getting notifications when you tag me in these, even though I still sign in using KM8.

    That said, I'm excited about this!

    Posted April 16th, 2017 by Cetasaurus
    View Source Quote Report
    Cetasaurus
    Formerly KM8

    I haven't been getting notifications when you tag me in these, even though I still sign in using KM8.

    Weird, I'll look into it and rectify the problem.

    That said, I'm excited about this!

    Me too. A couple more updates and this thing will be ready. :)

    Posted April 16th, 2017 by Xhin
    View Source Quote Report
    Xhin
    Full speed ahead

    Looks cool.

    Posted April 17th, 2017 by Ghowilo
    View Source Quote Report
    Rules | Report Issue | Request Feature | Roadmap Facebook Page | Discord Group
    GTX0 © 2009-2020 Xhin GameTalk © 1999-2008 lives on
    You are not forgotten, Kevin, Liane, Norma, Jason, and Garrett