Top module position not displayed on Frontpage

Turn your community with elegantly JomSocial integrated and superiorly designed website
GK User
Sat Jul 31, 2010 10:31 am
Hi,

how do I activate the modules for the home page.
top1 to TOP8.
This module can be activated despite the "Home" not
displayed.
What should I do?
User avatar
Gold Boarder

GK User
Sat Jul 31, 2010 2:22 pm
Hi

It's a bug. Our apologize.

Please open the following file on ../templates/gk_elvesocial/layouts/default.php and find this lines:


Code: Select all
      <?php if($this->checkComponent() || $this->checkMainbody()) : ?>
         
      <!-- MAIN CONTAINER -->
      <div id="gk-container">
         <div class="static clearfix">
         
            <?php $this->loadBlock('topsl') ?>
            
            <?php $this->loadBlock('breadcrumb') ?>
            <?php $this->loadBlock('breadcrumbs') ?>
               
             <div id="gk-mainbody" style="width:<?php echo $this->getColumnWidth('mw') ?>%">
               
               <?php $this->loadBlock('main') ?>
               <?php $this->loadBlock('left') ?>
             </div>
   
            <?php $this->loadBlock('right') ?>
         </div>      
      </div>
      <!-- //MAIN CONTAINER -->
      
      <?php endif; ?>


replace them with


Code: Select all
      <!-- MAIN CONTAINER -->
      <div id="gk-container">
         <div class="static clearfix">
         
            <?php $this->loadBlock('topsl') ?>
            
            <?php $this->loadBlock('breadcrumb') ?>
            <?php $this->loadBlock('breadcrumbs') ?>
            <?php if($this->checkComponent() || $this->checkMainbody()) : ?>   
             <div id="gk-mainbody" style="width:<?php echo $this->getColumnWidth('mw') ?>%">
               
               <?php $this->loadBlock('main') ?>
               <?php $this->loadBlock('left') ?>
             </div>
            <?php endif; ?>
            <?php $this->loadBlock('right') ?>
         </div>      
      </div>
      <!-- //MAIN CONTAINER -->


I'm not the programmer but i think this is solution. I will report this to Dziudek and if he agrees, an update will be release.

Cheers ;)
User avatar
Platinum Boarder

GK User
Mon Aug 02, 2010 8:19 am
Hi,
get displayed after inserting the following error code and the page is not visible.

Parse error: syntax error, unexpected '$' in /var/www/......htdocs/templates/gk_elvesocial/layouts/default.php on line 88
User avatar
Gold Boarder

teitbite
Mon Aug 02, 2010 12:34 pm
Hi

Could You please paste this 88 line here?
User avatar
Moderator

GK User
Mon Aug 02, 2010 12:46 pm
is it true that the first and last line should be deleted?
Please compare the two codes!


<? Php if ($ this-> checkComponent () | | $ this-> checkMainbody ()):?>


<! - CONTAINER MAIN ->
<div id="gk-container">
<div class="static clearfix">

<? Php $ this-> loadBlock ('topsl')?>

<? Php $ this-> loadBlock ('breadcrumb')?>
<? Php $ this-> loadBlock ("Brotkrumen")?>

<Div id = "GK-mainbody" style = "width: <? Php echo $ this-> getColumnWidth (" MW ") ?>%">

<? Php $ this-> loadBlock ('main')?>
<? Php $ this-> loadBlock ("links")?>
</ Div>

<? Php $ this-> loadBlock ('right')?>
</ Div>
</ Div>
<! - / / MAIN CONTAINER ->

<? Php endif;?>[color=#800000][/color]
User avatar
Gold Boarder

michalkie
Mon Aug 02, 2010 12:53 pm
Yes, please delete them
User avatar

GK User
Mon Aug 02, 2010 2:02 pm
Thus the set is deleted and the new
inserted.
Error message

Parse error: syntax error, unexpected '$' in
/ Var / www / ... / ... / ... / htdocs / templates / gk_elvesocial / layout
s / default.php on line 86

And here's the line. 86 in the template.

@ Michalkie
still have the admin access. and with the ninjaXplorer
(Component) you can access the file.
User avatar
Gold Boarder

michalkie
Mon Aug 02, 2010 2:24 pm
Hi,

I solved this problem. It doesn't work because when you save files using ninjaXplorer it saved for example "<?php ..." as "<? Php ...".

I suggest you using for example Aptana Studio (aptana.com) - You can edit files on your ftp directly.
User avatar

GK User
Mon Aug 02, 2010 3:02 pm
Hi,
now have white on the front page script. One can read anything!




And it's true now no longer something.
Right2 My position is slid downwards.
The graph is now displayed below the text.
There is something wrong since the change.
User avatar
Gold Boarder

GK User
Tue Aug 03, 2010 9:18 pm
Oh, the writing did you hinbekommen again. Good!
It remains, however a further problem.
In rigth1 "or" 2 "I lie graphics.
The module positions are, however, since after the code change
been moved under. See!
No longer visible on the right. As below !!!!!!
This should also be altered.
We also see the annex that some things move
Hat.
Even now in the footer below the writing is somewhat cut off.


Greeting
User avatar
Gold Boarder

GK User
Wed Aug 04, 2010 12:10 pm
Hi,
I would go with the website online soon.
It would be nice if, before the module positions are right again.

Since the code change, everything is moved. See here!
User avatar
Gold Boarder

michalkie
Wed Aug 04, 2010 1:31 pm
Hi,

please add this code in template.css:
Code: Select all
#gk-botsl1 {
width:auto;
}

#gk-botsl1 .gk-box {
width:auto !important;
}

User avatar

teitbite
Wed Aug 04, 2010 1:34 pm
Hi

Please tell me if beside this wrong module displayoing everything is fine?

Please send me ftp details to Your site and I'll try to fix it for You.
User avatar
Moderator

GK User
Wed Aug 04, 2010 2:08 pm
I inserted the code above times, and tested.
It has done nothing. The module positions "Left" are missing.

I send the same data for FTP by mail
User avatar
Gold Boarder

GK User
Thu Aug 05, 2010 6:55 am
Hi,

I had the FTP data sent.

The problem in the template is still unchanged.
The missing module positions LEFT and RIGHT is moved under Buttom
User avatar
Gold Boarder

GK User
Thu Aug 05, 2010 4:45 pm
Hi,

because you get his module positions in template moved and no
it wants to concentrate more.
I sit on hot coals slowly. At the weekend I wanted to use the
Website go online.

Why did my contract just one year increased to Developer Membership.
Do I think but in the next 14 days whether it is the right way
was?
User avatar
Gold Boarder

GK User
Fri Aug 06, 2010 1:31 pm
Please send me an email with ftp and admin access to your website and with description of your problems to solve. My email: [email protected]
User avatar
Administrator

GK User
Fri Aug 06, 2010 4:34 pm
Hi,

I have just sent an e-mail with the data.

The default.php I have dubbed the meantime with the old.
Thus, while the module positions are back in the right place, but on the front can not, for example, Top1 - 8 are displayed.
User avatar
Gold Boarder

GK User
Mon Aug 30, 2010 7:07 pm
Hi,

I just downloaded ElveSocial and I am having the same problem, but I do not understand this thread. Is there a solution?

When i turn off the "Show mainbody on frontpage" function in the template manager, only the Header 1 and Header 2 module positions show. No other positions show. However, when I enable the "Show mainbody on frontpage" function, all the other positions show.

I want my frontpage to look like the demo page. How do I do this? I followed the instructions that came with the template, but I don't see how to make my page look like the demp page. I don't want the "Frontpage" menu item showing.

Please help.

Thank you.
User avatar
Fresh Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.