Jump to content

Recommended Posts

Okay so I built a template for my website but my question is I have about 100 pages for my site.  I want an editor with preferably no wysiwyg editor that takes a template and takes all the files in a folder and combines them.  Maybe it just replaces text in the pages with text in the template I don't care I just don't want to have to go and edit every page by hand every time I want to change something about the design.

 

Thanks,

Mark Swingle

 

P.S: Just telling ideas about what a program like this might be called would be helpful.

Link to comment
https://forums.phpfreaks.com/topic/122501-html-text-template-editor/
Share on other sites

You can use php includes to include the template into the documents. Not really what you are looking for, but quite easy to implement.

 

This is how it should be done. It isn't easy though, and at times is very frustrating, since what you see on the browser at home doesn't equal what you will see on a live page - unless you install php on your computer of course.

You can install your own local server very easily using:

 

WAMP - http://www.wampserver.com/en/

 

or

 

XAMPP - http://www.apachefriends.org/en/xampp.html

 

That way you can do all your own testing, use php to build your templates, and entire sites on your own system and across browsers without having to upload anything to an external server. You can have as many sites as you want, or variants of them, and create your own URLs to view them.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.