Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Editable CMS-like field

Featured Replies

Greetings everyone. I'm more like a designer than a webmaster and I've spent a month designing something unique and artistic in HTML5&JS for a customer. It's responsive and works in every navigator, platform and operating system. Gosh, it's like it has its own life.
Today I receive an email from my customer saying he wants editable fields in a section of the contact/pricing subpage. I can't say no, it's my best customer. If I had a gun in my mouth I would pull the trigger.
The deadline is very soon and I have no time to remake the whole website for Wordpress or any other CMS management system. Is there any way to place an applet, a script, or whatever, into the HTML code and make it easy to edit for her? Like an addon, wordpress based, allowing me to grab text from somewhere else (like a blogger site she can easily log in?) and place it in the exact spot of my website where she wants it?
Something just came to my mind. What about a hidden form in a hidden url (like www.mywebsite.com/dont/enter/here/surprise.php) that edits a txt file? Can I paste some code into the pricing table so it reads numbers from that txt file?
I would say there must be a way, I'm just too ignorant and confused to find it. I beg your help.
Thank you.

 

  • Author

Welcome to the forums

 

That sounds like a good job for something like http://grabaperch.com/ which you can use to make any page contents editable, plus you can restrospectively use Perch to slot into an existing site.

 

Thank you. I found there are a few CMS you can work with in a finished html website.

Edited by pinguinoz

Perch is a great CMS and highly recommend it.

 

For something super simple, have a look at Unify. It's really cheap and does the job for low maintenance sites. I've used for a project or two and it was ideal at the time.

PHP has a method called file_put_contents() that does exactly what you ask for: stores content (eg from a form) in a text file. You give the method two arguments: the file and the data to store. I have made this video on how to use it togeteher with a javascript WYSIWYG

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.