The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 15 posts ] 
Author Message
PostPosted: Sun Dec 02, 2007 3:55 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Oct 18, 2007 5:53 pm
Posts: 29
OK, the title may be misleading. Let me say what I'm trying to accomplish, because I may be going about it entirely the wrong way.

Here's what I want:

I have a link on my front page. When a user clicks that link, I want them to go to a new page. That page needs to have a module in it, not on the left, not on the right, but right smack dap in the middle of the page.

Here's how I'm approaching it (which is probably wrong)...

I created an article. The menu item on the front page links to that article. I'm trying to put a module in the article.

Should I be going about this differently?

Here's an example: This person put a "Poll" in an article. How? http://demotemplates.joomlashack.com/wo ... iew/14/30/

Thanks.


Last edited by RBenke on Sun Dec 02, 2007 4:04 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Sun Dec 02, 2007 4:21 am 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Oct 10, 2006 5:05 pm
Posts: 184
Location: Montreal
sorry to say but thats not a poll, thats a basic feature in joomla that lets users review articles. i remember seeing an extension  here at joomla that lets you publish a module into an article , i cant remember what the name was but ill keep an eye out for it

_________________
Creator of Scrolling Adds
http://extensions.joomla.org/component/ ... Itemid,35/


Top
 Profile  
 
PostPosted: Sun Dec 02, 2007 4:54 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Oct 18, 2007 5:53 pm
Posts: 29
Thanks for the reply.  :)

But I don't think I need an extension to do what I want to do.

Jooma 1.5 includes a module called "defaultwrapper". Surely the use of that module isn't limited to the confined space of the left or right positions. It needs to have lots of room so the page that it's displaying can be displayed in full. That means the center. But in my case, not the center of the FRONT page, but the center of some other page that's linked to from the front page.

How do I create this "other" page except as an article? And how do I place the defaultwapper module into the middle of it?

I'm confident this can be done, I'm just not figuring it out.


Last edited by RBenke on Sun Dec 02, 2007 5:24 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Sun Dec 02, 2007 5:19 am 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Oct 10, 2006 5:05 pm
Posts: 184
Location: Montreal
sorry only after i posted i realised yo uwhere in 1.5 not to sure about it havent starting to install any site using 1.5. but i still know that the WOW site is not using a module but a component

_________________
Creator of Scrolling Adds
http://extensions.joomla.org/component/ ... Itemid,35/


Top
 Profile  
 
PostPosted: Sun Dec 02, 2007 5:27 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Dec 02, 2007 4:51 pm
Posts: 1
Hi! been looking for a similar solution. Relatively new to Joomla..so may not be best method but found this article!.
Haven't tried it yet, but might fit the bill!

http://www.joomlawebsites.com/joomla-tutorials/admin/insert-a-module-into-a-content-item.html

Regards!!


Top
 Profile  
 
PostPosted: Mon Dec 03, 2007 3:54 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Oct 18, 2007 5:53 pm
Posts: 29
I read the tutorial linked above. I think it presumes more knowledge than I have. It says to insert that code into your new page. What page? An article isn't a page, it's an entry in a database.

There isn't a way (that I've found) to create a new page on a Joomla site, at least not by using the Joomla control panel. Creating a new page looks like something that would have to be done manually, by someone who is very schooled in the use of PHP and could write a page from scratch.

So I'm going to put a new post in the forum that asks about creating a new page.


Last edited by RBenke on Mon Dec 03, 2007 4:14 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Mon Dec 03, 2007 7:22 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Oct 10, 2006 5:05 pm
Posts: 184
Location: Montreal
you underestimate the power of joomla.
i recommend you read up on the manuall for starters to joomla.

once you creat an article in statci or regular content with section and category, you can then go into the menu section from the top and choose main menu. then simply click on new, it will give you options to creat any type of page, we want for exampl blog of  a specific category then yo uselect a name and a category to display and click save.

i recommend you go read up on the howto's

_________________
Creator of Scrolling Adds
http://extensions.joomla.org/component/ ... Itemid,35/


Top
 Profile  
 
PostPosted: Wed Dec 05, 2007 8:53 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jul 05, 2007 9:21 pm
Posts: 27
Location: Cape Cod, MA
RBenke:

It's actually really easy to do. In your template, find where it says
Code:
<jdoc:include type="component">


after it put :

Code:
<?php if($this->countModules('content')) { ?>
                  
   <jdoc:include type="modules" name="content" style="box" />

<?php } ?>


You'll then assign the module that you want displayed there to that position ("content") and make sure you pick which menu items you want it to display for...

Hope that helps...

_________________
Per aspera, ad astra.


Top
 Profile  
 
PostPosted: Thu Dec 06, 2007 3:17 pm 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Fri Aug 26, 2005 1:31 am
Posts: 1347
RBenke wrote:
I created an article. The menu item on the front page links to that article. I'm trying to put a module in the article.


If I understand you, its pretty easy, just use the mosloadposition syntax right into the article, for example:

{mosloadposition user1}

_________________
Follow me on Twitter @compassdesign
www.compassdesigns.net - Get get free templates and news for Joomla
simplweb.com/joomla-hosting - Fully Managed Joomla Hosting - Unlimited Support


Top
 Profile  
 
PostPosted: Thu Dec 06, 2007 3:18 pm 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Fri Aug 26, 2005 1:31 am
Posts: 1347
Forgot to add, then of course you need to publish a module to that position (user1)

_________________
Follow me on Twitter @compassdesign
www.compassdesigns.net - Get get free templates and news for Joomla
simplweb.com/joomla-hosting - Fully Managed Joomla Hosting - Unlimited Support


Top
 Profile  
 
PostPosted: Sat Dec 08, 2007 3:06 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jul 05, 2007 9:21 pm
Posts: 27
Location: Cape Cod, MA
compass wrote:
RBenke wrote:
I created an article. The menu item on the front page links to that article. I'm trying to put a module in the article.


If I understand you, its pretty easy, just use the mosloadposition syntax right into the article, for example:

{mosloadposition user1}


If we're talking J1.5, you'd use the JDoc:Include syntax. mosloadposition is for J1.0.x.

_________________
Per aspera, ad astra.


Top
 Profile  
 
PostPosted: Sun Dec 09, 2007 7:03 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar
Online

Joined: Thu Aug 18, 2005 9:58 am
Posts: 9896
Location: Hillerød - Denmark
For 1.5 theres a slight change in the term used to show a position with the use of the plugin that is named 'Content - Load Module'.
1.0.x = mosloadposition
1.5.x = loadposition

So you can include the module(s) from a module position in an article in 1.5 by writing {loadposition user1}

_________________
Ole Bang Ottosen
Kommerciel Support, Migrering og Kurser i joomla 2.5 www.ot2sen.dk
Dansk Joomla! support websted - www.joomla.dk


Top
 Profile  
 
PostPosted: Fri Jan 18, 2008 1:31 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Nov 16, 2007 9:54 am
Posts: 16
Hello

I have put the loginmodule in an article, but it also shows in the normal user1 postition - so it displays twice - what to do ?

I am a newbe

Nils


Top
 Profile  
 
PostPosted: Mon Jan 21, 2008 2:40 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Wed Nov 22, 2006 10:18 pm
Posts: 111
Location: Bulgaria
njuelbli wrote:
Hello

I have put the loginmodule in an article, but it also shows in the normal user1 postition - so it displays twice - what to do ?

I am a newbe

Nils


Create new module position, like user8 and place the module there

_________________
Please read forum rules regarding signatures: viewtopic.php?t=65


Top
 Profile  
 
PostPosted: Mon Jan 21, 2008 3:20 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Nov 16, 2007 9:54 am
Posts: 16
Thank you for your help
I got it !!!!

Nils


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 



Who is online

Users browsing this forum: No registered users and 11 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® Forum Software © phpBB Group