Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New to the CF scene
    Join Date
    Jul 2014
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Editable CMS-like field

    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.

  • #2
    Senior Coder
    Join Date
    Aug 2006
    Posts
    1,441
    Thanks
    11
    Thanked 305 Times in 304 Posts
    That's a pretty big requirement to come in late in the game. I assume it wasn't in the scope of work agreement, and thus comes with money and time in hand?

    Off the top of my head, I think I would patch this via an external file or database that the customer can edit, and contains something like:
    1. John Smith
    2. $50
    3. Call John at 555-1212

    You'd need a way to allow the customer to edit this file/db, and some quick php in this page could open that file and import lines 1-3 for appropriate placement in the page.

  • #3
    New to the CF scene
    Join Date
    Jul 2014
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by tracknut View Post
    That's a pretty big requirement to come in late in the game. I assume it wasn't in the scope of work agreement, and thus comes with money and time in hand?

    Off the top of my head, I think I would patch this via an external file or database that the customer can edit, and contains something like:
    1. John Smith
    2. $50
    3. Call John at 555-1212

    You'd need a way to allow the customer to edit this file/db, and some quick php in this page could open that file and import lines 1-3 for appropriate placement in the page.
    Well, I started making websites not very long ago and I just added "editable content" to my list of things-to-be-discussed in the first phone call thanks to your comment. Very appreciated.

    I will change the page involved to .php and add some code that reads a file containing the client's content, and provide some admin page that will let her edit the content using some HTML/rich-text tool. I will search for a prebuilt solution and post it as soon as it works for me.

  • #4
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,919
    Thanks
    6
    Thanked 1,040 Times in 1,013 Posts
    If there is money involved and this is above your head you could easily hire someone else to do the work for you.

  • #5
    New to the CF scene
    Join Date
    Jul 2014
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by VIPStephan View Post
    If there is money involved and this is above your head you could easily hire someone else to do the work for you.
    You know business. Unfortunately I am not well known in my city yet, so I'm doing some low cost-high quality websites. What would you hire for small tasks, Mumbay indians?

    Fixed it myself. Used this small code: http://chechi.be/midas/simple-cms.zip

  • #6
    New Coder
    Join Date
    Dec 2013
    Posts
    14
    Thanks
    1
    Thanked 1 Time in 1 Post
    While it would be a fair amount of work, I would suggest making a wp template. It's not that difficult to do and there are loads of tutorials scattered around the web

  • #7
    New Coder
    Join Date
    Jul 2014
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    IO'm not sure I quite undrstand


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •