Solved

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

Posted on 2011-09-12
9
239 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 500 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

Title # Comments Views Activity
t3 framework 4 887
Joomla how to click graphic image and go to url 9 266
Enabling compression in WARP Framework template 5 95
How to move down background image? 1 103
Here is a tutorial for making your own Joomla templates. Note before reading, you should have some existing knowledge of web development using HTML and CSS. Design Layout: Design your template in a graphics program like Adobe PhotoShop or Corel…
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

749 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