user3637224
user3637224

Reputation: 605

Pyrocms Field type usage

How to create text input field in pyrocms ? I read this API http://docs.pyrocms.com/2.1/manual/field-types, but didn't understand how to create input field in my theme layout

I tried like this in my layout, output is nothing

This is my understanding, to use field_type

 {{ field_type] : [function_name] [argument varisbales] }}

I tried like this on layout

 {{ text:form_output name="test" }}

May be my understanding is wrong.

If anyone used this module, kindly share I have no past experience with Pyrocms

Thank you

Upvotes: 0

Views: 136

Answers (1)

ikoniqoz
ikoniqoz

Reputation: 11

What is the text input field for? If we can understand your objective then we can propose a solution. For example, the text field is probably for use in a form. What is the form's purpose ? Maybe Streams has the solution for you. See the Streams documentation here.

Upvotes: 1

Related Questions