Pinegrow Community Support Forum

Own template for new.html


#1

Hello, I have a question about creating a new HTML Plain page. Can I customize the structure of the page, save it and use my own custom template?


#2

Hi there, well yes you can.

It depends on how you want to do it though and which version of PineGrow you have.

If you have the standard version of pinegrow, you can get ready for a lot of copy and paste, after creating and Saving your Template then re using it on each page.

but if. you have the PineGrow Pro version, this has a whole set of features to use it for Projects, which include setting up Master Pages, reusable Components, with Editable areas etc etc.

I am not very familiar with those features yet, but you can look them up
if you look on the main pinegrow.com page,

you will see this section

However…I can find NO LINK TO ANY DOCUMENTATION on the pinegrow.com site to this topic!

Which seems a bit bizarre.

I have however found some OLDER DOCS here
http://docsbeta.pinegrow.com/?s=master+pages

but the whole interface and way of using has changed since then, but I can find nothing on the default Documentation page.

Only this


which is a whole version behind (it says not updated for version 4 - but we are on 5 now)
And then links to the even older documentation I pointed you too earlier, the docs beta link
.
Although I was certain I had seen something about it somewhere so I will check the youtube channel now.

ok hunting around let me to this

https://www.youtube.com/results?search_query=pinegrow+master+pages

which shows this up! -this is probably the way to go,
BUT, you need Pinegrow PRO version to do this…

So your best bet is to scour this forum, using the search tool at the top right of this site.

https://forum.pinegrow.com/search?q=master%20pages

this will lead you too these results and then see what is the most helpful for yourself.


#3

Thanks for the answer. That is not quite what I am looking for. I go in Pinegrow to Create a new page or project, then to Plain HTML and new.html.
It opens a new page with the following content:

<html long="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="description" content="">
        <meta name="author" content="">
        <title>New page</title>
        <link href="style.css" rel="stylesheet">
    </head>
    <body>
        <div class="pg-empty-placeholder"></div>
    </body>
</html>

However, I would like to have this content adapted into that:

<!DOCTYPE html>
<html lang="de-DE">
    <head>
        <meta charset="utf-8"/>
        <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
        <title>page name</title>
    </head>
    <body>
    </body>
</html>

Can I save this as a template?


#4

Yes, it’s easy to change. Go into the Pinegrow directory, then frameworks, then html, then template. Open up the new.html file and change it to whatever you want. Now when you choose new.html from the plain html template when creating a new project or page it will be what you wanted.


#5

Thank you, that’s exactly what I was looking for.