Joomla! Discussion Forums



It is currently Thu Nov 26, 2009 1:04 pm (All times are UTC )

 




Post new topic Reply to topic  [ 14 posts ] 
Author Message
Posted: Wed Oct 03, 2007 6:14 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sun Jul 23, 2006 1:03 am
Posts: 191
hey guys,

quick question for you.

i am working on a new project and i need to be able to load multiple components on the same page.

now i have read in the forums that joomla cannot do this, but

is there not a way to code in a component into a module possition?

if there isnt

is there not away to add components to content items?

thanks in advance for the help

rl

_________________
http://ninjaforge.com - Get on the cutting edge!


Top
  E-mail  
 
Posted: Sat Feb 16, 2008 2:42 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Feb 16, 2008 1:21 pm
Posts: 8
Hello, I was equally frustrated trying to get a component into a module until I had a moment of brilliance!
I have found a relatively simple way to get around this problem.

The method I used was to put it in a wrapper.
Step 1.
Download attachment.
Or..
Create it yourself.

The template would look something like this for joomla! 1.0.x.

1.1Create folder named "Componentshow".

1.2 Create index.php

<html><head>
<?php mosShowHead(); ?>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<table width="100%" border="0">
<td width="100%" height="100%" valign="top">
<?php mosMainBody(); ?>
</td>
</table></body></html>

1.3 Create templateDetails.xml

<?xml version="1.0" encoding="iso-8859-1"?>
<mosinstall type="template" version="4.5.2">
<name>Componentshow</name>
<creationDate>16/02/08</creationDate>
<author>Unknown</author>
<copyright>GNU/GPL</copyright>
<authorEmail> nobody@nowhere.com </authorEmail>
<authorUrl>http://www.nowhere.com</authorUrl>
<version>0.1</version>
<description>Blank Mainbody Template</description>
<files>
<filename>index.php</filename>
<filename>template_thumbnail.png</filename>
</files>
<css>
<filename>css/template_css.css</filename>
</css>
</mosinstall>

1.4 Create a "template_thumbnail.png" file for the template logo.
1.5 Create folders named "Images" and "css" in template folder.
1.6 Create a blank "template_css.css" file in the css folder.

Step 2.
Go to your menu manager and create a new menu. Name it whatever you wish.
Add the component you need to the new menu.
Copy the itemid of the component.

Step 3.
Go to your module manager and copy the wrapper module and name it.
Put the component url into the wrapper replace the bracket items accordingly.
url: [site location]/index.php?option=com_[componet]&Itemid=[itemid]

Now, set your module position to an unused position for example: user9.

Step 4.
Go to mambots and make sure loadModulePositions is enabled.

Step 5.
Go to any place in your content and insert the following code. {mosloadposition user9}.

Step 6.
Go to your template manager and assign the template to your component only.

Step 7.
Go to the location and check that everything works. You can now modify the template's php's or css file to fit your needs.

Step 8.
Buy me a beer!

You are now able to put components anywhere inside content or modules!

Hope this solved your problem.


You do not have the required permissions to view the files attached to this post.


Top
  E-mail  
 
Posted: Sun Mar 02, 2008 8:19 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Sep 15, 2005 1:15 am
Posts: 133
To display component in content you can use my Component includer mambot http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,2723/Itemid,35/

_________________
JBS member
BzZzZ, marketing and web communication agency: http://www.bzzzz.biz
Belmondo.si travel: http://www.belmondo.si


Top
  E-mail  
 
Posted: Mon Mar 03, 2008 5:58 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Feb 16, 2008 1:21 pm
Posts: 8
Thanx! This bot works perfectly and saves a lot of effort.


Top
  E-mail  
 
Posted: Mon Apr 07, 2008 4:03 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Mon Jul 23, 2007 5:04 pm
Posts: 144
Location: Hawaii
The download link to this component does not work.


Top
  E-mail  
 
Posted: Mon Apr 07, 2008 6:34 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Sep 15, 2005 1:15 am
Posts: 133
works fine her - but you can try http://joomlacode.org/gf/project/kausproject/frs/


Top
  E-mail  
 
Posted: Mon Apr 14, 2008 8:50 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Mar 03, 2008 11:37 pm
Posts: 26
And how about:

Code:
mosLoadComponent (component_name);


Should solve nO?

Best Regards,

_________________
http://www.ninjoomla.com - Professional Joomla Extensions Club
http://www.ricardojrsousa.com - Joomla Services


Top
  E-mail  
 
Posted: Thu May 01, 2008 1:38 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Sat Jan 07, 2006 5:19 am
Posts: 82
You can just create an article, put the component in a wrapper as explained and load the wrapper into the article using loadModulePositions without the special template.

I found the componentbot good however had no control over scrolling etc - once it hit the dimensions of the bot it cut out the rest of the content.


Top
   
 
Posted: Tue Jun 17, 2008 5:57 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Feb 17, 2007 11:05 am
Posts: 36
hi all, thanks guys. it did really helped me a lot...... thanks again for sharing ur ideas. :)

_________________
:-* :-* :-* :-* --- don't take them if you don't like! If u wants me to stop kidding, just upgrade to levwii's paid version. Just after u upgrade, kidding script might be stopped. Yeah! There r still few bugs more to be solved-


Top
  E-mail  
 
Posted: Tue Jun 17, 2008 6:45 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Feb 17, 2007 11:05 am
Posts: 36
Hi Dieter Gribnitz,
man ur solution was just great in mi case as i'm using joomla1.5.x version(with legacy mode 'on'). Buddy i'm not great at making templates or any such things though i'm quiet Ok with CSS coding.
what i'm trying to say is it will be great if u make that template for pure joomla 1.5.x standard. and share it here.
---- thanks again and hope u make it happen as it is easy for u to make it. :)

_________________
:-* :-* :-* :-* --- don't take them if you don't like! If u wants me to stop kidding, just upgrade to levwii's paid version. Just after u upgrade, kidding script might be stopped. Yeah! There r still few bugs more to be solved-


Top
  E-mail  
 
Posted: Tue Mar 17, 2009 10:41 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Dec 03, 2008 9:25 am
Posts: 9
In Joomla 1.5, there is a default plugin which does this. You can call any module position in a content item with the following code:

{loadposition user9}

Remember, you have to enable the loadmodule plugin from the Plugin Manager.


Top
  E-mail  
 
Posted: Sat Oct 10, 2009 6:09 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Sep 15, 2005 1:15 am
Posts: 133
You can't load component via loadposition, that one is used only for modules.

_________________
JBS member
BzZzZ, marketing and web communication agency: http://www.bzzzz.biz
Belmondo.si travel: http://www.belmondo.si


Top
  E-mail  
 
Posted: Mon Nov 23, 2009 1:16 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Jun 22, 2009 12:28 pm
Posts: 13
Hi,

Please have a look at this link http://www.jomexperts.com/download/cat_ ... dules.html

This module is called Component Loader.

It allows you to load any component to any module position of the Joomla page WITHOUT using Iframes.

Demo can be found at this link : http://demo.jomexperts.com

It is completely free and requires registration which is also free.

_________________
Thanks
Jomexperts
http://www.jomexperts.com
admin@jomexperts.com


Top
  E-mail  
 
Posted: Wed Nov 25, 2009 10:05 pm 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Sun May 25, 2008 8:05 am
Posts: 1653
Location: Montreal, Quebec, Canada
@jomexperts

I got a security warning after clicking on my account activation link in the email that is sent upon registration. This is the very FIRST time that I have ever encountered this. You may want to check that out! Naturally, I declined :)

Cheers!
Lyle

_________________
www.2ninerniner2.com - FREE templates/themes-Joomla!,Drupal,WordPress,HTML, Joomla! tips/getting started guides for beginners
www.cfwzz.com - my old 'ride'

@2ninerniner2 - don't take life too seriously - no one has ever gotten out of it alive


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group