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
|
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. |
Where is that HTML file located? I can't seem to find the file that controls the homepage. |
templates/tmpl_uni/index.html |
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>.: :.</title> </head> <body> </body> </html>
|
My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
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.
|
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>.: :.</title> </head> <body> </body> </html>
the _header.html file doesn't contain the promo block either.
|
templates/base/page_1.html https://www.deanbassett.com |
if you don't wish to create a new template then, go to templates/base/page_1.html and do any needed changes there |
Thanks gang!
Here's what I came up with:
http://www.networkedfilm.com
|