-
AuthorPosts
-
September 13, 2008 at 5:29 pm #133311
When I try to view the web links of a specific web link category. The following characters appear between the web links list of the selected category and the category list at the bottom:
“/*———————————————————————— # JA Nagya for Joomla 1.5 – Version 1.1 – Licence Owner JA90742 # ———————————————————————— # Copyright (C) 2004-2008 J.O.O.M Solutions Co., Ltd. All Rights Reserved. # @license – Copyrighted Commercial Software # Author: J.O.O.M Solutions Co., Ltd # Websites: http://www.joomlart.com – http://www.joomlancers.com # This file may not be redistributed in whole or significant part. ————————————————————————-*/ // no direct access defined(‘_JEXEC’) or die(‘Restricted access’); /** * This is a file to add template specific chrome to pagination rendering. * * pagination_list_footer * Input variable $list is an array with offsets: * $list[limit] : int * $list[limitstart] : int * $list : int * $list[limitfield] : string * $list[pagescounter] : string * $list[pageslinks] : string * * pagination_list_render * Input variable $list is an array with offsets: * $list * : string * : boolean * $list * : string * : boolean * $list[previous] * : string * : boolean * $list[next] * : string * : boolean * $list * : string * : boolean * $list[pages] * [{PAGE}] : string * [{PAGE}] : boolean * * pagination_item_active * Input variable $item is an object with fields: * $item->base : integer * $item->link : string * $item->text : string * * pagination_item_inactive * Input variable $item is an object with fields: * $item->base : integer * $item->link : string * $item->text : string * * This gives template designers ultimate control over how pagination is rendered. * * NOTE: If you override pagination_item_active OR pagination_item_inactive you MUST override them both */ function pagination_list_footer($list) { // Initialize variables $lang =& JFactory::getLanguage(); $html = “
n”; if ($lang->isRTL()) { $html .= “n
“.$list[‘pagescounter’].”
“; $html .= $list[‘pageslinks’]; $html .= “n
“.JText::_(‘Display Num’).$list[‘limitfield’].”
“; } else { $html .= “n
“.JText::_(‘Display Num’).$list[‘limitfield’].”
“; $html .= $list[‘pageslinks’]; $html .= “n
“.$list[‘pagescounter’].”
“; } $html .= “n”; $html .= “n
“; return $html; } function pagination_list_render($list) { // Initialize variables $lang =& JFactory::getLanguage(); $html = “* “; $html .= ‘«
* ‘; // Reverse output rendering for right-to-left display if($lang->isRTL()) { $html .= $list[‘start’][‘data’]; $html .= $list[‘previous’][‘data’]; $list[‘pages’] = array_reverse( $list[‘pages’] ); foreach( $list[‘pages’] as $page ) { if($page[‘data’][‘active’]) { // $html .= ”; } $html .= $page[‘data’]; if($page[‘data’][‘active’]) { // $html .= ”; } } $html .= $list[‘next’][‘data’]; $html .= $list[‘end’][‘data’]; // $html .= ‘«’; } else { $html .= $list[‘start’][‘data’]; $html .= $list[‘previous’][‘data’]; foreach( $list[‘pages’] as $page ) { if($page[‘data’][‘active’]) { // $html .= ”; } $html .= $page[‘data’]; if($page[‘data’][‘active’]) { // $html .= ”; } } $html .= $list[‘next’][‘data’]; $html .= $list[‘end’][‘data’]; // $html .= ‘«’; } $html .= ‘»
‘; $html .= “# “; return $html; } function pagination_item_active(&$item) { return ” link.”” title=””.$item->text.””>”.$item->text.”
# “; } function pagination_item_inactive(&$item) { return ” “.$item->text.”
“; } ?>”.Is there a way to solve the problem?
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
September 17, 2008 at 8:32 am #270998Hi mourkousis !
Can you give us your live URL, any screenshot or more details of the problem will be helpful.
September 17, 2008 at 7:59 pm #271065I have just made the testing site live. It seems that it includes file ‘templatesja_nagyahtmlpagination.php” into the pages that are displayied not only in web links but also in blog view of categories. E.g.
http://www.dsmes.gr/index.php/syndeseis/2-mesologi.html
http://www.dsmes.gr/index.php/nea.html
Any suggestions?
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
September 18, 2008 at 3:22 am #271098Hi mourkousis !
this is strange problem. please try to rename html folder in templates/ja_nagya folder.September 18, 2008 at 3:57 pm #271184I have renamed the folder you specified and now the login modules does not displays correctly. See: http://www.dsmes.gr/index.php/syndeseis/2-mesologi.html
There must be a code problem. I have the prototype site running on XAMPP in my intranet and on Windows Server 2003 with ISS 6.0 live from http://www.dsmes.gr/index.php.
The problem disapears if i rename file ‘templatesja_nagyahtmlpagination.php” . Is it totaly safe to remove the file? Is this the only installation you know of that this happens?
Thank you in advance.
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
September 19, 2008 at 2:46 am #271245Hi mourkousis !
yes, pagination.php file in templatesja_nagyahtml is file for overwrite to pagination style of joomla , it is totally safe when remove it.1 user says Thank You to Sherlock for this useful post
-
AuthorPosts
This topic contains 6 replies, has 2 voices, and was last updated by Sherlock 16 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum