?
Solved

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

Posted on 2011-09-12
9
Medium Priority
?
243 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
9 Comments
 
LVL 12

Expert Comment

by:Panagiotis S
ID: 36522971
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
ID: 36523065
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:Panagiotis S
ID: 36523082
is the new template ok, meaning does it contain the core component?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:iamdiggnified
ID: 36523264
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
 
LVL 12

Expert Comment

by:Panagiotis S
ID: 36523285
it must contain the core component
0
 

Author Comment

by:iamdiggnified
ID: 36523461
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:
Panagiotis S earned 2000 total points
ID: 36523567
<jdoc:include type="component" />

0
 
LVL 13

Expert Comment

by:Andrew Derse
ID: 36523848
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
ID: 36524380
Thanks Panagiotiss, removing the name attribute did the trick.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What you will need: Any version of Photoshop or similar product (examples in Photoshop) Internet Access FTP Access to your joomla install or ability to upload images within joomla administrator backend Create Image: Lets start off with cre…
Have you ever wanted to use that sweet jQuery gallery plugin on your Joomla site but couldn't get it working due to jQuery conflicts or your lack of knowledge about what's under the Joomla hood? This article will step you through the process of impl…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses
Course of the Month11 days, 9 hours left to enroll

752 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