Php & spa

Hello,

I’ve started using Wappler for about ten days though, I am still stuck at the beginning part.
I am trying to make SPA in PHP format, I could move header and footer to include files. However, I don’t know how I can move the vertical navigation (like for smartphone) to include file. Another question is I could make routing some page though, I can’t route login.php correctly.

Please navigate me to the correct way.

Thank you.

Please check:

Hi Teodor,

I have checked your link page already.
My routing setting seems correct though, it doesn’t show up on the main page.

Should I make, for instance, login page inside of the main page first, then create an include file from there?

Thanks,

Well, yes - just as explained in the tutorial.
The other option is to create it directly, using new file and select Content Page:

Screenshot_35

1 Like

Thank you so much, I missed that attached part.

1 Like

Hi Teodor,

I could solve this problem though, I had to add “main” tag in the content page manually.
Could you please tell me how I could add it automatically?

Thanks,