JavaScript in Promo Block

Hey guys,

I was just trying to create a news slideshow in the promo block using javascript, the editor continues to strip my code though.  Is there a way to turn off the code cleanup or, is there a workaround to get true custom code for the promo block?

Thanks in advance

Chri

Quote · 4 Apr 2010

You can drop it directly into the index.html file where it has __promo_code__ or whatever (just replace it with your java/html coding) and that will accomplish the goal for you very easily.

Quote · 4 Apr 2010

Where is that HTML file located?  I can't seem to find the file that controls the homepage.

Quote · 4 Apr 2010

templates/tmpl_uni/index.html

Quote · 4 Apr 2010

There is no index.html file in templates/tmpl_uni  and all index files that I have found in the templates folder have this coding:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>.:&nbsp;:.</title>
</head>
<body>
&nbsp;
</body>
</html>

Quote · 4 Apr 2010

templates/base

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 4 Apr 2010

Try to find _header.html instead, should do the trick.

It is always good practice, using the template files instead of the base directory one's.

Quote · 4 Apr 2010

Like I said earlier, all of the index.html files in the templates folder contain just this code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>.:&nbsp;:.</title>
</head>
<body>
&nbsp;
</body>
</html>

the _header.html file doesn't contain the promo block either.

Quote · 4 Apr 2010

templates/base/page_1.html

https://www.deanbassett.com
Quote · 4 Apr 2010

if you don't wish to create a new template then, go to templates/base/page_1.html and do any needed changes there

Quote · 4 Apr 2010

Thanks gang!

Here's what I came up with:

http://www.networkedfilm.com

Quote · 5 Apr 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.