[solved] Arty template and 1.11.4 upgrade
[solved] Arty template and 1.11.4 upgrade
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!
			
			
													Thanks for suggestions!
					Last edited by echobrin on Tue Jan 08, 2013 10:15 pm, edited 1 time in total.
									
			
						
										
						Re: Arty template and 1.11.4 upgrade
Cleared cache?
			
			
									
						
							- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Arty template and 1.11.4 upgrade
Yes, tried that, thanks.
			
			
									
						
										
						Re: Arty template and 1.11.4 upgrade
And it worked?echobrin wrote:Yes, tried that, thanks.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Arty template and 1.11.4 upgrade
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:
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.
			
			
									
						
										
						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}Re: Arty template and 1.11.4 upgrade
You have a link to the site?
			
			
									
						
							- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Arty template and 1.11.4 upgrade
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:
			
			
									
						
										
						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
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...echobrin wrote: There's a call to a javascript in the template, and I wonder if that is part of the problem:
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.Code: Select all
{literal} <__script__ type="text/javascript" src="uploads/Arty_FFN/script.js"></__script> {/literal}
"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: Arty template and 1.11.4 upgrade
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
Nice that it works now!
Please add [solved] to the title of your first post.
Thx. Rolf
			
			
									
						
							Please add [solved] to the title of your first post.
Thx. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: [solved] Arty template and 1.11.4 upgrade
How are you handling the </__body> ?</head>
<div class="PageBackgroundSimpleGradient">
</div>
<div class="Main">
Re: [solved] Arty template and 1.11.4 upgrade
Hmm... good question. I checked the original Arty template and there is no </__body> tag. Seems to work without it.
			
			
									
						
										
						





