[TYPO3-UG Dutch] php script includen

Rudy Gnodde gnodde.rudy at wag.nl
Wed Mar 21 13:26:15 CET 2007


Beste Bas,

Het werkt wel. Ik gebruik het zelf voor meerdere websites. Zie onder
andere www.famouswolf.com

Met vriendelijke groet,

Rudy Gnodde
WIND Internet
http://www.windinternet.nl
http://typo3.famouswolf.com

> -----Oorspronkelijk bericht-----
> Van: typo3-ug-dutch-bounces at lists.netfielders.de 
> [mailto:typo3-ug-dutch-bounces at lists.netfielders.de] Namens 
> Bas Heutink
> Verzonden: woensdag 21 maart 2007 13:20
> Aan: typo3-ug-dutch at lists.netfielders.de
> Onderwerp: Re: [TYPO3-UG Dutch] php script includen
> 
> Dag Rudy,
> 
> Bedankt weer voor je antwoord. Maar dit werkt helaas ook niet.
> Je kunt wel een .css bestand invoegen met @import, maar een 
> .php bestand pakt ie niet.
> 
> Bas
> 
> 
> 
> Rudy Gnodde wrote:
> > Beste Bas,
> > 
> > Je kunt het in ieder geval doen via:
> > 
> > page.headerData.10 = TEXT
> > page.headerData.10.value (
> >   <style type="text/css" media="screen">
> >     <!--
> >         @import 
> url("fileadmin/templates/xyzs/php/random_header.php");
> >     //-->
> >   </style>
> > )
> > 
> > Het zou kunnen zijn dat page.includeCSS controleert op de extentie, 
> > waardoor dat niet werkt.
> > 
> > Met vriendelijke groet,
> > 
> > Rudy Gnodde
> > WIND Internet
> > http://www.windinternet.nl
> > http://typo3.famouswolf.com
> > 
> > 
> > 
> >>-----Oorspronkelijk bericht-----
> >>Van: typo3-ug-dutch-bounces at lists.netfielders.de
> >>[mailto:typo3-ug-dutch-bounces at lists.netfielders.de] Namens Bas 
> >>Heutink
> >>Verzonden: woensdag 21 maart 2007 11:36
> >>Aan: typo3-ug-dutch at lists.netfielders.de
> >>Onderwerp: Re: [TYPO3-UG Dutch] php script includen
> >>
> >>Dag Rudy,
> >>
> >>Hoe include je dit php bestand?
> >>
> >>Ik neem aan niet met:
> >>page.includeCSS {
> >>  file2 = fileadmin/templates/xyzs/php/random_header.php
> >>}
> >>Dit werkt ook niet.
> >>Ook niet met:
> >>page.includeCSS {
> >>  file2 = fileadmin/templates/xyzs/php/random_header.css
> >>}
> >>
> >>Groeten,
> >>Bas
> >>
> >>
> >>Rudy Gnodde wrote:
> >>
> >>>Beste Bas,
> >>>
> >>>Ik zou als ik jou was een stylesheet genereren met PHP, niet de 
> >>>bestandsnaam van een statische CSS file. Dit kan met het volgende 
> >>>stukje
> >>>code:
> >>>
> >>><?php
> >>>/*
> >>> Generates stylesheet for random header images */
> >>>header('Content-type: text/css');
> >>>
> >>>$path = 'random_images/';
> >>>
> >>>$files = array();
> >>>$dir = dir($path);
> >>>while (false !== ($entry = $dir->read())) {
> >>
> >>_______________________________________________
> >>TYPO3-UG-dutch mailing list
> >>TYPO3-UG-dutch at lists.netfielders.de
> >>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-dutch
> >>
> 
> _______________________________________________
> TYPO3-UG-dutch mailing list
> TYPO3-UG-dutch at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-dutch
> 


More information about the TYPO3-UG-dutch mailing list