Loading...
 
Features / Usability

Features / Usability


Re: Re: Re: Has anyone added advertisement to their site?

posts: 24

Hey Rick,

When I paste the code in the html section of the banner, it adds an 'x' to 'script' after saving it. When I try using that banner, I can't since the x breaks the code. I've added a picture of what's happening, hopefully you or someone else can help.


Thanks

posts: 24

I'm using tiki12, but I had the same problem with my old version(9).

I tried deactivating Html purifier to see if there'd be a difference, same thing happened, is there a delay between deactivating it and for tiki to stop sanitizing codes? I'll try leaving it off for a while and see if it the code works, because I turned it back on after seeing nothing changed.

Also, whenever I paste the code in a module, I get this error message when I try assigning the module to a location(topbar etc.) " There is a problem with your custom module "Ads(Top Banner)": Syntax Error in template "71d2d6a5e946f7a563f7080688fa5a961f1135dd" on line 1 "{HTML()}" PHP function 'HTML' not allowed by security setting "

posts: 3665 United States
nitreb wrote:
Also, whenever I paste the code in a module, I get this error message when I try assigning the module to a location(topbar etc.) " There is a problem with your custom module "Ads(Top Banner)": Syntax Error in template "71d2d6a5e946f7a563f7080688fa5a961f1135dd" on line 1 "{HTML()}" PHP function 'HTML' not allowed by security setting "


Sounds like you forgot to enable the Must be wiki parsed option. You must enable it if you want to use a wiki plugin (i.e., {HTML}) in a plugin. You might find my primer helpful.

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: 24
HUGE thanks Rick, got it working. You were right I wasn't checking off the 'Must be wiki parsed' option.

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