Page 1 of 1
					
				[solved] Arty template and 1.11.4 upgrade
				Posted: Fri Dec 28, 2012 10:04 pm
				by echobrin
				I had the same problem as some others with the update to 1.11.4 (deprecated stylesheet tag) and was able to get everything working on all of my sites except one that uses the Arty template. I replaced {stylesheet} with {cms_stylesheet} and fixed the image calls to include [[root_url]], and it works fine in 1.11.3. But when I update to 1.11.4, I'm not getting any styling in the frontend.
Thanks for suggestions!
			 
			
					
				Re: Arty template and 1.11.4 upgrade
				Posted: Tue Jan 08, 2013 8:04 am
				by Rolf
				Cleared cache?
			 
			
					
				Re: Arty template and 1.11.4 upgrade
				Posted: Tue Jan 08, 2013 12:49 pm
				by echobrin
				Yes, tried that, thanks.
			 
			
					
				Re: Arty template and 1.11.4 upgrade
				Posted: Tue Jan 08, 2013 1:33 pm
				by Rolf
				echobrin wrote:Yes, tried that, thanks.
And it worked?
 
			
					
				Re: Arty template and 1.11.4 upgrade
				Posted: Tue Jan 08, 2013 1:47 pm
				by echobrin
				Sorry for my ambiguous answer! No, clearing the cache did not work.
There's a call to a javascript in the template, and I wonder if that is part of the problem:
Code: Select all
    {literal}
    <__script__ type="text/javascript" src="uploads/Arty_FFN/script.js"></__script>    
   
   {/literal}
Using [[root_url]] here didn't work (I guess because of the literal tags), but I also tried putting in the full website address, and that didn't help either.
 
			
					
				Re: Arty template and 1.11.4 upgrade
				Posted: Tue Jan 08, 2013 1:59 pm
				by Rolf
				You have a link to the site?
			 
			
					
				Re: Arty template and 1.11.4 upgrade
				Posted: Tue Jan 08, 2013 3:44 pm
				by echobrin
				I created a copy of the site in a subdirectory of the main site so that I could show you the problem without disabling the live site. However, when I upgraded the test site, it worked fine!
I don't want to apply the upgrade to the live site because it will break, so I'm not sure if these links will help, but I'll include them anyway:
Test site in subdirectory, works fine with 1.11.4:
http://furryfriendsnetwork.com/test/index.php
Live site, currently using 1.11.3, loses all style info when I update to 1.11.4:
http://furryfriendsnetwork.com/
Template:
Code: Select all
{process_pagedata}
<!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" dir="ltr" lang="en-US" xml:lang="en">
<head>
  {if isset($canonical)}<link rel="canonical" href="{$canonical}" />{elseif isset($content_obj)}<link rel="canonical" href="{$content_obj->GetURL()}" />{/if}
   
    <title>{sitename} - {title}</title>
   
    {metadata}
   
    {cms_stylesheet}
   
    {literal}
    <__script__ type="text/javascript" src="uploads/Arty_FFN/script.js"></__script>    
   
   {/literal}
<!--[if lte IE 7]>{cms_stylesheet name='ie6'}<![endif]-->
<!--[if lte IE 6]>{cms_stylesheet name='ie7'}<![endif]-->
   {cms_selflink dir="start" rellink=1}
   {cms_selflink dir="prev" rellink=1}
   {cms_selflink dir="next" rellink=1}
   {* Relational links for interconnections between pages *}
</head>
<div class="PageBackgroundSimpleGradient">
    </div>
    <div class="Main">
        <div class="Sheet">
            <div class="Sheet-tl"></div>
            <div class="Sheet-tr"><div></div></div>
            <div class="Sheet-bl"><div></div></div>
            <div class="Sheet-br"><div></div></div>
            <div class="Sheet-tc"><div></div></div>
            <div class="Sheet-bc"><div></div></div>
            <div class="Sheet-cl"><div></div></div>
            <div class="Sheet-cr"><div></div></div>
            <div class="Sheet-cc"></div>
            <div class="Sheet-body">
              <div class="Header">
                    <div class="Header-png"></div>
                    <div class="Header-jpeg"></div>
                    <div class="logo">
                        
                    </div>
                </div>
                 <div class="nav">
   {menu template='Arty : smarty' excludeprefix="help" }
                        <div class="l">
                    </div>
                    <div class="r">
                        <div>
                   
                        </div>
                    </div>
                </div>
                <div class="contentLayout">
                    <div class="sidebar1">
                        <div class="Block">
                            <div class="Block-tl"></div>
                            <div class="Block-tr"><div></div></div>
                            <div class="Block-bl"><div></div></div>
                            <div class="Block-br"><div></div></div>
                            <div class="Block-tc"><div></div></div>
                            <div class="Block-bc"><div></div></div>
                            <div class="Block-cl"><div></div></div>
                            <div class="Block-cr"><div></div></div>
                            <div class="Block-cc"></div>
                            <div class="Block-body">
                                <div class="BlockHeader">
                                    <div class="header-tag-icon">
                                        <div class="BlockHeader-text">
                                           Search
                                        </div>
                                    </div>
                                    <div class="l"></div>
                                    <div class="r"><div></div></div>
                                </div>
                                <div class="BlockContent">
                                    <div class="BlockContent-body">
                                        <div>  
  {search searchtext=""}
</div>
                                    </div>
                                </div>
                            </div>
                        </div>
<div class="Block">
                            <div class="Block-tl"></div>
                            <div class="Block-tr"><div></div></div>
                            <div class="Block-bl"><div></div></div>
                            <div class="Block-br"><div></div></div>
                            <div class="Block-tc"><div></div></div>
                            <div class="Block-bc"><div></div></div>
                            <div class="Block-cl"><div></div></div>
                            <div class="Block-cr"><div></div></div>
                            <div class="Block-cc"></div>
                            <div class="Block-body">
                                <div class="BlockHeader">
                                    <div class="header-tag-icon">
                                        <div class="BlockHeader-text">
                                           Featured Pet
                                        </div>
                                    </div>
                                    <div class="l"></div>
                                    <div class="r"><div></div></div>
                                </div>
                                <div class="BlockContent">
                                    <div class="BlockContent-body">
                                        <div>  
  {global_content name='Featured Pet'}
</div>
                                    </div>
                                </div>
                            </div>
                        </div>
                       
                      <div class="Block">
                            <div class="Block-tl"></div>
                            <div class="Block-tr"><div></div></div>
                            <div class="Block-bl"><div></div></div>
                            <div class="Block-br"><div></div></div>
                            <div class="Block-tc"><div></div></div>
                            <div class="Block-bc"><div></div></div>
                            <div class="Block-cl"><div></div></div>
                            <div class="Block-cr"><div></div></div>
                            <div class="Block-cc"></div>
                            <div class="Block-body">
                                <div class="BlockHeader">
                                    <div class="header-tag-icon">
                                        <div class="BlockHeader-text">
                                            Contact Info
                                        </div>
                                    </div>
                                    <div class="l"></div>
                                    <div class="r"><div></div></div>
                                </div>
                                <div class="BlockContent">
                                    <div class="BlockContent-body">
                                         {global_content name='Contact Info'}
                                    </div>
                                </div>
                            </div>
                        </div>
{global_content name='every-quote-gives-hope'}
{global_content name='firstgiving'}
</div>
                    <div class="content">
                        <div class="Post">
                            <div class="Post-tl"></div>
                            <div class="Post-tr"><div></div></div>
                            <div class="Post-bl"><div></div></div>
                            <div class="Post-br"><div></div></div>
                            <div class="Post-tc"><div></div></div>
                            <div class="Post-bc"><div></div></div>
                            <div class="Post-cl"><div></div></div>
                            <div class="Post-cr"><div></div></div>
                            <div class="Post-cc"></div>
                            <div class="Post-body">
                        <div class="Post-inner">
                           <h2 class="PostHeaderIcon-wrapper"> <span
 class="PostHeader">{title}</span> </h2>
<div class="PostContent"> <br />
<div class="breadcrumbs">{breadcrumbs starttext="You are here"}</div>
{content}
</div>
<div class="cleared"></div>
</div>
</div>
</div>
</div>
</div>
<div class="cleared"></div>
<div class="Footer">
<div class="Footer-inner">
<div class="Footer-text">
{global_content name='footer'}
</div>
</div>
<div class="Footer-background"></div>
</div>
</div>
</div>
<div class="cleared"></div>
<p class="page-footer"><a href="http://www.echobrin.com">Echo-Brin Acres Web Design</a></p>
</div>
<__body>
</__html>
 
			
					
				Re: Arty template and 1.11.4 upgrade
				Posted: Tue Jan 08, 2013 4:53 pm
				by Jo Morg
				echobrin wrote:
There's a call to a javascript in the template, and I wonder if that is part of the problem:
Code: Select all
    {literal}
    <__script__ type="text/javascript" src="uploads/Arty_FFN/script.js"></__script>    
   
   {/literal}
Using [[root_url]] here didn't work (I guess because of the literal tags), but I also tried putting in the full website address, and that didn't help either.
 
 This bit seems to be right as is. The browser finds the file, so that shouldn't be the problem. I believe it is a cache issue, as the test site did upgrade with success, but that is just my opinion...
 
			
					
				Re: Arty template and 1.11.4 upgrade
				Posted: Tue Jan 08, 2013 5:15 pm
				by echobrin
				You were both right. I tried tried clearing the cache again and this time it worked. Thanks for sticking with me! I appreciate it.
			 
			
					
				Re: Arty template and 1.11.4 upgrade
				Posted: Tue Jan 08, 2013 9:49 pm
				by Rolf
				Nice that it works now!
Please add [solved] to the title of your first post.
Thx. Rolf
			 
			
					
				Re: [solved] Arty template and 1.11.4 upgrade
				Posted: Sun Jan 20, 2013 4:31 pm
				by gully
				
</head>
<div class="PageBackgroundSimpleGradient">
    </div>
    <div class="Main">
How are you handling the </__body> ?
 
			
					
				Re: [solved] Arty template and 1.11.4 upgrade
				Posted: Sun Jan 20, 2013 6:18 pm
				by echobrin
				Hmm... good question. I checked the original Arty template and there is no </__body> tag. Seems to work without it.
			 
			
					
				Re: [solved] Arty template and 1.11.4 upgrade
				Posted: Thu Jan 31, 2013 8:19 pm
				by Dr.CSS