via PayPal / credit card
Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
Hi. I've a problem with monoslideshow in a joomla site. I use a module of monoslideshow for all pages of the site. Everything works fine until I activate the SEO configuration, which is a function of joomla to make the web pages of the site friendly to search engines. When the funcion is on the slide doesn't work in the articles belonging to a menu linked to a section or a category. What can I do? Anyone can help me?
Thank you
Viggiu,
please post (in separate posts to make it easier to read) the (x)html code of an example page before and after the "optimization".
Christoph
I don't know how to post in separate post.
Viggiu,
I just meant: copy/paste the "before" code in one post, submit it, the copy/paste the "after" code in the next one, or if you want do it both in the same post.
Christoph
This is the before 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" xml:lang="it-it" lang="it-it" >
<head>
<title>Cucina siciliana, paradiso dei sensi-Siciliaoggi.it, arte, cultura e tradizioni di Sicilia</title>
<meta name="description" content="La cucina siciliana"/>
<meta name="robots" content="index" />
<meta name="keywords" content="cucina, sicilia, cannoli, norma, cassata" />
<meta name="author" content="Enzo Giusto" />
<meta name="title" content="Cucina siciliana, paradiso dei sensi-Siciliaoggi.it, arte, cultura e tradizioni di Sicilia" />
<link href="/templates/siteground-j15-38/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<script type="text/javascript" src="/media/system/js/mootools.js"></script>
<script type="text/javascript" src="/media/system/js/caption.js"></script>
<link rel="stylesheet" href="/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="/templates/siteground-j15-38/css/template.css" type="text/css" />
</head>
<body id="page_bg">
<div id="top">
<div class="pill_m">
<div id="pillmenu">
<ul id="mainlevel-nav"><li><a href="/index.php?option=com_content&view=frontpage&Itemid=59" class="mainlevel-nav" >Home</a></li><li><a href="/index.php?option=com_content&view=article&id=20&Itemid=54" class="mainlevel-nav" >La Sicilia</a></li><li><a href="/index.php?option=com_content&view=article&id=22&Itemid=29" class="mainlevel-nav" >Storia della Sicilia</a></li><li><a href="/index.php?option=com_content&view=article&id=44&Itemid=18" class="mainlevel-nav" >Tesori di Sicilia</a></li><li><a href="/index.php?option=com_content&view=article&id=45&Itemid=30" class="mainlevel-nav" >Terra d'incanti</a></li></ul>
</div>
</div>
</div>
<div id="header"><div style="width:430px; float: right; padding-top: 10px; padding-right: 50px;"><title>Monoslideshow 1.32 Example page</title>
<script type="text/javascript" src="/swfobject.js"></script>
</head>
<body>
<div id="monoSlideshow">
<p><strong>Please install Flash® and turn on Javascript.</strong></p>
</div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("monoslideshow.swf", "SOmonoSlideshow", "467", "199", "7", "#ffffff");
so.addVariable("dataFile", "monoslideshow5.xml");
so.write("monoSlideshow");
// ]]>
</script>
</body></div></div>
</div>
</div>
<div class="clr"></div>
<div class="center">
<div id="wrapper">
<div id="inner_shadows">
<div id="content">
<div id="leftcolumn">
<div class="module_menu">
<div>
<div>
<div>
This is the after 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" xml:lang="it-it" lang="it-it" >
<head>
<title>Cucina siciliana, paradiso dei sensi-Siciliaoggi.it, arte, cultura e tradizioni di Sicilia</title>
<base href="http://www.siciliaoggi.it/la-cucina-siciliana/70-cucina-siciliana.html" />
<meta name="description" content="La cucina siciliana"/>
<meta name="robots" content="index" />
<meta name="keywords" content="cucina, sicilia, cannoli, norma, cassata" />
<meta name="author" content="Enzo Giusto" />
<meta name="title" content="Cucina siciliana, paradiso dei sensi-Siciliaoggi.it, arte, cultura e tradizioni di Sicilia" />
<link href="/templates/siteground-j15-38/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<script type="text/javascript" src="/media/system/js/mootools.js"></script>
<script type="text/javascript" src="/media/system/js/caption.js"></script>
<link rel="stylesheet" href="/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="/templates/siteground-j15-38/css/template.css" type="text/css" />
</head>
<body id="page_bg">
<div id="top">
<div class="pill_m">
<div id="pillmenu">
<ul id="mainlevel-nav"><li><a href="/home.html" class="mainlevel-nav" >Home</a></li><li><a href="/la-sicilia.html" class="mainlevel-nav" >La Sicilia</a></li><li><a href="/storia-della-sicilia.html" class="mainlevel-nav" >Storia della Sicilia</a></li><li><a href="/tesori-di-sicilia.html" class="mainlevel-nav" >Tesori di Sicilia</a></li><li><a href="/terra-d-incanti.html" class="mainlevel-nav" >Terra d'incanti</a></li></ul>
</div>
</div>
</div>
<div id="header"><div style="width:430px; float: right; padding-top: 10px; padding-right: 50px;"><title>Monoslideshow 1.32 Example page</title>
<script type="text/javascript" src="/swfobject.js"></script>
</head>
<body>
<div id="monoSlideshow">
<p><strong>Please install Flash® and turn on Javascript.</strong></p>
</div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("monoslideshow.swf", "SOmonoSlideshow", "467", "199", "7", "#ffffff");
so.addVariable("dataFile", "monoslideshow5.xml");
so.write("monoSlideshow");
// ]]>
</script>
</body></div></div>
</div>
</div>
<div class="clr"></div>
<div class="center">
<div id="wrapper">
<div id="inner_shadows">
<div id="content">
<div id="leftcolumn">
<div class="module_menu">
<div>
<div>
<div>
Viggiu,
the initial call of swfobject.js needs to be placed in the head section, where it is in neither version of your code. Instead, you have two <code></head></code>tags which makes your page invaldid xhtml.
Also, you got two <code><body></code>tags in your xhtml, which really doesn't work either. I didn't count <code><div> and </div></code>, but in at least one instance the div is not being closed before you start a new body (I have to admit I'm surprised your code did work at all).
I think the problem has nothing to do with Monoslideshow, but with invalid markup. Clean up your "before" code, make it pass a validator, then run your optimization.
Hope this helps, Christoph
Thank you. I'll do it.
I cleaned all the code and now it passes the w3c validator, but the problem still occurs, as you can see by clicking on the following link:
http://www.siciliaoggi.it/index.php
Viggiu,
works fine with me - everything looks great. I really like the fade on the left side and the way you "roughened" the bottom.
Great job,
Christoph
Cristoph,
yes, it works fine, but if you click on an article the problem occurs. I really don't know what can I do.
Viggiu,
unfortunately I don't understand a single word of Italian, but here is what I see:
When I click on the red tabs in the upper right corner, everything continues to work.
When I click on e.g. Tradizioni e folklore, Monoslideshow is gone. What makes me wonder is: When I look at the source code, it is gone as well, so the problem is not a monoslideshow problem.
Do I understand your problem correctly?
Christoph
Cristoph,
When you click on Tradizioni e folklore, Monoslideshow is gone because I excluded it. Try to click on the articles in the homepage, say Turismo in Sicilia. You will soon realize that monoslideshow doesn't work, even if there is the source code. Try.
Viggiù
Viggiù,
we have the solution:
Instead of
<code>so.addVariable("dataFile", "monoslideshow4.xml");</code>
you need to write
<code>so.addVariable("dataFile", "../monoslideshow4.xml");</code>
as you put the xml one folder up (which works fine for the main page as it is a folder up as well).
Alternatively, you can put the xml file in the "turismo" folder and it should work without changing your code.
Let me know if that helped,
Christoph
Christoph,
sorry, it doesn't work. I Think the reason is that when I activate the SEO for the friendly url in Joomla Monoslideshow doesn't find the path. I suppose the only thing I can do is to activate the slide only in the main pages where it is sure it works. Anyway thank you for your support and if you find a solution to this problem let me know.
Viggiù
1 to 15 of 15