rwxsu
Computer Engineer
Hello,
I'm working on your tibiacom layout and have done a lot of fixes to the menu etc.
Link (in progress): rwxsu/tibiacom
Is there a way to use the sub pages as layout files and keep the logic outside of the layout directory?
E.g. layout/sub/settings.php should only contain the form
on POST request: do the validation and database stuff in the root directory's settings.php
Because I'm overriding with subpages action="settings.php" won't work.
I'm working on your tibiacom layout and have done a lot of fixes to the menu etc.
Link (in progress): rwxsu/tibiacom
Is there a way to use the sub pages as layout files and keep the logic outside of the layout directory?
E.g. layout/sub/settings.php should only contain the form
on POST request: do the validation and database stuff in the root directory's settings.php
Because I'm overriding with subpages action="settings.php" won't work.