block stripping css code
can you include css code in a block? my blocks seem to strip my tags from a block whenever i publish it. Tried using the <!--#START-CODE #END-CODE-->, but still strips it.
Discussions are closed to public comments.
If you need help with Cascade CMS please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Ryan Griffith on 01 Aug, 2012 01:58 PM
Hi fuelishways,
Just a few questions to see if we can narrow this down a bit:
<style type="text/css">
tag to an XHTML Block?Please let us know if you have any questions.
Thanks.
2 Posted by Ryan Griffith on 10 Aug, 2012 08:09 PM
Hi fuelishways,
Just wanted to follow up to see if you had a chance to view my recent comment.
Please let us know if you have any questions.
Thanks.
Ryan Griffith closed this discussion on 20 Aug, 2012 12:58 PM.
fuelishways re-opened this discussion on 05 Sep, 2012 03:51 AM
3 Posted by fuelishways on 05 Sep, 2012 03:51 AM
ryan, we are on v7.0.3; I do have the style type declared; the CSS is being removed after publish. it looks fine in cascade server.
I've attached a screenshot of the block.
4 Posted by Ryan Griffith on 05 Sep, 2012 12:20 PM
Hm, I was able to get this to work on my local instance of Cascade 7.0.3.
Perhaps your Format is stripping out the formatting that is added to the Structured Block. Can you attach the Format you are using to output the Structured Block to the page?
5 Posted by Ryan Griffith on 20 Sep, 2012 06:16 PM
Hi,
Just wanted to follow up to see if you had a chance to view my recent comment. Were you able to get the CSS published?
Please let us know if you have any questions.
Thanks.
6 Posted by fuelishways on 21 Sep, 2012 03:15 AM
i think i've got it figured out. for some reason it doesn't like to have two sets of <style> tags in the same file. it stripped the first set, but left the second set. so i just added the styles in the first set to the second...probably how it should have been in the first place!
7 Posted by Ryan Griffith on 21 Sep, 2012 12:58 PM
Interesting, but glad to hear that you got things working!
I'm going to go ahead and close this discussion, please feel free to reply or comment to re-open this discussion if you have any additional questions.
Thanks.
Ryan Griffith closed this discussion on 21 Sep, 2012 12:58 PM.