VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
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

Missing main content area
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Missing main content area

Missing main content area 17 Apr 2015 15:29 #6554

Hi, I've figured out, through trial and error, that I can get articles to appear in the main content area of the template by marking the articles as 'featured'. That's a standard joomla article, not a K2 item.

Now, I would like to show some content in the main template area depending on what menu item is pressed. For instance, I might want to show a particular module when the user presses the MyModule menu item. When I configure that module I have to provide a position. There is no position available for the main content area. I can display the module in the bottom-content area but it doesn't look right.

How can I get access to the main content area using this template?

thanks.
Last Edit: 17 Apr 2015 15:33 by flobadob. Reason: typo

  • Posts:2
  • flobadob
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Missing main content area 20 Apr 2015 02:51 #6563

You can create a new module position in main content area.

joomfreak

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

Re: Missing main content area 20 Apr 2015 09:16 #6569

isupport wrote:
You can create a new module position in main content area.

joomfreak


Yes, I guessed that it would be possible to do this. The question is, how?

  • Posts:2
  • flobadob
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Missing main content area 22 Apr 2015 03:57 #6585

Edit templates/jf_taman/templateDetails.xml file, find <positions> tag and add this:

This image is hidden for guests. Please log in or register to see it.


Edit templates/jf_taman/index.php file, after [<]jdoc:include type="component" /[>] add this:

This image is hidden for guests. Please log in or register to see it.


joomfreak
Last Edit: 22 Apr 2015 04:05 by isupport.
The following user(s) said Thank You: favarettom

  • Posts:2940
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 0.88 seconds
Thursday 10 October 2024

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.