Support Forum

  • Page:
  • 1
  • 2

How do I publish to main body?

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Probably real simple but I just can't get it to publish to the mainbody with a link in the mainmenu. There is a way to do that, right?
  • Marc Jager's Avatar
  • Marc Jager
  • Free Extensions
  • 9 posts
  • Karma: 0
The administrator has disabled public write access.
  • Yes just create a new content item.

  • Place {mosloadposition myposition} in the content.

  • Publish the module to the position that you name instead of myposition but make sure its a position that doesnt appear in your template and it will show up in your main body.
<br><br>Post edited by: Anthony Olsen, at: 2007/07/23 21:40
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Thank you very much! That worked like a charm :lol:
  • Marc Jager's Avatar
  • Marc Jager
  • Free Extensions
  • 9 posts
  • Karma: 0
The administrator has disabled public write access.
Hi,

What did u mean by this and how do I do it:


Place {mosloadposition myposition} in the content



I'm using jc Feelsafe template and when editing module Moo FAQ in backend I cannot choose mainBody in the position list because it's not there. In fact it's the only position not shown.



I guess I'm supposed to be able to choose what content item to show the FAQ module on by marking the menu item list. Only thing is that I'm not using main menu for this content but top menu... which isn't in the menu item list.



Here is a link to my page (look at my top menu and click the support link to find the FAQ content item)

www.ddbsweden.se



Thanks for any help on this issue!



//Seb
  • fred's Avatar
  • fred
  • Free Extensions
  • 5 posts
  • Karma: 0
The administrator has disabled public write access.
This img shows what it looks like in backend



  • fred's Avatar
  • fred
  • Free Extensions
  • 5 posts
  • Karma: 0
The administrator has disabled public write access.
Ok so here are the steps:



1. Create a content item called faq

2. In the content item place the following:

{mosloadposition myposition}. Myposition should equal the position you ultimately publish the module to - it should be a position not already used in your template.

3. Create your faq.

4. Publish the module to the position stated in the content item and publish to all menu positions. Thats the right box in the module admin.

5. Link to the content item called faq in the normal way.



That should be it ...





Anthony
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
2. In the content item place the following:

{mosloadposition myposition}. Myposition should equal the position you ultimately publish the module to - it should be a position not already used in your template.



Anthony



Hi Anthony and thanks for your quick reply



I guess I'm tired or something because I didn't see what you meant with "myposition", you see I actually put the text myposition in the calling wha wha. So stupid... but all of a sudden it struck me like a slap right in my face.. Of course I have to put the name of the position I choosed into that place of where you put the "myposition" in the content item!!! It's really embarrasing but what the heck, I could always blame the language differences ;)



Many thanks again,



//Seb
  • fred's Avatar
  • fred
  • Free Extensions
  • 5 posts
  • Karma: 0
The administrator has disabled public write access.
Hello,



Could someone please post more detailed instructions on how to publish this module into a content item? When I follow the steps below I just end up with .myposition (in my specific example .user1) as text on the page. I know I'm missing a step here.


1. Create a content item called faq

2. In the content item place the following:

. Myposition should equal the position you ultimately publish the module to - it should be a position not already used in your template.

3. Create your faq.

4. Publish the module to the position stated in the content item and publish to all menu positions. Thats the right box in the module admin.

5. _link_ to the content item called faq in the normal way.



Thanks so much.
  • Guillaume VASLIN's Avatar
  • Guillaume VASLIN
  • Free Extensions
  • 2 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Matt



Guess I should have done this from the beginning ;)



So here's how if I'm not misstaken:



[code:1]1. Create a content item called faq



2. In the content item place the following:



mosLoadModules ('myposition');



'myposition' should equal the position you ultimately publish

the module to - it should be a position not already

used in your template,

e.g. user1, user2 or whatever.



3. Create your faq.



4. Publish the module to the position

stated in the content item

and publish to all menu positions.

Thats the right box in the module admin.



5. __link__ to the content item

called faq in the normal way.

[/code:1]



Hope it works out!



//Seb
  • fred's Avatar
  • fred
  • Free Extensions
  • 5 posts
  • Karma: 0
The administrator has disabled public write access.
Thank you so much for your response. This lead me to the correct way to insert the module into a content item. The correct syntax to place this in a content item is acutally placing mosloadposition uer1 inside {} where user1 is the position that you publish the module to. Thanks for your help this is a great module
  • Guillaume VASLIN's Avatar
  • Guillaume VASLIN
  • Free Extensions
  • 2 posts
  • Karma: 0
The administrator has disabled public write access.
Thanks for your help on that one Seb ;)
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
matt_aragon wrote:
The correct syntax to place this in a content item is acutally placing mosloadposition uer1 inside {} where user1 is the position that you publish the module to.



Ooops, sorry about that. Guess you shouldn't drink and guideline :P (Hey, it's my week off ;) )



//Seb
  • fred's Avatar
  • fred
  • Free Extensions
  • 5 posts
  • Karma: 0
The administrator has disabled public write access.
I'm throughly confused...:(

Here's what I've tried so far:

1. Installed the MooFAQ Module

2. Followed the installation instructions provided that tell you to edit the CSS and the HTML file. (I edited these from the Admin panel under that specific template...correct?) I'm not 100% sure I added the script lines in the right place. I put it RIGHT before the </head> closing, is this correct?

3. I published the module to the 'user1' position...simply because I'm just following the suggestions here just to understand it first.

4. I wrote a content item and placed mosLoadPosition ('user1'); at the very beginning of the content. I'm using the WYSIWYG editor, would this cause a problem?

5. The content item doesn't look any different except for at the top, the text mosLoadPosition ('user1'); shows up.

What step have I missed?
  • Jan's Avatar
  • Jan
  • Free Extensions
  • 3 posts
  • Karma: 0
The administrator has disabled public write access.
I should also note that I'm using a WYSIWYG editor, would this cause a problem?

I tried to edit my previous post but it kept giving me an error....bug in FireBoard?
  • Jan's Avatar
  • Jan
  • Free Extensions
  • 3 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Jan,

Apologies for the delay on this ...

Looks like the mosloadposition call is a little off ...

Try this without the spaces
{ mosloadposition user1 }
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Hello, found this topic coz I had the same question.. I tried all that on joomla 1.5.7 and it displays the text itself like:
<jdoc:include type="modules" name="user1" />

Any suggestions?
  • Dima's Avatar
  • Dima
  • Free Extensions
  • 3 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Dima,

To load a module in the main content body in Joomla 1.5 you use the following syntac:

{loadposition myposition}

Where myposition is the position that you want to load.

Thanks Anthony
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Yep works fine thanks!

BTW I don't quiet get it: You made this module in a way that you add FAQs in parameters, and it seems like its a finite number of them.. Why not make it so that its possible to add one at a time and also use a WYSIWYG to do it? Seem like more versatile solution to me :unsure:
Or am I missing something?
  • Dima's Avatar
  • Dima
  • Free Extensions
  • 3 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Dima,

Yep you are right - this was one of the first module I created and I havent had a chance to update it. A future version will utilise joomla content rather than adding questions and answers in the module admin.

Cheers Anthony
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Looking forward to it :whistle:
  • Dima's Avatar
  • Dima
  • Free Extensions
  • 3 posts
  • Karma: 0
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers