Solved

how do I get a Joomla Component to appear on a separate page with a new Template?

Posted on 2011-09-12
9
233 Views
Last Modified: 2012-05-12
I have a Joomla component that I want to appear on a page by itself without any formatting of the original template nor any menu, header, or footer modules from my joomla Web site. I created a new barebones template. I have the Joomla Component created and  the barebones template created. My question is what cateogry or menu items do I have to create to get my component working and how do I assign my barebones template to it in order for it to work?
Thanks.
0
Comment
Question by:iamdiggnified
  • 4
  • 4
9 Comments
 
LVL 12

Expert Comment

by:panagiotiss
Comment Utility
you have to assign the menu item to the new template.

go to extensions template manager and choose the template you want to assign the menu with

in the Menu Assignment select the menu item

thats all
0
 

Author Comment

by:iamdiggnified
Comment Utility
panagiotiss, in the template manager i assigned the template to my menu item and my component is not showing up on the page. The menu type  of the menu item i created was the component itself.
0
 
LVL 12

Expert Comment

by:panagiotiss
Comment Utility
is the new template ok, meaning does it contain the core component?
0
 

Author Comment

by:iamdiggnified
Comment Utility
the template doesn't contain the core component. I was hoping I could use this template for other components later on. I made a duplicate of the original template. Stripped out the original layout and recreated a new layout (the code is written below). The template is showing up in the template mgr.

<div id="wrapper-blankpage">
     <jdoc:include type="modules" name="start-blankpage" style="xhtml" />
       <jdoc:include type="component" name="start-blankpage" style="xhtml" />
</div>

The name "start-blankpage" refers to positioning. The names of the modules and components on my old layout referred to things like "above component" "lower right". Maybe I have to create a separate module, select the "start-blankpage" position, and I assign the component to this module?
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 12

Expert Comment

by:panagiotiss
Comment Utility
it must contain the core component
0
 

Author Comment

by:iamdiggnified
Comment Utility
when you say "core component" you are referring to the component i'm trying to see on my new template page? I have many other components on my existing joomla website that don't require them to be put in the template of the page.
0
 
LVL 12

Accepted Solution

by:
panagiotiss earned 500 total points
Comment Utility
<jdoc:include type="component" />

0
 
LVL 13

Expert Comment

by:NUKIT
Comment Utility
Two questions:

1) Can you see the component in the old template (without trying to switch it to the new template)
2) Can you see the new template when you set it to be the default for that particular menu item?
0
 

Author Closing Comment

by:iamdiggnified
Comment Utility
Thanks Panagiotiss, removing the name attribute did the trick.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Welcome Friends, This is the tutorial for how to create new simple module in joomla 1.5. In the module has two important files. One is XML file and another file is PHP controller file. First you need to create the XML file. (CODE) …
First of all, we will need Jumi component or Sourcerer plugin for this to work. We need either of these because the main focus here is custom development outside of the standard modules or articles within Joomla. You can find Jumi here...it's my …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now