Search the Community
Showing results for tags 'placeholder'.
Found 4 results
How can I specify default value for certain input field?
PawelGIX posted a topic in General SupportCan I specify default value for certain input field? For example: <h1>Title</h1><h2>subtitle</h2><p>article content</p>. in body InputField. Maybe custom module? Some hints?
closer12 posted a topic in General SupportHi, 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?
Handling placeholder pages properlyBased 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. Location 1 - Employee -- John Doe --Jane Doe - Department -- Confused Department --Even More Confused -Year -- 2013 -- 2014
onjegolders posted a topic in Dev TalkThought I'd point out a fantastic resource for placeholder images. Rather than the usual grey boxes or kittens... http://www.hhhhold.com The usual /300x400 urls apply. Also if you want to avoid seeing the same images crop up again and again, you can use a tiny js file https://github.com/ThisIsJohnBrown/hhhhold-js You won't go back!