Loading...
 
Features / Usability

Features / Usability


posts: 4656 Japan

Hi,

It looks like something might have gotten stripped from your message by the security sanitizer , so it isn't clear what Tiki inserts that breaks the page. Can you describe that without using syntax?

I haven't used the HTML page feature in a long time as I normally just use wiki pages and either use the HTML Plugin or turn on HTML for the page. Anyway, I made a test page with the HTML code at the w3schools.com link. I didn't paste in the HTML head or footer elements, just the body elements in div class="w3-content w3-margin-top" . The page functions normally, although of course it isn't laid out or styled correctly because it's missing the necessary CSS.

If I add a "style" statement in the page, it becomes "st < x > yle" (spaces added so it will display). This is the sanitizer at work (and sometimes really frustrating to me too), breaking the inline tag because of its security vulnerability. To get around this I would add the CSS in the Look & Feel admin page's Customization section instead. Is this similar to your case?

-- Gary


posts: 53 Australia

That's it exactly! the < x > is added in.
I don't know a lot about CSS yet (still learning). If I add the CSS to the Look and Feel page, will that change every page? I only want it to apply to one page at this time.

Thanks


posts: 3665 United States
If I add the CSS to the Look and Feel page, will that change every page? I only want it to apply to one page at this time.
You can make the CSS on the Look & Feel page conditional, based on the page name.


Something similar to this should work:

Copy to clipboard
{if $page eq 'myPageName'} add your css here {/if}


HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.
posts: 53 Australia
Sounds great, thanks :-)

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting