VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
CHECK OUT OUR PAGE ON GOOGLE +
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

no content in home page
(1 viewing) (1) Guest

TOPIC: no content in home page

no content in home page 28 Apr 2014 10:26 #4590

I've installed jf Creativia template and set the "home" item of main menu to show starred contents of all categories
(in evidence); but home page is empty!!!
What can I've done wrong?
Thank you

  • Posts:1
  • carminella
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: no content in home page 28 Apr 2014 11:02 #4591

Hi, i have the same problem.

I checked out this related thread completly:

www.joomfreak.com/forum/categories/jooml...t-show-articles.html

But it does not worked in my page.

Pleas could someone post the complete working index.php code.

Thanks a lot and sorry for my bad English.

  • Posts:1
  • bombard
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: no content in home page 21 May 2014 14:19 #4718

I have spent many hours struggling with this and looking through all the threads about this template. I have come to the conclusion that you if you set an article to be the home page - whatever you do the home page remains blank. Nice looking template but I'm now quite angry about how much time I have put into trying to get it to work. It's just busted.

Re: no content in home page 22 May 2014 05:42 #4722

Hello,

You go to file index.php (folder: templates/jf_creativia/index.php) on our site operating normally. You can replace file your website.

<?php
/*------------------------------------------------------------------------
# JF CREATIVIA - JOOMFREAK.COM JOOMLA 3.2.1 TEMPLATE 01-2014
# ------------------------------------------------------------------------
# COPYRIGHT: (C) 2011-2014 JOOMFREAK.COM / KREATIF MULTIMEDIA GMBH
# LICENSE: Creative Commons Attribution
# AUTHOR: JOOMFREAK.COM
# WEBSITE: http://www.joomfreak.com - http://www.kreatif-multimedia.com
# EMAIL: info@joomfreak.com
-------------------------------------------------------------------------*/
 
$revisit = false;
if(isset($_COOKIE['FirstVisitOfDay'])) {
$revisit = true;
} else {
setcookie("FirstVisitOfDay","1",time() + 3600);
$revisit = false;
}
 
// No direct access.
defined('_JEXEC') or die;
 
jimport('joomla.filesystem.file');
 
include_once (JPATH_THEMES.'/jf_creativia/lib/php/req.php');
 
// check modules
$showLeft = $this->countModules('left');
 
JHtml::_('behavior.framework', true);
 
// get params
$app = JFactory::getApplication();
$doc = JFactory::getDocument();
$menu = $app->getMenu();
 
// Detecting Active Variables
$option = $app->input->getCmd('option', '');
$view = $app->input->getCmd('view', '');
$layout = $app->input->getCmd('layout', '');
$task = $app->input->getCmd('task', '');
$itemid = $app->input->getCmd('Itemid', '');
 
$doc->addStyleSheet('http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic', $type = 'text/css');
$doc->addStyleSheet($this->baseurl.'/templates/system/css/general.css');
$doc->addStyleSheet($this->baseurl.'/templates/'.$this->template.'/css/template.css', $type = 'text/css');
$doc->addStyleSheet($this->baseurl.'/templates/'.$this->template.'/css/menu.css', $type = 'text/css');
$doc->addStyleSheet($this->baseurl.'/templates/'.$this->template.'/css/media_queries.css', $type = 'text/css');
$doc->addStyleSheet($this->baseurl.'/templates/'.$this->template.'/css/style.css', $type = 'text/css');
$doc->addStyleSheet($this->baseurl.'/templates/'.$this->template.'/css/k2.css', $type = 'text/css');
$doc->addStyleSheet($this->baseurl.'/templates/'.$this->template.'/css/responsive.css', $type = 'text/css');
 
?>
<!DOCTYPE HTML>
<html >language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
 
 
 
<!--[if IE 7]>
baseurl ?>/templates/<?php echo $this->template; ?>/css/ie7only.css" rel="stylesheet" type="text/css" />
<![endif]-->
 
 
jQuery.noConflict();
jQuery(document).ready(function(){
var backWidth = jQuery('#left').width();
jQuery('.backToTop').css('width', backWidth);
if((jQuery('#cholder-l').height()-jQuery('#left').height())<90) {
jQuery('.backToTop').css('position', 'static');
}
jQuery('.backToTop a').click(function(event){
event.preventDefault();
jQuery('body,html').animate({scrollTop:0},500);
});
 
jQuery('.pagination-next .pagenav').html('»');
jQuery('.pagination-prev .pagenav').html('«');
 
jQuery('#navcollapse').click(function(){
jQuery('.main_menu').slideToggle("slow");;
});
 
// Text Resizer
jQuery('#fontDecrease').click(function(event){
event.preventDefault();
jQuery('.itemIntroText').removeClass('largerFontSize');
jQuery('.itemIntroText').addClass('smallerFontSize');
});
jQuery('#fontIncrease').click(function(event){
event.preventDefault();
jQuery('.itemIntroText').removeClass('smallerFontSize');
jQuery('.itemIntroText').addClass('largerFontSize');
});
 
if(jQuery(window).width()>750){
var itemLatest = jQuery('.itemLatest .catItemTitle').html();
jQuery('.itemLatest .catItemTitle').hide();
jQuery('.rotate h1').html(itemLatest);
 
var tagLatest = jQuery('.itemLatest .tagItemTitle').html();
jQuery('.itemLatest .tagItemTitle').hide();
jQuery('.rotate h1').html(tagLatest);
 
var userLatest = jQuery('.itemLatest .userItemTitle').html();
jQuery('.itemLatest .userItemTitle').hide();
jQuery('.rotate h1').html(userLatest);
 
var blogLatest = jQuery('.row-0 .page-header h2').html();
jQuery('.row-0 .page-header h2').hide();
jQuery('.rotate h1').html(blogLatest);
 
var itemHeader = jQuery('.page-header h1').html();
jQuery('.page-header h1').hide();
jQuery('.rotate h1').html(itemHeader);
 
var itemTitle = jQuery('.itemTitle').html();
jQuery('.itemTitle').hide();
jQuery('.rotate h1').html(itemTitle);
 
var contactHeader = jQuery('.contact h1').html();
jQuery('.contact h1').hide();
jQuery('.rotate h1').html(contactHeader);
 
//rotate
<?php if($option != 'com_contact') : ?>
if(jQuery('.cholder-inner').height() < jQuery('.rotate').width()) {
jQuery('.cholder-inner').height(jQuery('.rotate').width()+220);
}
<?php endif; ?>
var bottom = jQuery('.rotate').width()/2;
var left = bottom-(jQuery('#left').width()+40)/2;
jQuery('.rotate').css('top', 120+bottom);
jQuery('.rotate h1').css('left', -left);
jQuery('.backToCategory').css('top', 120+bottom);
jQuery('.backToCategory p').css('left', -(left+200));
 
jQuery( window ).resize(function() {
var bottom = jQuery('.rotate').width()/2;
var left = bottom-(jQuery('#left').width()+40)/2;
jQuery('.rotate').css('top', 120+bottom);
jQuery('.rotate h1').css('left', -left);
jQuery('.backToCategory').css('top', 120+bottom);
jQuery('.backToCategory p').css('left', -(left+200));
});
}
});
 
 
<?php
if ($startingpage && $revisit == false) {
include(JPATH_THEMES.'/jf_creativia/lib/php/spage.php');
}
?>
 
</head>
 
<body>
<div class="container">
<div id="top">
<div class="inner">
<div id="jf_logo">
<a title="<?php echo htmlspecialchars($app->getCfg("sitename")); ?>" href="index.php"><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/logo-jf_creativia.png" alt="logo-jf_creativia" /></a>
</div>
 
<div class="main_menu_box">
<div>
<?php if($this->countModules('menu')) : ?>
<div id="navbutton">
<a id="navcollapse">Menu</a>
</div>
<div class="main_menu">
 
</div>
<?php endif; ?>
 
<?php if ($this->countModules( 'search' )) : ?>
<div id="search">
 
</div>
<?php endif; ?>
<div class="clr"></div>
</div>
</div>
<div class="clr"></div>
</div>
</div>
 
<?php if ($this->countModules( 'submenu' )) : ?>
<div id="submenu">
<div class="wrapper clearfix">
 
</div>
</div>
<?php endif; ?>
 
<?php if($this->countModules('slideshow')) : ?>
<div id="slideshow">
 
</div>
<?php endif; ?>
 
<?php if (!$fpage) { ?>
<div id="wrapper-bg">
<div id="wrapper<?php if($option == 'com_k2'):?>-k2<?php endif; ?><?php if ($option == 'com_content' || $option == 'com_contact') : ?>-ct<?php endif; ?>" >
<div class="clr"></div>
</div>
</div>
 
<?php } //else if ($menu->getActive() != $menu->getDefault()) { ?>
 
<div id="wrapper-bg">
<div id="wrapper<?php if($option == 'com_k2'):?>-k2<?php endif; ?><?php if ($option == 'com_content' || $option == 'com_contact') : ?>-ct<?php endif; ?>" >
<div class="padder">
 
<div id="left">
<div class="rotate">
<h1></h1>
</div>
</div>
 
<div id="cholder-l">
<div class="cholder-inner">
 
 
 
<?php if ($this->countModules('c-bottom1') or $this->countModules('c-bottom2') or $this->countModules('c-bottom3' )) : ?>
<?php
$spotlight = array ('c-bottom1','c-bottom2','c-bottom3');
$cbotsl = $tmpTools->calSpotlight ($spotlight,99,33);
if( $cbotsl ) :
?>
 
<div id="c-bottom">
<?php if($this->countModules('c-bottom1')) : ?>
<div class="c-bottom1" style="width:<?php echo $cbotsl['c-bottom1']['width']; ?>">
 
<?php endif; ?>
</div>
 
<?php if($this->countModules('c-bottom2')) : ?>
<div class="c-bottom2" style="width:<?php echo $cbotsl['c-bottom2']['width']; ?>">
 
<?php endif; ?>
</div>
 
<?php if($this->countModules('c-bottom3')) : ?>
<div class="c-bottom3" style="width:<?php echo $cbotsl['c-bottom3']['width']; ?>">
 
<?php endif; ?>
</div>
</div>
 
<?php endif; ?>
<?php endif; ?>
 
<div class="clr"></div>
</div>
</div>
<?php if ($option != 'com_users') : ?>
<div class="backToTop">
<a href="#">go to top</a>
</div>
<?php endif; ?>
<div class="clr"></div>
</div>
</div>
</div>
<?php //} ?>
 
<div id="bot">
<div class="inner">
<?php if ($this->countModules('breadcrumb')) : ?>
<div id="breadcrumb">
 
</div>
<?php endif; ?>
 
<?php if ($this->countModules( 'user4 or user5 or user6' )) : ?>
<?php
$spotlight = array ('user4','user5','user6');
$botsl = $tmpTools->calSpotlight ($spotlight,100,40);
if( $botsl ) :
?>
<?php if(
$this->countModules('user4') ||
$this->countModules('user5') ||
$this->countModules('user6') ||
($this->params->get('facebook') != '') ||
($this->params->get('linkedin') != '') ||
($this->params->get('skype') != '') ||
($this->params->get('twitter') != '') ||
($this->params->get('youtube') != '') ||
($this->params->get('rss') != '') ) : ?>
<aside class="users_bottom">
 
<?php if($this->countModules('user4')) : ?>
<div class="user4 user" style="width:<?php echo $botsl['user4']['width']; ?>">
 
<?php endif; ?>
 
 
<div id="social-links">
<ul>
<?php if ($this->params->get('facebook') != '') : ?>
<li><a target="_blank" id="facebook" title="Visit us >params->get('facebook') ?>">
<img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/social-icons/facebook.png" alt="" />
</a>
</li>
<?php endif; ?>
 
<?php if ($this->params->get('linkedin') != '') : ?>
<li><a target="_blank" id="linkedin" title="Visit us >params->get('linkedin') ?>">
<img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/social-icons/linkedin.png" alt="" />
</a>
</li>
<?php endif; ?>
 
<?php if ($this->params->get('skype') != '') : ?>
<li><a id="skype" title="Call us via Skype" href="<?php echo $this->params->get('skype') ?>">
<img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/social-icons/skype.png" alt="" />
</a>
</li>
<?php endif; ?>
 
<?php if ($this->params->get('twitter') != '') : ?>
<li><a target="_blank" id="twitter" title="Visit us >params->get('twitter') ?>">
<img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/social-icons/twitter.png" alt="" />
</a>
</li>
<?php endif; ?>
 
<?php if ($this->params->get('youtube') != '') : ?>
<li><a target="_blank" id="youtube" title="Visit us >params->get('youtube') ?>">
<img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/social-icons/youtube.png" alt="" />
</a>
</li>
<?php endif; ?>
 
<?php if ($this->params->get('rss') != '') : ?>
<li><a target="_blank" id="rss" title="rss" href="<?php echo $this->params->get('rss') ?>">
<img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/social-icons/rss.png" alt="" />
</a>
</li>
<?php endif; ?>
</ul>
</div>
 
<div id="copyright">
<?php if($this->countModules('copyright')) : ?>
<div class="copyright">
 
</div>
<?php endif; ?>
<ul class="menu">
<li><a title="joomfreak" target="_blank" href="#">Privacy Policy</a></li>
<li class="last"><a title="Rasenfix" target="_blank" href="#">Site Map</a></li>
</ul>
</div>
</div>
<?php endif; ?>
 
<?php if($this->countModules('user5')) : ?>
<div class="user5 user" style="width:<?php echo $botsl['user5']['width']; ?>">
 
</div>
<?php endif; ?>
 
<?php if($this->countModules('user6')) : ?>
<div class="user6 user" style="width:<?php echo $botsl['user6']['width']; ?>">
 
</div>
<?php endif; ?>
 
<div class="clr"></div>
 
</aside>
<?php endif; ?>
<?php endif; ?>
<?php
/*
ATTENTION PLEASE - Creative Commons, Attribution 2.5 Generic (CC BY 2.5)
1.1 Unlimited usage: joomfreak grants you the right of unlimited usage of its free download products.
You are not allowed to remove, modify or change the footer area and credits area copyright link if you are going to use joomfreak software for free.
1.2 Commercial license
For a fee of € 20,00 you are allowed to remove the copyright in your joomfreak.com product.
You can use the license for 1 domain.
It does not matter if you are going to use the product for private or commercial scope or if you are private person or firm.
If u need help to remove the copyright just send us a email at info@joomfreak.com.
You can obtain a Commercial license here : http://www.joomfreak.com/terms-of-use.html
*/
echo $jf; ?>
 
</div>
</div>
</div>
 
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-20887118-1']);
_gaq.push(['_trackPageview']);
 
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
}) ();
 
 
</body>
</html>
 
Last Edit: 22 May 2014 18:27 by isupport.

  • Posts:2031
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: no content in home page 23 May 2014 11:30 #4742

I also tried it, because I have the same problem.

But after replacing the whole site is destroyed!

I'm sorry, I can't upload an image ...


[EDIT] there are a few bugs in your index.php, like no correct javascript, Doctype, ... and some more...

I compared my index.php with your code ...

Have a look: Where is the correct start of javascript and no correct ending!?

 
 
 
<!--[if IE 7]>
baseurl ?>/templates/<?php echo $this->template; ?>/css/ie7only.css" rel="stylesheet" type="text/css" />
<![endif]-->
 
 
jQuery.noConflict();
jQuery(document).ready(function(){
var backWidth = jQuery('#left').width();
jQuery('.backToTop').css('width', backWidth);
if((jQuery('#cholder-l').height()-jQuery('#left').height())<90) {
jQuery('.backToTop').css('position', 'static');
}
jQuery('.backToTop a').click(function(event){
event.preventDe
Last Edit: 23 May 2014 11:49 by Lucky13.

  • Posts:5
  • Lucky13
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: no content in home page 27 May 2014 04:46 #4749

Hello,
Sorry, In my message remove my script tags
go to templates/jf_creativia/index.php
You can find: $menu->getActive()
comment same images
prntscr.com/3myueo

Find: <?php } ?> (line 269) and comment same images
prntscr.com/3myurs

  • Posts:2031
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0
Time to create page: 0.70 seconds

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.