• Home
  • Community
  • Submitted News
FAQ • Search • Login
Forum Home • Register

View unanswered posts | View active topics


Board index » Pligg » Pligg Templates

All times are UTC


Pligg Template v9.8.2 to v9.9.0 Upgrade Instructions



Post new topic Reply to topic  Page 1 of 1
 [ 2 posts ] 
Print view Previous topic | Next topic 
 Pligg Template v9.8.2 to v9.9.0 Upgrade Instructions 
Author Message
LincolnHawks
Site Admin
User avatar

Joined: Wed Dec 12, 2007 9:34 pm
Posts: 296
Post Pligg Template v9.8.2 to v9.9.0 Upgrade Instructions
There were a number of template changes from 9.8.2 to 9.9. The main reasons for these changes are

  • Remove PHP code from the TPL files
  • Prepare them for 1.0 which will allow multiple languages

Many of the changes were done to help eliminate the need for the developers to force template changes in the future.

It is recommended you use a program like WinMerge to compare your template to the yget 9.9 template.

----------------------------------------------------------------

The most important changes are the ones that have to do with the lang.conf file.

EXAMPLE:
template_name.tpl
Changed
Quote:
{config_load file="/libs/lang.conf"}
to
Quote:
{config_load file="/languages/lang_".$pligg_language.".conf"}


EXAMPLE:
template_name.tpl
removed:
Quote:
{config_load file="/libs/lang.conf"}




----------------------------------------------------------------
/templates folder
----------------------------------------------------------------

meta.tpl
added
Quote:
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />


blank.tpl
Changed
Quote:
{config_load file="/libs/lang.conf"}
to
Quote:
{config_load file="/languages/lang_".$pligg_language.".conf"}




----------------------------------------------------------------
/templates/yourtemplate/
----------------------------------------------------------------

template_details.php
Added a file containing information about your template.

404error.tpl
Moved to /templates

faq-en_center.tpl
Moved to /templates

bookmarklet.tpl
added to /templates

blank.tpl
Changed
Quote:
{config_load file="/libs/lang.conf"}
to
Quote:
{config_load file="/languages/lang_".$pligg_language.".conf"}


comment_form.tpl
removed:
Quote:
{config_load file="/libs/lang.conf"}

changed line 5 to:
Quote:
<textarea name="comment_content" id="comment" rows="6" cols="60"/>{if isset($TheComment)}{$TheComment}{/if}</textarea><br />


comment_show.tpl
removed:
Quote:
{config_load file="/libs/lang.conf"}

line 11: Notice the location of the last ;
Quote:
{#PLIGG_Visual_Comment_Rating#}: <a id="cvote-{$comment_id}" style='text-decoration: none;'>{$comment_votes}</a>

line 43:
Quote:
<input type="hidden" name="randkey" value="{$rand}" />


edit_comment_center.tpl
Many changes. You'll probably be able to replace your file with the new one.

editlink_edit_center.tpl
removed:
Quote:
{config_load file="/libs/lang.conf"}


header.tpl
removed:
Quote:
{config_load file="/libs/lang.conf"}


index_center.tpl
Many changes. You'll probably be able to replace your file with the new one.

link_summary.tpl
added to line 137:
Quote:
{checkActionsTpl location="tpl_link_summary_admin_links"}

changed 178 to:
Quote:
(blank line here)

changed 179 to:
Quote:
<span id="linksummaryDiscuss"><a href="{$story_url}" class="comments">{#PLIGG_MiscWords_Discuss#}</a> &nbsp;</span>


changed 182 to:
Quote:
<span id="linksummaryHasComment"><a href="{$story_url}" class="comments2">{$story_comment_count} {#PLIGG_MiscWords_Comment#}</a> &nbsp;</span>

changed 183 to:
Quote:
(deleted this line)


changed 185 to:
Quote:
<span id="linksummaryHasComment"><a href="{$story_url}" class="comments2">{$story_comment_count} {#PLIGG_MiscWords_Comments#}</a> &nbsp;</span>

changed 186 to:
Quote:
(deleted this line)


changed 190 to:
Quote:
<span id="linksummaryAddLink">

changed 191 to:
Quote:
<a href="javascript://" onclick="var replydisplay=document.getElementById('addto-{$link_shakebox_index}').style.display ? '' : 'none';document.getElementById('addto-{$link_shakebox_index}').style.display = replydisplay;"> {#PLIGG_Visual_LS_AddThisLinkTo#}</a>&nbsp;

added line 192:
Quote:
</span>


changed 198 to:
Quote:
<span id="linksummarySaveLink"><a target="add_stories" href="{$user_url_add_links}" onclick="show_hide_user_links(document.getElementById('stories-{$link_shakebox_index}'));">{#PLIGG_MiscWords_Save_Links_Save#}</a>&nbsp;

changed 201 to:
Quote:
<span id="linksummaryRemoveLink"><a target="add_stories" href="{$user_url_remove_links}" onclick="show_hide_user_links(document.getElementById('stories-{$link_shakebox_index}'));">{#PLIGG_MiscWords_Save_Links_Remove#}</a>&nbsp;


The changed above are the result of taking multiple images, combining them into 1 image, and using CSS to show the
correct image.

changed 206 to:
Quote:
{if $Enable_Recommend eq 1 && $user_logged_in neq ""}

changed 208 to:
Quote:
<span id="linksummaryTellFriend">

added line 209:
Quote:
<a href="javascript://" onclick="show_recommend({$link_shakebox_index}, {$link_id}, '{$instpath}');"> {#PLIGG_Visual_Recommend_Link_Text#}</a> &nbsp;

added line 210:
Quote:
</span>

changed 215 to:
Quote:
<span id="xreport-{$link_shakebox_index}"><span id="linksummaryBury"><a href="javascript:{$link_shakebox_javascript_report}">{#PLIGG_Visual_Vote_Bury#}</a></span></span>

removed line 234:
Quote:
</span>

added line 236:
Quote:
</span>


live_center.tpl
removed:
Quote:
{config_load file="/libs/lang.conf"}


live_comments_center.tpl
Many changes. You'll probably be able to replace your file with the new one.

live_published_center.tpl
Many changes. You'll probably be able to replace your file with the new one.

live_unpublished_center.tpl
Many changes. You'll probably be able to replace your file with the new one.

login_center.tpl
removed:
Quote:
{config_load file="/libs/lang.conf"}


pligg.tpl
replace
Quote:
{config_load file="/libs/lang.conf"}


with
Quote:
{config_load file="/languages/lang_".$pligg_language.".conf"}


remove
Quote:
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />


changed
Quote:
<!--[if lte IE 6]>
<script src="{$my_pligg_base}/js/jspath.php" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="{$my_pligg_base}/templates/{$the_template}/css/ie6.css" media="screen" />
<script type="text/javascript">
if (typeof blankImg == 'undefined') var blankImg = my_pligg_base + '/templates/{$the_template}/images/blank.gif';
</script>
<style type="text/css" media="screen">
body {literal}{{/literal}behavior:url({$my_pligg_base}/templates/{$the_template}/css/iehfix.htc); {literal}}{/literal}
img {literal}{{/literal}behavior:url({$my_pligg_base}/templates/{$the_template}/css/iepngfix.htc); {literal}}{/literal}
</style>
<![endif]-->


to
Quote:
{* this is an IE6 specific 'hack' for the yget template *}
<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" href="{$my_pligg_base}/templates/{$the_template}/css/ie6.css" media="screen" />
<script type="text/javascript">
if (typeof blankImg == 'undefined') var blankImg = '{$my_pligg_base}/templates/{$the_template}/images/blank.gif';
</script>
<style type="text/css" media="screen">
body {ldelim}behavior:url({$my_pligg_base}/templates/{$the_template}/css/iehfix.htc); {rdelim}
img {ldelim}behavior:url({$my_pligg_base}/templates/{$the_template}/css/iepngfix.htc); {rdelim}
</style>
<![endif]-->


removed
Quote:
{literal}
<script language="javascript" type="text/javascript">
function openSpellChecker(commentarea) {
var txt = document.getElementById(commentarea);
var speller = new spellChecker( txt );
speller.openChecker();
}
</script>
{/literal}


removed
Quote:
{if $pagename eq "story"}
{literal}
<style type="text/css">
/* allow room for 3 columns */
div#idwhovotedwrapper ol {width: 35em; list-style-type: none; }
div#idwhovotedwrapper ol li {float: left; width: 10em; }
div#idwhovotedwrapper br { clear: left; }
div#idwhovotedwrapper div.whovotedwrapper { margin-bottom: 1em; }
</style>
{/literal}
{/if}


removed (at the end of the file)
Quote:
<script src="{$my_pligg_base}/js/jspath.php" type="text/javascript"></script>


profile_center.tpl
removed:
Quote:
{config_load file="/libs/lang.conf"}

changed line 10:
Quote:
<form method="POST" enctype="multipart/form-data" name="image_upload_form" action="{$form_action}">

added line 13:
Quote:
{$hidden_token_profile_change}

changed line 20:
Quote:
{$hidden_token_profile_change}


register_center.tpl
Many changes. You'll probably be able to replace your file with the new one.

register_error.tpl
Removed

register_step_1.tpl
Removed

register_step_2.tpl
Removed

search_center.tpl
removed:
Quote:
{config_load file="/libs/lang.conf"}

changed line 24:
Quote:
{$link_summary_output}

changed line 25: remove the extra spaces
Code:
< b r />< b r />

changed line 26:
Quote:
{$search_pagination}

removed lines 27, 28 & 29

settemplate_center.tpl
changed line 1:
Quote:
{$message}

changed line 2:
Quote:
{include file="templates.tpl"}

removed the rest of the lines in the file

sidebar.tpl
removed:
Quote:
{config_load file="/libs/lang.conf"}


story_center.tpl
removed:
Quote:
{config_load file="/libs/lang.conf"}


added into line 1:
Quote:
{literal}
<style type="text/css">
/* allow room for 3 columns */
div#idwhovotedwrapper ol {width: 35em; list-style-type: none; }
div#idwhovotedwrapper ol li {float: left; width: 10em; }
div#idwhovotedwrapper br { clear: left; }
div#idwhovotedwrapper div.whovotedwrapper { margin-bottom: 1em; }
</style>
{/literal}


replaced
Quote:
{php}
Global $db, $main_smarty, $link;
$link->print_summary();
{/php}


with
Quote:
{$the_story}


replaced
Quote:
{php}
Global $db, $main_smarty, $current_user, $CommentOrder;
get_comments(); // the get_comments function is in the /story.php file
{/php}


with
Quote:
{$the_comments}


submit_errors.tpl
removed:
Quote:
{config_load file="/libs/lang.conf"}


submit_step_1.tpl
removed:
Quote:
{config_load file="/libs/lang.conf"}


submit_step_2.tpl
removed:
Quote:
{config_load file="/libs/lang.conf"}

added into line 73:
Quote:
<option value = "">{#PLIGG_Visual_Submit2_CatInstructSelect#}


submit_step_3.tpl
removed:
Quote:
{config_load file="/libs/lang.conf"}


replaced
Quote:
{php}
Global $db, $main_smarty, $dblang, $the_template, $linkres, $current_user;

$linkres=new Link;

$linkres->id=$link_id = $_POST['id'];

if(!$linkres->verify_ownership($current_user->user_id)){
die($main_smarty->get_config_vars('PLIGG_Visual_Submit2Errors_NoAccess'));
}

$linkres->read(FALSE);

if($linkres->votes($current_user->user_id) == 0 && auto_vote == true) {
$linkres->insert_vote($current_user->user_id, '10');
$linkres->store_basic();
$linkres->read(FALSE);
}

$linkres->category=$_POST['category'];
$linkres->title = strip_tags(trim($_POST['title']));
$linkres->title_url = makeUrlFriendly($linkres->title);
$linkres->tags = tags_normalize_string(strip_tags(trim($_POST['tags'])));
$linkres->content = strip_tags(trim($_POST['bodytext']), Story_Content_Tags_To_Allow);
$linkres->content = str_replace("\n", "<br />", $linkres->content);
// Steef 2k7-07 security fix start ----------------------------------------------------------
if(isset($_POST['link_field1'])){$linkres->link_field1 = strip_tags(trim($_POST['link_field1']), Story_Content_Tags_To_Allow);}
if(isset($_POST['link_field2'])){$linkres->link_field2 = strip_tags(trim($_POST['link_field2']), Story_Content_Tags_To_Allow);}
if(isset($_POST['link_field3'])){$linkres->link_field3 = strip_tags(trim($_POST['link_field3']), Story_Content_Tags_To_Allow);}
if(isset($_POST['link_field4'])){$linkres->link_field4 = strip_tags(trim($_POST['link_field4']), Story_Content_Tags_To_Allow);}
if(isset($_POST['link_field5'])){$linkres->link_field5 = strip_tags(trim($_POST['link_field5']), Story_Content_Tags_To_Allow);}
if(isset($_POST['link_field6'])){$linkres->link_field6 = strip_tags(trim($_POST['link_field6']), Story_Content_Tags_To_Allow);}
if(isset($_POST['link_field7'])){$linkres->link_field7 = strip_tags(trim($_POST['link_field7']), Story_Content_Tags_To_Allow);}
if(isset($_POST['link_field8'])){$linkres->link_field8 = strip_tags(trim($_POST['link_field8']), Story_Content_Tags_To_Allow);}
if(isset($_POST['link_field9'])){$linkres->link_field9 = strip_tags(trim($_POST['link_field9']), Story_Content_Tags_To_Allow);}
if(isset($_POST['link_field10'])){$linkres->link_field10 = strip_tags(trim($_POST['link_field10']), Story_Content_Tags_To_Allow);}
if(isset($_POST['link_field11'])){$linkres->link_field11 = strip_tags(trim($_POST['link_field11']), Story_Content_Tags_To_Allow);}
if(isset($_POST['link_field12'])){$linkres->link_field12 = strip_tags(trim($_POST['link_field12']), Story_Content_Tags_To_Allow);}
if(isset($_POST['link_field13'])){$linkres->link_field13 = strip_tags(trim($_POST['link_field13']), Story_Content_Tags_To_Allow);}
if(isset($_POST['link_field14'])){$linkres->link_field14 = strip_tags(trim($_POST['link_field14']), Story_Content_Tags_To_Allow);}
if(isset($_POST['link_field15'])){$linkres->link_field15 = strip_tags(trim($_POST['link_field15']), Story_Content_Tags_To_Allow);}
// Steef 2k7-07 security fix end --------------------------------------------------------------

if(!isset($_POST['summarytext'])){
$linkres->link_summary = utf8_substr(strip_tags(trim($_POST['bodytext']), Story_Content_Tags_To_Allow), 0, StorySummary_ContentTruncate - 1);
$linkres->link_summary = str_replace("\n", "<br />", $linkres->link_summary);
} else {
$linkres->link_summary = strip_tags(trim($_POST['summarytext']), Story_Content_Tags_To_Allow);
$linkres->link_summary = str_replace("\n", "<br />", $linkres->link_summary);
if(strlen($linkres->link_summary) > StorySummary_ContentTruncate){
loghack('SubmitAStory-SummaryGreaterThanLimit', 'username: ' . $_POST["username"].'|email: '.$_POST["email"], true);
$linkres->link_summary = utf8_substr($linkres->link_summary, 0, StorySummary_ContentTruncate - 1);
$linkres->link_summary = str_replace("\n", "<br />", $linkres->link_summary);
}
}

if (link_errors($linkres)) {
return;
}

$linkres->store();
tags_insert_string($linkres->id, $dblang, $linkres->tags);
check_actions('submit_step_3_after_first_store');
$linkres->read(FALSE);
$edit = true;
$link_title = $linkres->title;
$link_content = $linkres->content;
$link_title = stripslashes(strip_tags(trim($_POST['title'])));
$linkres->print_summary();

$main_smarty->assign('tags', $linkres->tags);
if (!empty($linkres->tags)) {
$tags_words = str_replace(",", ", ", $linkres->tags);
$tags_url = urlencode($linkres->tags);
$main_smarty->assign('tags_words', $tags_words);
$main_smarty->assign('tags_url', $tags_url);
}

if(isset($url)){
$main_smarty->assign('submit_url', $url);
} else {
$main_smarty->assign('submit_url', '');
}
$main_smarty->assign('submit_url_title', $linkres->url_title);
$main_smarty->assign('submit_id', $linkres->id);
$main_smarty->assign('submit_type', $linkres->type());
$main_smarty->assign('submit_title', $link_title);
$main_smarty->assign('submit_content', $link_content);
if(isset($trackback)){
$main_smarty->assign('submit_trackback', $trackback);
} else {
$main_smarty->assign('submit_trackback', '');
}

{/php}


with
Quote:
{$the_story}


topusers_center.tpl
Many changes. You'll probably be able to replace your file with the new one.

topusers_data.tpl
removed:
Quote:
{config_load file="/libs/lang.conf"}


upcoming_center.tpl
removed:
Quote:
{config_load file="/libs/lang.conf"}


replace
Quote:
{php}
global $db, $dblang, $globals, $main_smarty, $search, $offset, $from_where, $page_size, $link_id, $linksum_sql, $linksum_count;
include('./libs/link_summary.php'); // this is the code that show the links / stories
echo '<br/><br/>';
do_pages($rows, $page_size, "upcoming"); // show the "page" buttons at the bottom
{/php}


with (remove the extra spaces in the BR's)
Code:
{$link_summary_output}
< b r />< b r />
{$link_pagination}



user_center.tpl
changed line 77:
Quote:
<tr><th>{#PLIGG_Visual_Login_Username#}</th><th>{#PLIGG_Visual_User_Profile_Joined#}</th><th>{#PLIGG_Visual_User_Profile_Homepage#}</th><th>Add/Remove</th></tr>

removed line 81:
Quote:
<td>{$userlist[nr].public_email}</td>

changed line 105:
Quote:
<a onclick="new Effect.toggle('search_users','appear', {ldelim}queue: 'end'{rdelim});">{#PLIGG_Visual_User_Search_Users#}</a>

changed line 130:
Quote:
<a onclick="new Effect.toggle('search_users','appear', {ldelim}queue: 'end'{rdelim});">{#PLIGG_Visual_User_Search_Users#}</a>

changed line 162:
Quote:
<a onclick="new Effect.toggle('search_users','appear', {ldelim}queue: 'end'{rdelim});">{#PLIGG_Visual_User_Search_Users#}</a>

changed line 192:
Quote:
<a onclick="new Effect.toggle('search_users','appear', {ldelim}queue: 'end'{rdelim});">{#PLIGG_Visual_User_Search_Users#}</a>

changed line 247:
Quote:
<a onclick="new Effect.toggle('search_users','appear', {ldelim}queue: 'end'{rdelim});">{#PLIGG_Visual_User_Search_Users#}</a>

changed line 416: (remove the extra spaces in the BR's)
Quote:
< b r />< b r /><b>{#PLIGG_Visual_User_Profile_The_Bookmarklet#}: { include file="bookmarklet.tpl" }</b>


replace
Quote:
{php}
Global $db, $main_smarty, $view, $user, $rows, $page_size, $offset;
$the_page = 'profile';
switch ($view) {
case 'history':
do_history();
do_pages($rows, $page_size, $the_page);
break;
case 'published':
do_published();
do_pages($rows, $page_size, $the_page);
break;
case 'shaken':
do_shaken();
do_pages($rows, $page_size, $the_page);
break;
case 'commented':
do_commented();
do_pages($rows, $page_size, $the_page);
break;
case 'voted':
do_voted();
do_pages($rows, $page_size, $the_page);
break;
case 'saved':
do_stories();
do_pages($rows, $page_size, $the_page);
break;
case 'removefriend':
do_removefriend();
break;
case 'addfriend':
do_addfriend();
break;
case 'viewfriends':
do_viewfriends();
break;
case 'viewfriends2':
do_viewfriends2();
break;
case 'sendmessage':
do_sendmessage();
break;
}
{/php}


with
Quote:
{if isset($user_page)}{$user_page}{/if}
{if isset($user_pagination)}{$user_pagination}{/if}






/admin_templates/admin_main_center.tpl
added into line 6:(remove extra spaces from the BR)
Quote:
<img src="{$my_pligg_base}/templates/{$the_template}/images/cart.png" align="absmiddle"/> <a href="http://www.pligg.com/pro/" target="_blank">{#PLIGG_Visual_Header_AdminPanel_Shop#}</a>< b r />

changed line 16:
Quote:
<img src="{$my_pligg_base}/templates/{$the_template}/images/paypal.gif" align="absmiddle"/> <a href="http://forums.pligg.com/donate.php" target="_blank">{#PLIGG_Visual_Header_AdminPanel_Donate#}</a>

changed line 44:
Quote:
<a href="{$URL_story, $link_id}#c{$comment_id}">{if isset($comment_date)}{$comment_date}{/if}</a> <br/>


/admin_templates/admin_modules_center.tpl
added into line 1:
Quote:
{checkActionsTpl location="tpl_admin_modules_top"}


changed 141
Quote:
$db->query("INSERT INTO " . table_modules . " (`name`, `version`, `folder`, `enabled`) values ('".$name."', '" . $version . "', '".$module."', 1);");
header('Location: admin_modules.php');


to
Quote:
$db->query("INSERT INTO " . table_modules . " (`name`, `version`, `folder`, `enabled`) values ('".$name."', '" . $version . "', '".$module."', 1);");

clear_module_cache();

header('Location: admin_modules.php');



changed 153
Quote:
$db->query($sql);
header('Location: admin_modules.php');


to
Quote:
$db->query($sql);

clear_module_cache();

header('Location: admin_modules.php');


changed 177
Quote:
$db->query($sql);
header('Location: admin_modules.php');


to
Quote:
$db->query($sql);

clear_module_cache();

header('Location: admin_modules.php');



added before the ending {php}
Quote:
function clear_module_cache () {
global $db;
if(caching == 1){
// this is to clear the cache and reload it for settings_from_db.php
$db->cache_dir = mnmpath.'cache';
$db->use_disk_cache = true;
$db->cache_queries = true;
$db->cache_timeout = 0;
// if this query is changed, be sure to also change it in modules_init.php
$modules = $db->get_results('SELECT * from ' . table_modules . ' where enabled=1;');
$db->cache_queries = false;
}
}


/admin_templates/user_disable_step1_center.tpl
changed line 4:
Quote:
<tr><td> <a href = "admin_users.php?mode=yesdisable&user={$user}{$uri_token_admin_users_disable}">Yes, disable this user.</a>&nbsp;&nbsp;&nbsp;| &nbsp;&nbsp;&nbsp;<a href="javascript: history.go(-1)">No, cancel</a></td></tr>


/admin_templates/user_edit_center.tpl
changed line 5:
Quote:
{$hidden_token_admin_users_edit}


/admin_templates/user_killspam_step1_center.tpl
changed line 4:
Quote:
<tr><td><a href = "{$my_pligg_base}/admin_users.php?mode=yeskillspam&user={$user}&id={$id}{$uri_token_admin_users_killspam}">{#PLIGG_Visual_Ban_Link_Yes#}</a>&nbsp;&nbsp;&nbsp;| &nbsp;&nbsp;&nbsp;<a href="javascript:history.back()">{#PLIGG_Visual_Ban_Link_No#}</a></tr></td>


/admin_templates/user_show_center.tpl
changed line 21:
Quote:
<tr><td><img src="{$my_pligg_base}/templates/{$the_template}/images/user_reset.png" align="absmiddle"/> <a href="?mode=resetpass&user={$userdata[nr].user_login}{$uri_token_admin_users_resetpass}" onclick="return confirm('{#PLIGG_Visual_View_User_Reset_Pass_Confirm#}')">{#PLIGG_Visual_View_User_Reset_Pass#}</a></td></tr>






/css/main.css
added to the end of the file
Quote:
#linksummaryDiscuss{
padding: 2px 0px 0px 20px;
background: url("../images/19de38d03fe7db3b5a64386eb392320b.gif") -8px -8px no-repeat;
}
#linksummaryHasComment{
padding: 2px 0px 0px 20px;
background: url("../images/19de38d03fe7db3b5a64386eb392320b.gif") -8px -167px no-repeat;
}
#linksummaryAddLink{
padding: 3px 0px 0px 20px;
background: url("../images/19de38d03fe7db3b5a64386eb392320b.gif") -8px -40px no-repeat;
}
#linksummarySaveLink{
padding: 2px 0px 0px 20px;
background: url("../images/19de38d03fe7db3b5a64386eb392320b.gif") -8px -104px no-repeat;
}
#linksummaryRemoveLink{
padding: 2px 0px 0px 20px;
background: url("../images/19de38d03fe7db3b5a64386eb392320b.gif") -8px -199px no-repeat;
}
#linksummaryTellFriend{
padding: 2px 0px 0px 20px;
background: url("../images/19de38d03fe7db3b5a64386eb392320b.gif") -8px -135px no-repeat;
}
#linksummaryBury{
padding: 2px 0px 0px 20px;
background: url("../images/19de38d03fe7db3b5a64386eb392320b.gif") -8px -7px no-repeat;
}



/images
added
19de38d03fe7db3b5a64386eb392320b.gif
cart.png

Update (change) 's1' on your id .

/sidebar_modules/about_box.tpl (remove extra spaces in the IMG tags)
changed
Quote:
{php}
echo "<span><a onclick=\"new Effect.toggle('s1','blind', {queue: 'end'}); \"> <i m g src=\"".my_pligg_base."/templates/".The_Template."/images/expand.png\" alt=\"expand\" /></a></span>";
{/php}


to
Quote:
<span><a onclick="new Effect.toggle('s1','blind', {ldelim}queue: 'end'{rdelim});"> <i m g src="{$my_pligg_base}/templates/{$the_template}/images/expand.png" alt="expand" /></a></span>


/sidebar_modules/categories.tpl (remove extra spaces in the IMG tags)
changed
Quote:
{php}
echo "<span><a onclick=\"new Effect.toggle('cats','blind', {queue: 'end'}); \"> <i m g src=\"".my_pligg_base."/templates/".The_Template."/images/expand.png\" alt=\"expand\" /></a></span>";
{/php}


to
Quote:
<span><a onclick="new Effect.toggle('s1','blind', {ldelim}queue: 'end'{rdelim});"> <i m g src="{$my_pligg_base}/templates/{$the_template}/images/expand.png" alt="expand" /></a></span>


/sidebar_modules/login.tpl (remove extra spaces in the IMG tags)
changed line 8-10
Quote:
{php}
echo "<span><a onclick=\"new Effect.toggle('s3','blind', {queue: 'end'}); \"> <i m g src=\"".my_pligg_base."/templates/".The_Template."/images/expand.png\" alt=\"expand\" /></a></span>";
{/php}


to
Quote:
<span><a onclick="new Effect.toggle('s1','blind', {ldelim}queue: 'end'{rdelim});"> <i m g src="{$my_pligg_base}/templates/{$the_template}/images/expand.png" alt="expand" /></a></span>


changed line 30-32
Quote:
{php}
echo "<span><a onclick=\"new Effect.toggle('s4','blind', {queue: 'end'}); \"> <i m g src=\"".my_pligg_base."/templates/".The_Template."/images/expand.png\" alt=\"expand\" /></a></span>";
{/php}


to
Quote:
<span><a onclick="new Effect.toggle('s1','blind', {ldelim}queue: 'end'{rdelim});"> <i m g src="{$my_pligg_base}/templates/{$the_template}/images/expand.png" alt="expand" /></a></span>


/sidebar_modules/tags.tpl (remove extra spaces in the IMG tags)
changed
Quote:
<div class="tlb">{php}
echo "<span><a onclick=\"new Effect.toggle('s2','blind', {queue: 'end'}); \"> <i m g src=\"".my_pligg_base."/templates/".The_Template."/images/expand.png\" alt=\"expand\" /></a></span>";
{/php}<a href="{$URL_tagcloud}">{#PLIGG_Visual_Top_5_Tags#}</a>
</div>


to
Quote:
<div class="tlb">
<span><a onclick="new Effect.toggle('s1','blind', {ldelim}queue: 'end'{rdelim});"> <i m g src="{$my_pligg_base}/templates/{$the_template}/images/expand.png" alt="expand" /></a></span>
<a href="{$URL_tagcloud}">{#PLIGG_Visual_Top_5_Tags#}</a>
</div>



changed
Quote:
<div id="s2" style="margin: 5px 0 0 0; line-height: {php} echo tags_max_pts_s; {/php}pt;">


to
Quote:
<div id="s2" style="margin: 5px 0 0 0; line-height: {$tags_max_pts}pt;">


Fri Jan 04, 2008 11:56 pm
Profile
masss
User avatar

Joined: Thu Jan 10, 2008 1:21 pm
Posts: 4
Post Re: Pligg Template v9.8.2 to v9.9.0 Upgrade Instructions
all good only add sidebar_stories_wrapper.tpl to template folder
from 9.9.0 vyget

_________________
Pligg template vera 9.9.0 by http://www.s1mp3.pl AMV AVI Video to MP4 Player


Wed Feb 13, 2008 12:37 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  Page 1 of 1
 [ 2 posts ] 

Board index » Pligg » Pligg Templates

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

©2007-2008 Social CMS Buzz

Feed XML Favourite Valid XHTML Valid CSS WordPress