Recently Browsing 0 members
No registered users viewing this page.
Hi, i am new on processwire.
I have a field name is "price" ..
and i want to show this field in the template if price is written,
but if not i want to display text " plase ask " ...
I filled placeholder text but it doesnt display.
this is very simple but i dont know php , can you help me?
Based on the structure below, "employee", "department" and "year" are simply place holder "pages". Each have been assigned a blank template and contain only a title field which is required. They serve no other purpose.
The issue I was seeing is that I could access these pages in the url directly. For example, root/location1/employee/ would simply display a blank page. This is undesirable for me as it made me fell empty and marking the page as hidden in the back-end did not resolve the issue. So I saw the option unpublished in the back-end and it works perfectly.
I then found Ryan's post here which explains a lot but this example I think deserves its own topic. Would my handling of this be considered advisable or would something else be a better solution, like a 301? I noted that marking a page hidden excludes it from the find() method, but I simply grabbed the children by their templates.
-- John Doe
-- Confused Department
--Even More Confused
Can I specify default value for certain input field?
<h1>Title</h1><h2>subtitle</h2><p>article content</p>. in body InputField.
Maybe custom module?