In Pinegrow 5.1
Question: Can I use Components for a piece of content that is used on various pages, so that when I update the component, it will update the content everywhere it was used? For example: header, footer, pricing table.
Is there a difference between components and smart components?
There’s only one tipp from my side: “Don’t overthink them!” What I recognised is, that people expect “Similar - but not the same kind of thing”. Some to keep the same content, some with slight changes. It is what it is: A reusable component - keep it as is.
I’ve been using server side includes but would prefer not to so if i can use a component instead that would be ideal. I will persevere and figure how out to use it.
If anyone would be willing to walk me through the components feature used in this way, I’d really appreciate it. I have read the instructions numerous times, but they are a bit confusing since they apply to previous version. I can’t figure out how to create a component and have it show up in the library so i can easily add to another page. I’d like to start with using a component for my top navigation so I can update the top nav in one place and have all pages update to the new version.
The other way is to use a php include function, for instance one file with your navigation so when you update this file it updates the navigation throughout your site. When developing this you will need a local server, MAMP or the like to test it or upload it to your host. A tutorial is available here https://www.w3schools.com/php/php_includes.asp