Problem with Phoca_template component

Phoca Gallery - image gallery extension
xstu25
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 13 Oct 2011, 19:34

Problem with Phoca_template component

Post by xstu25 »

Hello all.
Sorry about inappropriate section, but there is no section for Phoca_Template component !

I have a problem with phoca_template: I explain.

When I create or edit in the columns menu an HTML CONTENT, my html code is transformed.

Exemple: when I put

Code: Select all

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0" id="menuadmin" width="267" height="283"><param name="movie" value="http://www.eaubonnejudo.com/images/menuadmin.swf"><param name="bgcolor" value="#1C1C1C"><param name="quality" value="high"><param name="allowscriptaccess" value="samedomain"><embed type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" name="menuadmin" width="267" height="283" src="http://www.eaubonnejudo.com/images/menuadmin.swf" bgcolor="#1C1C1C" quality="high" swliveconnect="true" allowscriptaccess="samedomain"><noembed></noembed></embed></object>
when I save the code, it's transformed like this:

Code: Select all

<p>
	<param name="movie" value="http://www.eaubonnejudo.com/images/menuadmin.swf" /><param name="bgcolor" value="#1C1C1C" /><param name="quality" value="high" /><param name="allowscriptaccess" value="samedomain" /><noembed></noembed></p>
I have already create items without problem, but right now, I can't !

Help !

PS: I am admin with white list on Article option.
I use JoomlaCK editor, and when I change, it's the same.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem with Phoca_template component

Post by Jan »

Hi, these are security settings - to save safehtml content.

This attribute needs to be removed: filter="safehtml" in

Code: Select all

<field name="content" type="editor" filter="safehtml" buttons="true" hide="pagebreak,readmore" class="inputbox" label="COM_PHOCATEMPLATE_FIELD_DESCRIPTION_HTML_LABEL" description="COM_PHOCATEMPLATE_FIELD_DESCRIPTION_HTML_DESC" />
in
administrator\models\forms\phocatemplatecolumn.xml
But not sure, if there will be no conflicts in html output.

Jan
If you find Phoca extensions useful, please support the project
xstu25
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 13 Oct 2011, 19:34

Re: Problem with Phoca_template component

Post by xstu25 »

Found it on/administrator/components/com_phocatemplate/models/forms/

Nothing change after doing it....
xstu25
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 13 Oct 2011, 19:34

Re: Problem with Phoca_template component

Post by xstu25 »

I do It directly in PHPMYADMIN, and It Works...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem with Phoca_template component

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply