TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

TYPO3 Mailingliste: nicht fragen - lesen!

TYPO3 Mailingliste: nicht fragen - lesen!_RR_1-->
Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-english@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 04.10.2007, 09:11
Christian Lerrahn (Cerebrum)
Gast
 
Beiträge: n/a
Standard [TYPO3] CSS files dynamically created and included

Hi,
I want to create a CSS file and dynamically include it with a <link> tag
in my extension. The CSS file is created from a template and therefore
has to be created on the fly. I would therefore probably just write it
to typo3temp/. However, I want to make sure that I use the right kind
of TS and API functions. What should I use to write to typo3temp/? How
should I include the CSS properly? I have to be able to set the id of
the link tag because I need to be able to disable the stylesheet in JS
later.

Any hints would be very much appreciated.

Cheers,
Christian
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 04.10.2007, 09:43
Peter Klein
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] CSS files dynamically created and included

Hi Christian.

How about using this one?
http://typo3.org/extensions/reposito...amiccss/0.2.1/

--
Peter Klein/Umloud Untd

"Christian Lerrahn (Cerebrum)" <christian.lerrahn (AT) cerebrum (DOT) com.au> skrev i
en meddelelse
news:mailman.1.1191482248.23223.typo3-english (AT) lists (DOT) netfielders.de...
> Hi,
> I want to create a CSS file and dynamically include it with a <link> tag
> in my extension. The CSS file is created from a template and therefore
> has to be created on the fly. I would therefore probably just write it
> to typo3temp/. However, I want to make sure that I use the right kind
> of TS and API functions. What should I use to write to typo3temp/? How
> should I include the CSS properly? I have to be able to set the id of
> the link tag because I need to be able to disable the stylesheet in JS
> later.
>
> Any hints would be very much appreciated.
>
> Cheers,
> Christian



_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 04.10.2007, 13:32
Christopher Torgalson
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] CSS files dynamically created and included

Hi,

On 10/4/07, Peter Klein <peter (AT) umloud (DOT) dk> wrote:
> Hi Christian.
>
> How about using this one?
> http://typo3.org/extensions/reposito...amiccss/0.2.1/
>
> --
> Peter Klein/Umloud Untd
>
> "Christian Lerrahn (Cerebrum)" <christian.lerrahn (AT) cerebrum (DOT) com.au> skrev i
> en meddelelse
> news:mailman.1.1191482248.23223.typo3-english (AT) lists (DOT) netfielders.de...
> > Hi,
> > I want to create a CSS file and dynamically include it with a <link> tag
> > in my extension. The CSS file is created from a template and therefore
> > has to be created on the fly. I would therefore probably just write it
> > to typo3temp/. However, I want to make sure that I use the right kind
> > of TS and API functions. What should I use to write to typo3temp/? How
> > should I include the CSS properly? I have to be able to set the id of
> > the link tag because I need to be able to disable the stylesheet in JS
> > later.
> >
> > Any hints would be very much appreciated.




There is also a reasonably complete and detailed tutorial on how to
use TS and ordinary page records to create and serve dynamic CSS
sheets in the manual to my extension bh_firtools (as well as a
page-tree export in the extension itself) [1].


--
Christopher Torgalson
http://www.typo3apprentice.com/


[1] http://typo3.org/extensions/reposito...irtools/2.0.0/
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

Thema Autor Forum Antworten Letzter Beitrag
[TYPO3] lz_table could not be created Error David Banning typo3-english@lists.netfielders.de 3 26.09.2007 06:04
[TYPO3-ttnews] Related files - change maximum allowed files pernews item. Jurvtk typo3-project-tt-news@lists.netfielders.de 1 18.09.2007 20:35
[TYPO3] ttnews: Alter pid_list value dynamically Matyi Gábor typo3-english@lists.netfielders.de 0 14.08.2007 13:33
[TYPO3] how a js file is included inside a typo3 extention? tennyson varghese typo3-english@lists.netfielders.de 0 20.01.2007 07:20
[TYPO3] Content elements included allways into normal column -default language Jan Zýka typo3-english@lists.netfielders.de 1 06.12.2006 19:45


Alle Zeitangaben in WEZ +1. Es ist jetzt 07:43 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Template-Modifikationen durch TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75