<noscript> and {literal}
<noscript> and {literal}
Hello everyone.
I have a website with CMSMS version 1.9.4.3. I can not update it because my service provider has a base of very old data. But I have asked for a responsive template. I use a template that has CSS <noscript> stylesheet </ noscript> and does not work. I have written this code between {literal} {/ literal}, and does not work. Is there any solution?
A greeting and thanks
I have a website with CMSMS version 1.9.4.3. I can not update it because my service provider has a base of very old data. But I have asked for a responsive template. I use a template that has CSS <noscript> stylesheet </ noscript> and does not work. I have written this code between {literal} {/ literal}, and does not work. Is there any solution?
A greeting and thanks
Re: <noscript> and {literal}
Please paste the relevant part of the template here and the output (html/page source).and does not work
Link to the page could be helpful too.
Re: <noscript> and {literal}
oK,
http://personal.us.es/jarvaz/index.php
If you look at the source code on the web, you'll see that does not work stylesheets
code template:
{process_pagedata}
<!DOCTYPE HTML>
<!--
TXT by HTML5 UP
html5up.net | @n33co
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<__html>
<head>
<title>{title}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
{metadata}
<!--[if lte IE 8]><__script__ src="uploads/plantilla/css/ie/html5shiv.js"></__script><![endif]-->
<__script__ src="uploads/plantilla/js/jquery.min.js"></__script>
<__script__ src="uploads/plantilla/js/jquery.dropotron.min.js"></__script>
<__script__ src="uploads/plantilla/js/skel.min.js"></__script>
<__script__ src="uploads/plantilla/js/skel-layers.min.js"></__script>
<__script__ src="uploads/plantilla/js/init.js"></__script>
{literal}
<noscript>
<link rel="stylesheet" href="uploads/plantilla/css/skel.css" />
<link rel="stylesheet" href="uploads/plantilla/css/style.css" />
<link rel="stylesheet" href="uploads/plantilla/css/style-desktop.css" />
</noscript>
{/literal}
<!--[if lte IE 8]><link rel="stylesheet" href="uploads/plantilla/css/ie/v8.css" /><![endif]-->
</head>
...
http://personal.us.es/jarvaz/index.php
If you look at the source code on the web, you'll see that does not work stylesheets
code template:
{process_pagedata}
<!DOCTYPE HTML>
<!--
TXT by HTML5 UP
html5up.net | @n33co
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<__html>
<head>
<title>{title}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
{metadata}
<!--[if lte IE 8]><__script__ src="uploads/plantilla/css/ie/html5shiv.js"></__script><![endif]-->
<__script__ src="uploads/plantilla/js/jquery.min.js"></__script>
<__script__ src="uploads/plantilla/js/jquery.dropotron.min.js"></__script>
<__script__ src="uploads/plantilla/js/skel.min.js"></__script>
<__script__ src="uploads/plantilla/js/skel-layers.min.js"></__script>
<__script__ src="uploads/plantilla/js/init.js"></__script>
{literal}
<noscript>
<link rel="stylesheet" href="uploads/plantilla/css/skel.css" />
<link rel="stylesheet" href="uploads/plantilla/css/style.css" />
<link rel="stylesheet" href="uploads/plantilla/css/style-desktop.css" />
</noscript>
{/literal}
<!--[if lte IE 8]><link rel="stylesheet" href="uploads/plantilla/css/ie/v8.css" /><![endif]-->
</head>
...
Re: <noscript> and {literal}
< noscript >whatever you want to show to browsers without Javascript < /noscript >....
if you move the stylesheet outside of the noscript it works...
http://www.w3schools.com/tags/tag_noscript.asp
if you move the stylesheet outside of the noscript it works...
http://www.w3schools.com/tags/tag_noscript.asp
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: <noscript> and {literal}
What Jo says plus you don't need the {literal} tags
Re: <noscript> and {literal}
If I remove {literal} stylesheet works, but I have my website in responsive mode, to make it look properly on mobile and tablets
Re: <noscript> and {literal}
CMSMS is not a magic thing; in the end it outputs html, css and javascript which your browser needs to interpret/render. Nothing more, nothing less.
So, if you see some output in the page source like you expect, cmsms did the job well.
That it doesn't work in your browser is not caused by cmsms.
I can't see how <noscript>, {literal} and css in this case are related.
You only need {literal} if you want to use { and } in the template or content. In your case you do NOT need it.
<noscript> does not seem needed too. I don't see why you are using that tag. It surely has nothing to do with the responsiveness of a website. That should be taken care of by your stylesheets and maybe some javascript.
Please read about the basics of html and responsive websites.
Personally I always build a static webpage to start with. If that works like I want it to I start to implement cmsms.
So, if you see some output in the page source like you expect, cmsms did the job well.
That it doesn't work in your browser is not caused by cmsms.
I can't see how <noscript>, {literal} and css in this case are related.
You only need {literal} if you want to use { and } in the template or content. In your case you do NOT need it.
<noscript> does not seem needed too. I don't see why you are using that tag. It surely has nothing to do with the responsiveness of a website. That should be taken care of by your stylesheets and maybe some javascript.
Please read about the basics of html and responsive websites.
Personally I always build a static webpage to start with. If that works like I want it to I start to implement cmsms.
Re: <noscript> and {literal}
Thanks for your answers.
The template works fine statically.
I got it here: http://html5up.net/txt, and my code is the same as the template. Everything is perfect except navigation and mobile tablets.
I think the problem is that the version I have does not support html5 CMSMS. I can not do anything with my server, work in a public institution and MySQL I get is old.
Again, thank you very much
The template works fine statically.
I got it here: http://html5up.net/txt, and my code is the same as the template. Everything is perfect except navigation and mobile tablets.
I think the problem is that the version I have does not support html5 CMSMS. I can not do anything with my server, work in a public institution and MySQL I get is old.
Again, thank you very much
Re: <noscript> and {literal}
Well you need to understand what you are doing, and have the proper tools to debug what might be wrong. For instance I think that your Javascript files expect to find the stylesheet files in one place and you moved them to another. I would look for hardcoded paths for the stylesheet files on the javascript files and update them as they must be still pointing to the default location.jarvaz wrote:The template works fine statically.
I got it here: http://html5up.net/txt, and my code is the same as the template. Everything is perfect except navigation and mobile tablets.
I think the problem is that the version I have does not support html5 CMSMS. I can not do anything with my server, work in a public institution and MySQL I get is old.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: <noscript> and {literal}
No matter how old the versions of CMSms and MySQL are, they just output text they don't care what it is it could be XML, JSON, HTML (any form), or War and Peace.jarvaz wrote: I think the problem is that the version I have does not support html5 CMSMS. I can not do anything with my server, work in a public institution and MySQL I get is old.
Again, thank you very much
Sounds like you don't know what you are doing and you are blaming the tools instead of learning how to use them properly.
Re: <noscript> and {literal}
Ok, it works now. The problem was in the js. Thanks