Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
[Solved] txp:css on txp v4.7.2
I was looking at the docs and found no new tags for calling the flat css. Testing <txp:css format="link" name="print" media="print" format="flat.css" />
did not work. Is there a way?
Got it… It should be <link rel="stylesheet" media="print" href="<txp:css format="url" name="print" />" />
… I’ll add it to the docs.
Last edited by colak (2018-12-24 19:18:11)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: [Solved] txp:css on txp v4.7.2
Or just <txp:css name="print" media="print" format="flat.link" />
?
Offline
Re: [Solved] txp:css on txp v4.7.2
etc wrote #315722:
Or just
<txp:css name="print" media="print" format="flat.link" />
?
That’s even nicer!!! I’ll use that in the docs!!
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: [Solved] txp:css on txp v4.7.2
etc wrote #315722:
Or just
<txp:css name="print" media="print" format="flat.link" />
?
That only returns the url of the css but not the rest of the <link rel="stylesheet" ...
code. In my install, there seems to be no difference in the parsing of
<txp:css name="print" media="print" format="flat.link" />
and
<txp:css name="print" media="print" format="url" />
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: [Solved] txp:css on txp v4.7.2
That’s what I get:
<link rel="stylesheet" media="print" href="http://localhost/textpattern/themes/four-point-seven/styles/print.css" />
Offline
Re: [Solved] txp:css on txp v4.7.2
It’s Christmas day and I feel bad writing in the forum, especially for minor issues.
I have added
<!-- <txp:css name="print" media="print" format="flat.link" /> -->
<!-- <txp:css name="print" media="print" format="url" /> -->
and I get
<!-- http://www.neme.org/css/neme960/print.css -->
<!-- http://www.neme.org/css/neme960/print.css -->
both visible in the head of my site.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: [Solved] txp:css on txp v4.7.2
hmmm maybe it is rvm_css messing with it. I’ll check.
Got it!! with the plugin disabled I get
<!-- <link rel="stylesheet" media="print" href="http://www.neme.org/themes/neme960/styles/print.css" />
-->
<!-- http://www.neme.org/css.php?n=print&t=neme960 -->
All’s good.
Last edited by colak (2018-12-25 19:34:44)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Offline
Re: [Solved] txp:css on txp v4.7.2
etc wrote #315733:
I thought it wasn’t in use any more :-) Merry Christmas to all.
I’m still in the process of phasing it out. i’ve been using the plugin since it came out. I’m now dealing with the foreseeable and imitable separation trauma:)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Pages: 1