Non e' possibile visualizzare nessun articolo

Moderator: alikon

Forum rules
Regole Forum
Locked
X_Ch4n
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Tue Jan 23, 2007 4:17 pm

Non e' possibile visualizzare nessun articolo

Post by X_Ch4n » Mon Aug 11, 2014 3:38 pm

Buonasera a tutti,
posto qui perche' ho notato che il problema che sto per esporvi si verifica solo con il tmeplate che sto cercando di creare da 0.

In breve: qualunque articolo io cerchi di visualizzare, sia cliccando sulla relativa voce di menu, sia immettendo manualmente la url, ricevo sempre la stessa pagina:

Code: Select all

< class="item_title">
Come vi dicevo ho provato con altri template tipo protostar o beez3 e tutto va a meraviglia, il problema si verifica solo con il template che sto scrivendo.

Ho provato a verificare il mio codice di index.php e l'ho pure confrontato con quelle di protostar e, anche se con le opportune differenze, non mi e' sembrato che ci siano errori.

Non riesco a venirne a capo, qualcuno potrebbe aiutarmi?

Posto il mio index.php:

Code: Select all

<?php
	defined('_JEXEC') or die;
	
	$app = JFactory::getApplication();
	$doc=JFactory::getDocument();
	$this->language = $doc->language;
	$this->direction = $doc->direction;

	JHtml::_('bootstrap.framework');
	
	//including css stylesheets
	$doc->addStyleSheet($this->baseurl.'media/jui/css/bootstrap.min.css');
	$doc->addStyleSheet($this->baseurl.'media/jui/css/bootstrap-responsive.css');
	$doc->addStyleSheet('templates/'.$this->template.'/css/style.css');
	$doc->addStyleSheet('templates/'.$this->template.'/css/navigation.css');
?>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
	<jdoc:include type="head" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
	<div id="wrapper" class="container">
		<div id="wrapper-inner">
			<? if($this->countModules('top')) : ?>
				<div id="top-row" class="span12">
					<div class="row-container">
						<div class="row-fluid">
							<div class="row-fluid">
								<jdoc:include type="modules" name="top" style="themeHtml5" />
							</div>
						</div><!-- .row-fluid -->
					</div><!-- .row-container -->
				</div><!-- #top-row -->
			<?php endif; ?>
			
			<div id="header-row">
				
				<header>
					<div class="row-fluid">
						<div id="logo" class="span3">
							<a href="<?php echo $this->baseUrl; ?>">
								<img src="<?php echo JUri::base().'templates/'.$this->template.'/images/logo.png'; ?>" alt="myDobermann.net" />
							</a>
						</div><!-- #logo -->
						<div id="mainmenu" class="span9">
							<jdoc:include type="modules" name="navigation" style="themeHtml5" />
						</div><!-- #mainmenu -->
					</div><!-- .row-fluid -->
				</header>
			</div><!-- #header-wrapper -->
			
			<div id="mid-wrapper">
				<? if($this->countModules('showcase')) : ?>
				<div id="showcase-wrapper" class="span8">
					<jdoc:include type="modules" name="showcase" style="themeHtml5" />
				</div><!-- #showcase-wrapper -->
				<?php endif; ?>
				
				<? if($this->countModules('top-banner')) : ?>
				<div id="topbanner-wrapper" class="span12">
					<jdoc:include type="modules" name="top-banner" style="themeHtml5" />
				</div><!-- #topbanner-wrapper -->
				<?php endif; ?>
				
				<? if($this->countModules('breadcrumbs')) : ?>
				<div id="breadcrumbs-wrapper" class="span12">
					<jdoc:include type="modules" name="breadcrumbs" style="themeHtml5" />
				</div><!-- #breadcrumbs-wrapper -->
				<?php endif; ?>
			</div><!-- #mid-wrapper -->
			
			<div id="content-wrapper" class="span12">
				<? if($this->countModules('aside-left')) : ?>
				<div id="asideleft-wrapper" class="span2">
					<jdoc:include type="modules" name="aside-left" style="themeHtml5" />
				</div><!-- #aside-left-wrapper -->
				<?php endif; ?>
				
				<div id="content-body" class="span7">
					<jdoc:include type="message" />
					<jdoc:include type="component" />
				</div><!-- #content-body -->
				
				<? if($this->countModules('aside-right')) : ?>
				<div id="asideright-wrapper" class="span2">
					<jdoc:include type="modules" name="aside-right" style="themeHtml5" />
				</div><!-- #aside-right-wrapper -->
				<?php endif; ?>
			</div><!-- #content-wrapper -->
			
			<div id="bottom-wrapper">
				<? if($this->countModules('mainbottom')) : ?>
				<div id="mainbottom-wrapper" class="span12">
					<jdoc:include type="modules" name="mainbottom" style="themeHtml5" />
				</div><!-- #mainbottom-wrapper -->
				<?php endif; ?>
				
				<? if($this->countModules('bottom')) : ?>
				<div id="bottom-wrapper" class="span12">
					<jdoc:include type="modules" name="bottom" style="themeHtml5" />
				</div><!-- #bottom-wrapper -->
				<?php endif; ?>
				
				<? if($this->countModules('copyright')) : ?>
				<div id="copyright-wrapper" class="span12">
					<jdoc:include type="modules" name="copyright" style="themeHtml5" />
				</div><!-- #copyright-wrapper -->
				<?php endif; ?>
			</div><!-- #bottom-wrapper -->
			
		</div><!-- #wrapper-inner -->
	</div><!-- #wrapper -->
	
	<div id="back-top">
      <a href="#"><span></span>Back to top</a>
    </div>
	
	<jdoc:include type="modules" name="debug" style="none"/>
	
	<?php
	//including js scripts
	$doc->addScript(JUri::base().'templates/'.$this->template.'/js/main.js', 'text/javascript');
	
    $doc->addScript($this->baseurl."/media/jui/js/jquery.min.js");
    $doc->addScript($this->baseurl.'/templates/'.$this->template.'/js/jquery.mobile.customized.min.js');
    $doc->addScript($this->baseurl.'/templates/'.$this->template.'/js/jquery.easing.1.3.js');
    $doc->addScript($this->baseurl."/media/jui/js/bootstrap.js");

    $noConflict = "jQuery.noConflict()";
    $doc->addScriptDeclaration($noConflict);

    $doc->addScript($this->baseurl.'/templates/'.$this->template.'/js/jquery.isotope.min.js');
    /*$doc->addScript($this->baseurl.'/templates/'.$this->template.'/js/touch.gallery.js');*/
    $doc->addScript($this->baseurl.'/templates/'.$this->template.'/js/jquery.magnific-popup.js');
    $doc->addScript($this->baseurl.'/templates/'.$this->template.'/js/scripts.js');
  ?>
</body>
</html>
Grazie fin d'ora a chi vorra' aiutarmi.

WORCOM
Joomla! Apprentice
Joomla! Apprentice
Posts: 43
Joined: Sun Jul 27, 2014 8:26 pm
Contact:

Re: Non e' possibile visualizzare nessun articolo

Post by WORCOM » Wed Aug 13, 2014 9:54 pm

Ciao,
se il problema non si verifica con gli altri template è derivante dal template che hai modificato.
Dammi indirizzo che do un occhiata.


Locked

Return to “Template - Grafica”