Features side by side

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
6/25/2012 7:48:04 AM
Gravatar
Total Posts 18439

Re: Features side by side

ConfigureModuleID is supposed to be the integer module id of the content instance not that title or name of it. To find the module id put it on a page as normal then visit the settings page and it will be the url parameter mid

 

6/25/2012 8:03:48 AM
Gravatar
Total Posts 21

Re: Features side by side

Ah thank you Joe that saved me a lot of head scratching!

6/25/2012 10:14:10 AM
Gravatar
Total Posts 2254

Re: Features side by side

Hi,

With the addition of the "Custom CSS Class" option some time ago, this is actually a lot easier now and you don't need to use ModuleWrapper at all. Also, the limitation on which modules you can use is gone if you use the method below.

For example, if you have two modules that you want side-by-side all you have to do is create some CSS classes and rules, and add those classes to the module settings for each module.

Add this to your CSS:

.float-left { float: left; margin-right: 15px; }
.float-left + .float-left { margin-right: 0; }
.float-left + .float-left:after { content: ""; clear: both; height: 0; display: none; } /* this clears the float so you don't mess up the layout */

Click the settings link next to modules you want side-by-side and add "float-left" (without quotes) to the "Custom CSS Class" option. 

HTH,
Joe D.

 

6/29/2012 4:01:54 AM
Gravatar
Total Posts 355

Re: Features side by side

If you'd like, here's a more detailed article, with some screenshots:

http://blog.arvixe.com/mojoportal-tip-how-to-break-out-of-the-mold-and-into-the-grid/

as well as a live site using the techniques mentioned:

http://www.mechanicalmama.com

You must sign in to post in the forums. This thread is closed to new posts.