SAFARI not understand {literal} {/ literal} ?

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
natmx
Forum Members
Forum Members
Posts: 28
Joined: Thu Dec 06, 2007 7:58 am

SAFARI not understand {literal} {/ literal} ?

Post by natmx »

Is it possible that SAFARI not understand {literal} {/ literal} ?

Code: Select all

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Cazenove Architectes !! Site en construction !!</title>

<__script__ type='text/javascript' src="http://www.cazenove-architectes.com/jscrollpane/jquery-1.2.1.min.js"></__script>
<__script__ type='text/javascript' src="http://www.cazenove-architectes.com/jscrollpane/jquery.dimensions.js"></__script>
<__script__ type='text/javascript' src="http://www.cazenove-architectes.com/jscrollpane/jquery.mousewheel.min.js"></__script>
<__script__ type='text/javascript' src="http://www.cazenove-architectes.com/jscrollpane/jScrollPane.min.js"></__script

{literal}
<__script__ type="text/javascript">
			$(function()
			{
				// this initialises the scrollpanes on the page.
				$('#mycustomscroll').jScrollPane();
				});
</__script>
{/literal}

{stylesheet}
{metadata}

</head>

</__body>

<!-- tableau une cellulle pour le centrage vertical du site --> 

<table id="page-table"><tr><td id="page-td">

<!-- design global du site-->

<div id="global">

  <!-- ici le header-->
  <div id="header"> 
    <div id="logo"> 
      <object type="application/x-shockwave-flash" data="uploads/images/logo.swf" width="154" height="91">
        <param name="movie" value="../uploads/images/logo.swf" />
        <param name="menu" value="false" />
        <param name="quality" value="high" />
		<img src="images/logo-cazenove-blanc.jpg" alt="logotype Cazenove" />
      </object>
	  
    </div><!-- fin div logo-->

	
    <div id="menu_horiz_2">
         {menu template=' header_link_to_child_dont_show_children' collapse='1'}
      </div><!-- fin div menu_horiz_2-->
	
  </div><!-- fin div header-->
	 
	<!-- ici la zone centrale -->

           <!-- les zones de texte ?  gauche -->
<div  id="conteneur-centre"  >

<div id='jScrollPaneContainer' class="jScrollPaneContainer">
     <div id='mycustomscroll' class="scroll-pane">
              {content}
    </div> <!-- fin div mycustomscroll-->
</div> <!-- fin div jscrollpanecontainer-->

<!-- le diaporama -->
         <div id="diaporama">
    <object type="application/x-shockwave-flash" data="uploads/images/diaporama-accueil/diapo-accueil.swf" width="500" height="270">
        <param name="movie" value="../uploads/images/diaporama-accueil/diapo-accueil.swf" />
        <param name="menu" value="false" />
        <param name="quality" value="high" />
	<img src="" alt="Diaporama pr�sentant les projets r�alis�s par Cazenove architectes." />
      </object>
         </div> <!-- fin div diaporama-->

         <!-- les zones de texte -->

         <div id="colonne03">
        {content block="Second Content Block"}
         </div> <!-- fin div colonna03-->
 
   <div id="colonne02">
<object type="application/x-shockwave-flash" data="uploads/images/fleche-habitat.swf" width="151" height="73">
        <param name="movie" value="../uploads/images/fleche-habitat.swf" />
        <param name="menu" value="false" />
        <param name="quality" value="high" />
		<img src="uploads/images/fleche-retour.jpg" alt="fleche retour au sommaire" />
      </object>
         </div> <!-- fin div colonne 02-->
   
 </div> <!-- fin div conteneur centre-->
  
  <!-- ici le pied de page-->
  
  <div id="footer">
	  <ul class="lienfooter">
	  <li><a href="http://www.ntild.com" target="_blank">Webdesign by NTild.com</a></li>
	  </ul>
   </div> <!-- fin div footer-->
  
</div> <!-- fin div global-->

</td></tr></table> <!-- fin du tableau-->

<__body>
</__html>
In a basic xhtml/css website, it works with SAFARI.
But once CMSMS integrated, it does not work !
If you have an idea ?  ???
petrangr

Re: SAFARI not understand {literal} {/ literal} ?

Post by petrangr »

I have the same problem here: http://glazaros.com/index.php, it works fine in a static html but when i insert it on a template it doesnt!!!
tobik
Translator
Translator
Posts: 149
Joined: Thu Aug 16, 2007 6:18 pm

Re: SAFARI not understand {literal} {/ literal} ?

Post by tobik »

{literal} is a smarty modifier. The modifiers are handled on the server. It will not being transfered to the browser.
laits
Forum Members
Forum Members
Posts: 50
Joined: Thu Sep 04, 2008 11:21 pm

Re: SAFARI not understand {literal} {/ literal} ?

Post by laits »

Did anyone come up with why this happens?

I'm looking for a solution, I notice glazaros is working fine now on both ff and safari.
alby

Re: SAFARI not understand {literal} {/ literal} ?

Post by alby »

laits wrote: Did anyone come up with why this happens?
What happen exactly?
As tobik said smarty tags and browsers are indipendent ....

Alby
laits
Forum Members
Forum Members
Posts: 50
Joined: Thu Sep 04, 2008 11:21 pm

Re: SAFARI not understand {literal} {/ literal} ?

Post by laits »

So sorry,

False alarm, in ff and i.e. it worked without {literal} tags around my script links, but not safari. Upon encompassing all scripts with {literal} tags, everything fine in all browsers.

School boy error!  :)
Post Reply

Return to “Layout and Design (CSS & HTML)”