SSI issues

is there a way to have the content of the sidebar saved as SSI? So I could just reuse easily. If I try to do this using the SSI tutorial the whole thing breaks

Hello,
Is it possible to describe a little more detailed what exactly do you mean by:

hmm, let’s say I turn the whole “Flush List Group” into “Server Side Include”, save it. It’ll still look fine and work in Wappler’s design view (after reloading of course). But in the browser the list doesn’t show up at all.

Looking at your video you are using SSI include, and if you don’t see the list, probably SSI are not enabled on your server.

It requires that your server supports SSI and has it enabled, for apache you need to have mod_include enabled. http://httpd.apache.org/docs/current/mod/mod_include.html

For the PHP includes you must indeed convert your page to a PHP file so that it is handled correctly on your server, which of course needs to have PHP installed.

I’m working on a local WAMP. I confirmed I have include_module enabled in Apache. Even disabled/re-enabled it. Nothing changed.
This will probably sound extremely amateur but how do I convert a page to PHP file?

Something is not well configured probably.

Well, just save it with a PHP extension :slight_smile: And that would be better with PHP includes as they don’t require any special config …

Was about to ask if it’s as simple as that but figured it’d sound too dumb.
Alright, I’ll try to do it like that.

1 Like

Great! Seems to be working just fine now using PHP include! So is there any difference between SSI and PHP include? Why would I want to use SSI?

That’s been discussed here: SSI File vs PHP Includes

Oh, I’ll read up on it then. Thanks a lot for your help!