Article not showing

Professional Joomla social template with metro design and JomSocial extension support.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue May 17, 2016 11:53 am
Reply with quote
Report this post
Hello,

I have the following problems in the (M) Social theme.

1. When I link an article to a menu item it doesn't display the article (text). However when I put a module in the article, the module text does show.

2. How can I display articles on the frontpage like the demo.

I couldn't find the answers on this forum, so I hope you can help me.

Site: www.beautifulmoment.nl
User avatar
Fresh Boarder

teitbite
Thu May 19, 2016 1:07 pm
Reply with quote
Report this post
Hi

Please edit file /layout/default.php and replace:

Code: Select all
                       <div id="gkMainbody">
                               <?php if(($this->layout->isFrontpage() && !$this->API->modules('mainbody')) || !$this->layout->isFrontpage()) : ?>
                               <jdoc:include type="component" />
                               <?php else : ?>
                               <jdoc:include type="modules" name="mainbody" style="<?php echo $this->module_styles['mainbody']; ?>" />
                               <?php endif; ?>
                       </div>


with

Code: Select all
                       <div id="gkMainbody">
                               <?php if(!$this->API->modules('mainbody')) : ?>
                               <jdoc:include type="component" />
                               <?php else : ?>
                               <jdoc:include type="modules" name="mainbody" style="<?php echo $this->module_styles['mainbody']; ?>" />
                               <?php endif; ?>
                       </div>
User avatar
Moderator

GK User
Thu May 19, 2016 2:34 pm
Reply with quote
Report this post
Thanks for the reply. I changed the default.php as described, but still no luck. I've got an article with text in it called "Massage" http://www.beautifulmoment.nl/index.php ... en/massage

In this article I published a module with the content "Zwangerschapsmassage etc....". I can see the module buit not the article text.

It's also not clear to me how you managed the articles on the home page of the demo?
User avatar
Fresh Boarder

teitbite
Sat May 21, 2016 6:42 pm
Reply with quote
Report this post
Hi

I forgot to mention not to use "mainbody" module position or module will be displayed in place of the component. In demo there is a "Featured articles" menu item type used.
User avatar
Moderator

GK User
Sun May 22, 2016 5:30 pm
Reply with quote
Report this post
Hi,

The mainbody module position is not used. The modul in the exaple is in bottom1position.
User avatar
Fresh Boarder

teitbite
Tue May 24, 2016 9:31 am
Reply with quote
Report this post
Hi

Please send me an access to joomla panel and ftp. I'll just make it work.
User avatar
Moderator

GK User
Tue May 24, 2016 12:22 pm
Reply with quote
Report this post
Thanks, just send it to you with PM.
User avatar
Fresh Boarder

teitbite
Wed May 25, 2016 12:28 pm
Reply with quote
Report this post
Hi

Couple of things:

1. In custom css field You had a code to hide mainbody part:
Code: Select all
#gkPageContent {
    display: none;
}


2. On frontpage it's set to show featured articles from category Voorpagina where there is no articles at all.

3. There are no featured articles set in any category.
User avatar
Moderator

GK User
Wed May 25, 2016 1:28 pm
Reply with quote
Report this post
Great, I feel kind of stupid about the display: none in the css. I was aware of no articles in categories or featured articles, but I've put that back as it was myself.

Thanks for your help, you really helped me a lot!
User avatar
Fresh Boarder

GK User
Wed May 25, 2016 3:35 pm
Reply with quote
Report this post
Just one more question :) , how do I get those article side by side in two blocks on the frontpage?

Thanks in advance.....
User avatar
Fresh Boarder

teitbite
Sun May 29, 2016 9:50 am
Reply with quote
Report this post
Hi

I would need to see them displaying wrong first. Can You please prepare it for me ? Than I'll be able to look at it and figure out what to do.
User avatar
Moderator


cron