Search the Community
Showing results for tags 'includes'.
-
Hi guys, I'm struggling with including php files from a subfolder. Maybe because there are more then one solution. I'm using the $config->useMarkupRegions = true; with the _main.php. Right now I have some php files that I include in the template files like this: <?php include('menu_main.php')...
- 5 replies
-
- templates
- markupregions
-
(and 1 more)
Tagged with:
-
I have a page which sends out an email based on queries in the url <?php // event ID $eventID = $input->get('eventID','int'); $event = $pages->get($eventID); // config $adminEmail = "events@test.com"; $fromEmail = "noreply@test.com"; $fromName = "test"; $emailSubject = "Test Email";...
-
I originally created my template files thinking I'd only ever need 3 and not worrying about if I repeated bunches of common code there (yes, bad practice, I know). I figured I'd just manually/copy-paste to change any common code in all 3 as needed. So of course, fast-forward awhile, and I'm now up t...
-
Hi there! I've got a little, annoying problem at the moment. I'm working on a local Linux web server wich is connected to my Mac via AFP (netatalk). Based on this network configuration the system creates directories with the name ".AppleDouble" in every Directory on the network share. My proble...
-
I wonder how different people handles different "file structures" for templates. I know that you can only put php code inside a template files, and i have thought that when you have to create a lot of unique "pages" with different php code it will take time to create a template file for each page....
- 4 replies
-
- 1
-
-
- file structure
- templates
-
(and 1 more)
Tagged with: