Rapid PHP 2020 alter base HTML template

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.

  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;

Rapid PHP 2020 alter base HTML template

Postby DaveMorton » Mon Dec 09, 2019 11:20 pm

I just upgraded to Rapid PHP 2020 (16.0.0.224) from an earlier version, and I was wondering if there's a way to alter the "base" HTML template that you see when you create a new file (File -> New -> HTML). Right now, the HTML code that appears on the page looks like this:

Code: Select all
<!DOCTYPE HTML>

<html>

<head>
  <title>Untitled</title>
</head>

<body>

</body>

</html>


Which is "okay", but the first thing I have to do is to reformat it to add proper nesting whitespace, and to remove the empty lines. What I would like to do is have it show up looking like this:

Code: Select all
<!DOCTYPE HTML>
<html>
    <head>
        <title>Untitled</title>
    </head>
    <body>
        [cursor here]
    </body>
</html>


I've looked in %appdata%\Blumentals\Rapid PHP\templates\HTML, as well as a few other locations in and around %appdata% and in the install folder for Rapid PHP, with no success. Is it possible that this template is hard-coded into the program? Or could it be stored elsewhere?
DaveMorton
 
Posts: 28
Joined: Thu Apr 11, 2013 9:25 pm

Re: Rapid PHP 2020 alter base HTML template

Postby DaveMorton » Mon Dec 09, 2019 11:25 pm

Oops? Never mind. I found it. It's stored in %appdata%\Blumentals\Rapid PHP\templates\HTML\Default.htm

I don't know HOW I could have missed it. Silly Dave! :)
DaveMorton
 
Posts: 28
Joined: Thu Apr 11, 2013 9:25 pm


Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Support

Who is online

Users browsing this forum: No registered users and 1 guest