[solved] Arty template and 1.11.4 upgrade

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
echobrin
Forum Members
Forum Members
Posts: 54
Joined: Sat May 29, 2010 6:03 pm

[solved] Arty template and 1.11.4 upgrade

Post 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!
Last edited by echobrin on Tue Jan 08, 2013 10:15 pm, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Arty template and 1.11.4 upgrade

Post by Rolf »

Cleared cache?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
echobrin
Forum Members
Forum Members
Posts: 54
Joined: Sat May 29, 2010 6:03 pm

Re: Arty template and 1.11.4 upgrade

Post by echobrin »

Yes, tried that, thanks.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Arty template and 1.11.4 upgrade

Post by Rolf »

echobrin wrote:Yes, tried that, thanks.
And it worked?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
echobrin
Forum Members
Forum Members
Posts: 54
Joined: Sat May 29, 2010 6:03 pm

Re: Arty template and 1.11.4 upgrade

Post 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.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Arty template and 1.11.4 upgrade

Post by Rolf »

You have a link to the site?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
echobrin
Forum Members
Forum Members
Posts: 54
Joined: Sat May 29, 2010 6:03 pm

Re: Arty template and 1.11.4 upgrade

Post 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>
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1976
Joined: Mon Jan 29, 2007 4:47 pm

Re: Arty template and 1.11.4 upgrade

Post 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...
"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!
echobrin
Forum Members
Forum Members
Posts: 54
Joined: Sat May 29, 2010 6:03 pm

Re: Arty template and 1.11.4 upgrade

Post 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.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Arty template and 1.11.4 upgrade

Post by Rolf »

Nice that it works now!
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
- + - + - + - + - + - + -
Image
gully
Forum Members
Forum Members
Posts: 27
Joined: Sun Oct 17, 2010 11:43 am

Re: [solved] Arty template and 1.11.4 upgrade

Post by gully »

</head>
<div class="PageBackgroundSimpleGradient">
</div>
<div class="Main">
How are you handling the </__body> ?
echobrin
Forum Members
Forum Members
Posts: 54
Joined: Sat May 29, 2010 6:03 pm

Re: [solved] Arty template and 1.11.4 upgrade

Post by echobrin »

Hmm... good question. I checked the original Arty template and there is no </__body> tag. Seems to work without it.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: [solved] Arty template and 1.11.4 upgrade

Post by Dr.CSS »

It may "work" but it is invalid HTML...

http://validator.w3.org/check?verbose=1 ... ork.com%2F
Locked

Return to “[locked] Installation, Setup and Upgrade”