Subrion CMS Support Forums   Follow Subrion on Twitter Join Us on Facebook

Go Back   Subrion CMS Support Forums > Subrion CMS Core Discussion > Subrion Core Discussion

Subrion Core Discussion Here we discuss everything that is related to Subrion CMS core functionality. Additional features related to plugins and templates engines. New features that are related to Manage Pages functionality or anything that's not related to Subrion packages.

Reply

 

LinkBack Thread Tools Display Modes
Old 01-28-2011   #1 (permalink)
Arsen O.
Guest
 
Posts: n/a
Default Subrion v2.0.4 template changes

Greetings

Here is the list of template changes in our new version.
header.tpl file
find this code
HTML Code:
{ia_hooker name="smartyFrontBeforeNotifications"}
{if isset($page404) && $page404} <div class="message error">{lang key="page404"}</div> {/if}
{if !empty($account.id) && isset($account.append_info)} <div class="notification"><ol>{lang key="account_append_info"}</ol></div> {/if}
{if isset($alert) && !empty($alert)} {include file="notification.tpl" msg=$alert id="alert"} {/if}
{if isset($success) && !empty($success)} {include file="notification.tpl" msg=$success id="success"} {/if}
{if isset($error) && !empty($error)} {include file="notification.tpl" msg=$error id="error"} {/if}
{include file="notification.tpl"}
change it to the following code
HTML Code:
{ia_hooker name="smartyFrontBeforeNotifications"}				
{if !empty($account.id) && isset($account.append_info)}<div class="message notification"><ol>{lang key="account_append_info"}</ol></div> {/if}
{include file="notification.tpl"}
footer.tpl file
find this code
HTML Code:
{if isset($menus.bottom)}
	{foreach from=$menus.bottom item=menu name="bottom_menu"}
		{if $menu.active}
			<span class="active">{$menu.title}</span>
		{else}
			<span><a href="{$menu.url}" {$menu.nofollow}>{$menu.title}</a></span>
		{/if}
		{if not $smarty.foreach.bottom_menu.last} | {/if}
	{/foreach}
{/if}
and delete it
  Reply With Quote
Old 01-29-2011   #2 (permalink)
Member
 
Join Date: May 2009
Location: UK
Posts: 33
wealthyaffiliate is on a distinguished road
Default Re: Subrion v2.0.4 template changes

Why do we need to do this? What is it fixing?
Are you talking about the files in...
/templates/common
or
/templates/default

Thanks
Steve.
wealthyaffiliate is offline   Reply With Quote
Old 01-31-2011   #3 (permalink)
Administrator
 
Vasily B.'s Avatar
 
Join Date: Feb 2008
Location: Kyrgyzstan, Bishkek
Posts: 510
Vasily B. is on a distinguished road
Default Re: Subrion v2.0.4 template changes

Greetings Steve

These changes can be useful for the members who modified their templates. If you use default template without any custom changes - you don't need to update anything. The changes are needed for the software to work properly. No need to change common files, these changes are related to the template files, you use.
__________________
Auto classifieds script, Best Articles Script, Web Directory Software, Realty Classifieds Script,
eLitius Affiliate Tracking Script - Open Source Affiliate Script, Free Directory Script - Best Free Directory Script
Follow Surbion CMS news and updates on Subrion Twitter
Vasily B. is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Subrion Admin Template For Front End Wayne G. Subrion Core Discussion 3 06-21-2009 09:18 PM
Order Subrion CMS and get FREE template integration as bonus Subrion Announcements 3 08-12-2008 10:08 PM
Bug on util.inc.php there are the Template parts hardcoded for the template name racer Subrion Core Discussion 0 08-15-2007 04:39 PM


All times are GMT -6. The time now is 06:37 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0