Wikidot Tip of the Day
12 Mar 2010 04:15
12 Mar 2010 04:15
12 Mar 2010 04:15
12 Mar 2010 04:15
nav_first.pngFirst: blog:1
My first blog!
Edited: 06 Nov 2011 11:49 by: James Kanjo
Comments: 2
Tags: ads blog css facebook first free myspace program programming wiki wikidot
nav_prev.pngPrevious: blog:58
Time for an announcement!
Edited: 06 Nov 2011 11:54 by: James Kanjo
Comments: 6
Tags: blog code puzzle solved
Last: blog:77
Wikidot: CSS Per Category
Edited: 04 Mar 2012 05:54 by: James Kanjo
Comments: 3
Tags: programming wikidot
nav_last.png
Next: blog:60
Big Homo!
Edited: 05 Jul 2011 13:25 by: James Kanjo
Comments: 7
Tags: coming-out homosexuality me
nav_next.png

Another day, another discovery.

Today I discovered that you can set an entire category to utilise ONLY the “Title” field. This has been made possible with data forms.

The best part is, it's so damn easy!!! Here's the code for you live template (:_template) page:

[[form]]]

[[/form]]

And you're done!

Whilst I'm at it, I have made another discovery (although, I've already revealed it elsewhere) regarding data forms. If you want to utilise form data within a live template WITHOUT displaying the default form layout (i.e. using your own custom layout and usage of variables), just place the form code where you would a static template:

Your layout goes here

====

[[form]]

Hidden form goes here

[[/form]]

This advancement has allowed me to upgrade my Polls @ Wikidot application to be even more user friendly.

λ James Kanjo

Comments:

Add a New Comment
or Sign in as Wikidot user
(will not be published)
- +
All content on this page is subject to the guidelines outlined here