Alguém já passou por esse erro, ao instalar o modulo LatestNewsPlusDate?
Sabem como corrigir?
Vlw
get( 'catid' ) ); $secid = trim( $params->get( 'secid' ) ); // $show_introtext = $params->get( 'show_introtext', 0 ); $show_introtext = ('yes'); $show_date = $params->get( 'show_date', 0 ); $show_date_type = $params->get( 'show_date_type', 0 ); $thumb_embed = intval( $params->get( 'thumb_embed', 0 ) ); $thumb_width = intval( $params->get( 'thumb_width', 32 ) ); $thumb_height = intval( $params->get( 'thumb_height', 32 ) ); $limit = intval( $params->get( 'limit', 200 ) ); $loadorder = intval( $params->get( 'loadorder', 1 ) ); $show_more_in = intval( $params->get( 'show_more_in', 0 ) ); $show_more_type = intval( $params->get( 'show_more_type', 0 ) ); $show_date_in_introtext = intval( $params->get( 'show_date_in_introtext', 0 ) ); $allowed_tags = ""; $image_path = $params->get( 'image_path', 'images/stories' ); $document=& JFactory::getDocument(); if($document->getType() == 'html') { global $mainframe; $document->addCustomTag(''); } if($show_introtext) { if ($thumb_embed) { /* Regex tool for finding image path on img tag - thx to Jerson Figueiredo */ preg_match_all("##", modLatestNewsHelperPlusDate::unhtmlentities(html_entity_decode(htmlentities($item->introtext))), $txtimg); if (!empty($txtimg[0])) { foreach ($txtimg[0] as $txtimgel) { $item->introtext = str_replace($txtimgel,"",$item->introtext); if ( strstr($txtimgel, $image_path) ) { if (strstr($txtimgel, 'src="/')) { preg_match_all("#src=\"\/" . addslashes($image_path) . "\/([\:\-\/\_A-Za-z0-9\.]+)\"#",$txtimgel,$txtimgelsr); } else { preg_match_all("#src=\"" . addslashes($image_path) . "\/([\:\-\/\_A-Za-z0-9\.]+)\"#",$txtimgel,$txtimgelsr); } if (!empty($item->images)) { $item->images = $txtimgelsr[1][0] . "\n" . $item->images; } else { $item->images = $txtimgelsr[1][0]; } }elseif (preg_match_all("#http#",$txtimgel,$txtimelsr,PREG_PATTERN_ORDER) > 0) { preg_match_all("#src=\"([\-\/\_A-Za-z0-9\.\:]+)\"#",$txtimgel,$txtimgelsr); if (!empty($item->images)) { $item->images = $txtimgelsr[1][0] . "\n" . $item->images; } else { $item->images = $txtimgelsr[1][0]; } } } } } // end of thumbnail processing $item->introtext= preg_replace("/{[^}]*}/","",$item->introtext); // stripped html by default $item->introtext = strip_tags(modLatestNewsHelperPlusDate::unhtmlentities($item->introtext),$allowed_tags); if($limit > 0) { $item->introtext = modLatestNewsHelperPlusDate::lnd_limittext($item->introtext,$limit); } echo '
'; if ($loadorder == 1) { echo modLatestNewsHelperPlusDate::lnd_showThumb($item->images,$item->image,$params,$item->itemid,$item->id); } echo ''.$item->text.''; echo '
'; if($show_date_in_introtext) { if($show_date==1) { switch($show_date_type) { case 1: echo ""; echo date("d F Y", strtotime($item->created)); echo "
"; break; case 2: echo ""; echo date("H:i", strtotime($item->created)); echo "
"; break; default: echo ""; echo date("d F Y H:i", strtotime($item->created)); echo "
"; break; } } } if ($loadorder == 0) { modLatestNewsHelperPlusDate::lnd_showThumb($item->images,$item->image,$params,$item->itemid,$item->id); } echo html_entity_decode(htmlentities($item->introtext)); echo '
'; echo '
'; } echo '
'; $show_date = $params->get( 'show_date', 0 ); $show_date_type = $params->get( 'show_date_type', 0 ); ?>
Notice: Undefined variable: show_introtext in C:\wamp\www\portal2\modules\mod_latestnewsplusdate\tmpl\default.php on line 123
created)); break; case 2: echo date("H:i", strtotime($item->created)); break; default: echo date("d F Y H:i", strtotime($item->created)); break; } } ?>
Notice: Undefined variable: item in C:\wamp\www\portal2\modules\mod_latestnewsplusdate\tmpl\default.php on line 148
Notice: Trying to get property of non-object in C:\wamp\www\portal2\modules\mod_latestnewsplusdate\tmpl\default.php on line 148
created)); break; case 2: echo date("H:i", strtotime($item->created)); break; default: echo date("d F Y H:i", strtotime($item->created)); break; } } ?>
Notice: Undefined variable: item in C:\wamp\www\portal2\modules\mod_latestnewsplusdate\tmpl\default.php on line 148
Erro Modulo LatestNewsPlusDate
Dúvidas e discussões sobre o uso de extensões que não sejam nativas do Joomla!
Ir para
- Fórum - Joomla.com.br (dados salvos de joomla.com.br)
- ↳ Avisos e notícias
- ↳ Oportunidades de emprego e trabalho
- ↳ Joomla! 1.5
- ↳ Como utilizar
- ↳ Instalação, Upgrade e Migração
- ↳ Extensões
- ↳ Templates
- ↳ Tradução
- ↳ Segurança e Performance
- ↳ Programação e Desenvolvimento
- ↳ Sites dos Usuários
- ↳ Joomla! 1.0
- ↳ Joomla.com.br
- ↳ Discussão Geral
- ↳ Nosso site
- ↳ Off-topic
- Fórum - Joomla!Brasil (dados salvos de joomlabrasil.org e mambobrasil.org)
- ↳ Críticas e Sugestões
- ↳ Joomla! 1.0.x
- ↳ Geral
- ↳ Instalação
- ↳ Componentes
- ↳ Comércio Eletrônico
- ↳ Sistema de Comunicação
- ↳ Zoom Gallery
- ↳ Módulos
- ↳ Mambots
- ↳ Temas e Design
- ↳ Documentação
- ↳ Joomla! 1.5
- ↳ Geral
- ↳ Instalação
- ↳ Migração e Atualização
- ↳ Administração do Joomla 1.5
- ↳ Componentes - 1.5
- ↳ Módulos - 1.5
- ↳ Plugins - 1.5
- ↳ Editores WYSIWYG - 1.5
- ↳ Templates e Design- 1.5
- ↳ Desenvolvimento e Tradução
- ↳ Adaptação e Desenvolvimento
- ↳ Programação e Scripts
- ↳ Tradução
- ↳ Mambo 4.5.2 - BR - Debatendo a Tradução
- ↳ Comunidade
- ↳ Notícias
- ↳ Sites de Usuários
- ↳ OFF-Topic
- ↳ Serviços
- ↳ Host Pago
- ↳ Host 100% Gratuito
- ↳ Consultoria e Trabalho