Is het mogenlijk een PHP bestand te includen in een template bestand dus net zoals in SMARTY.
TBSites
Include in template
Forumregels
phpBB 3.0 is End of support per 1 januari 2017. Dit forum is hier enkel ter archief. Het wordt aangeraden te upgraden naar phpBB 3.2
phpBB 3.0 is End of support per 1 januari 2017. Dit forum is hier enkel ter archief. Het wordt aangeraden te upgraden naar phpBB 3.2
- Bas
- Berichten: 2741
- Lid geworden op: 02 dec 2003, 17:38
- Locatie: Omgeving Goslar (Duitsland)
- Contacteer:
Re: Include in template
Schakel in Beveiligingsopties in het ACP de optie in voor PHP in templates gebruiken, en gebruik in je template de volgende code:
Code: Selecteer alles
<!-- PHP -->
include('/path/to/file.php');
<!-- ENDPHP -->
.Bas Hosting, gratis hosting met FTP, PHP en MySQL | viennaCMS, simpel flexibel open source CMS
Hoe ban je tegenwoordig? 'Deny' bij alle rechten!
Hoe ban je tegenwoordig? 'Deny' bij alle rechten!
Re: Include in template
Als je een bestand wil includen kan je het beter zo doen :
Code: Selecteer alles
<!-- INCLUDEPHP somefile.php -->
Raimon - phpBB.com Styles Team Leader
phpBBservice.nl - Nederlands phpBB Support Forum || Nederlandse phpBB3 Downloads
phpBBservice.nl - Nederlands phpBB Support Forum || Nederlandse phpBB3 Downloads