Script

Gesperrt
ilias
Beiträge: 90
Registriert: Di 13. Nov 2007, 11:49
Wohnort: Greece
Kontaktdaten:

Script

Beitrag von ilias »

Is there any module to insert script code by an editor??
I use text editor but nothing.
I use another module after searching in the forum but i have the below message:
0
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, cgiadmin@yourhostingaccount.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Spider IT
Beiträge: 1416
Registriert: Fr 3. Dez 2004, 10:15

Re: Script

Beitrag von Spider IT »

Hi,

you can use this module for it.

Kind regards
René
Dateianhänge
HTML-Code.zip
(396 Bytes) 198-mal heruntergeladen
ilias
Beiträge: 90
Registriert: Di 13. Nov 2007, 11:49
Wohnort: Greece
Kontaktdaten:

Re: Script

Beitrag von ilias »

Dear Sprider,
thanks for the quick reply. This module i use.
But i have this problem.

http://www.24hrooms.com/front_content.php?idart=174

My version is 4.8.18.
I do not know if this is the problem.
Please check it.
Spider IT
Beiträge: 1416
Registriert: Fr 3. Dez 2004, 10:15

Re: Script

Beitrag von Spider IT »

Are you using double quotes in the HTML code?
If so, please replace them with single quotes and try again.

Kind regards
René
Spider IT
Beiträge: 1416
Registriert: Fr 3. Dez 2004, 10:15

Re: Script

Beitrag von Spider IT »

I just tested the module again, you can use double quotes as well.

Test entry (both double and single quotes used):

Code: Alles auswählen

<script type="text/javascript">
//<![CDATA[
    alert('Hello World');
//]]>
</script>
Result: http://www.webseiten-und-so.de/Test/HTML-Code.html

Kind regards
René
ilias
Beiträge: 90
Registriert: Di 13. Nov 2007, 11:49
Wohnort: Greece
Kontaktdaten:

Re: Script

Beitrag von ilias »

Dear Rene,
you are right. I use this modules on 6 articles.
It is everything ok on 3.
On the other 3, it shows the message of the problem.
Now, i doubled the module and i change the value of zero (0) to one (1).
I hope it plays now

Best Regards
Ilias
Spider IT
Beiträge: 1416
Registriert: Fr 3. Dez 2004, 10:15

Re: Script

Beitrag von Spider IT »

Well, if it works on 3 articles, then the problem won't have anything to do with this module.
Remove the module from the template and see if the page then shows, and if not, remove other modules until you find the one causing the problem.

Kind regards
René
ilias
Beiträge: 90
Registriert: Di 13. Nov 2007, 11:49
Wohnort: Greece
Kontaktdaten:

Re: Script

Beitrag von ilias »

I all ready did it.
When i change on configuration the template it is ok.
When i use the template with script, i have the problem.

Best Regards
lias
Spider IT
Beiträge: 1416
Registriert: Fr 3. Dez 2004, 10:15

Re: Script

Beitrag von Spider IT »

Don't exchange the template, take the module out of it.
There might be other differences between the templates.

Kind regards
René
ilias
Beiträge: 90
Registriert: Di 13. Nov 2007, 11:49
Wohnort: Greece
Kontaktdaten:

Re: Script

Beitrag von ilias »

Also, i did it and the problem still exists.
I must delete the article. Probably, something else is the problem.
Something makes the conflict.

Best Regards
Ilias
Gesperrt