Page 1 of 1

Upgrading and problems with Stylesheets.

Posted: Tue Nov 19, 2013 8:32 pm
by Wobbly
I have CMS based on CMSMS made by company which makes websites. I wanted to change hosting but I failed and decided to move on original CMSMS by copying templates. When I've done that I realized that I have to change {stylesheet} to {cms_stylesheet}. When I did that, my site finally opened but it seems that stylesheet is not working. Draft here: http://amk.retardo.pl

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
<head>
  <title>{sitename} - {title}</title>

  {metadata}
{cms_stylesheet}
<__script__ src="uploads/js/Spry/widgets/textareavalidation/SpryValidationTextarea.js" type="text/javascript"></__script>
<__script__ src="uploads/js/Spry/widgets/textfieldvalidation/SpryValidationTextField.js" type="text/javascript"></__script>
<__script__ type="text/javascript" src="uploads/js/blank.js"></__script>
</head>
 </__body id="{alias}">
<div id="wrapper">
    
    <!--CONTENT-->
    <div id="content">


          <div id="sub">
            <h1><a href="index.php"><span>{sitename}</span></a></h1>
            {menu template='image_menu.tpl'}
            
            <h2>Aktualności</h2>
            {news number='10' detailpage='aktualnosci' moretext="[ czytaj więcej ]"}
            
            {search resultpage="wyszukiwarka"}
          </div>
          

          <div class="top_pic">
          </div>

          <div id="main">
            <h2>{title}</h2>
            
            {content}
            
          </div>

      <div class="blue_box">
            <div><div class="box_picture"></div></div>
            <div class="blue_box_bg">
              {global_content name='stronaglownabox'}
            </div>
          </div>
          
    </div>
    <!--CONTENT-->
    
</div>

<!--FOOTER-->
<div id="footer">
    {menu number_of_levels="1"}
    <p>Copyright &copy; 2008 <a href="http://netart.pl" title="Domeny, Serwery, Hosting, Serwisy WWW">NetArt</a></p>
</div>
<!--FOOTER-->
 <__body>
</__html>

Re: Upgrading and problems with Stylesheets.

Posted: Tue Nov 19, 2013 9:22 pm
by Dr.CSS
It isn't throwing any errors but I would look at the template again to make sure it is in there with no { cms_stylesheet } spaces in it or ?...

Re: Upgrading and problems with Stylesheets.

Posted: Tue Nov 19, 2013 9:43 pm
by Wobbly
There are no spaces or question marks.

Re: Upgrading and problems with Stylesheets.

Posted: Wed Nov 20, 2013 6:03 pm
by rotezecke
do you have a stylesheet associated with that template?

where does the <!--[if IE]> stuff come from, and the IE stylesheet?

Re: Upgrading and problems with Stylesheets.

Posted: Fri Nov 22, 2013 6:13 pm
by Wishbone
define "stylesheet not working"

Do you see the stylesheet calls when you "view source" ?