Menu

Build a Joomla Website Forum

Free Joomla support for all and priority support for members.
  1. ambessa
  2. General
  3. Friday, May 31 2013, 02:59 AM
  4.  Subscribe via email
Hello all,

I have a website that uses joomla 2.5 and Jomsocial 2.6.

I have a module that displays pictures, drawn from user profiles. Currently the module (mod_latestmembers) displays the avatars as a single vertical column. I want the photos to be displayed as a grid (5 columns and 3 rows).

Can anybody please help me with this...
Accepted Answer
Tristan Montano Accepted Answer
0
Votes
Undo
You really shouldn't be calling module positions within articles as it isn't really the way the Joomla layout structure works. What you're actually trying to do is load the content of the module into an area that is usually allocated for components. Is the module content going to be within an article, i.e., some of the article's content will appear before and after the module content? Or do you want the module to appear right after the article? If it's the first, it would be best to just copy and paste the content from the module into the article. If there are html elements, paste the code in Code View. If it's the second, create a copy of the module in Module Manager and set it's position to right below the Component area and set it's menu page to that of your article so that the modul appears only on that article page.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General
  3. # Permalink
ambessa Accepted Answer
0
Votes
Undo
Okay,

I finally got it to work and I hope this helps somebody in the future.
I realized the module title, module content and the "show all" link are listed on different consecutive lines of the css file.

So when I moved the module content to a new position I also had to move the title and show all using margins.

In regards to the visual being different on mobile devices. I added 'position:absolute' to the css and now it works.


Thanks for advise Tristan.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General
  3. # 1
ambessa Accepted Answer
0
Votes
Undo
Can you please elaborate on this a bit more?

I am not sure how to call the module position without embedding it in the article. I have opened the article and used the {loadposition} and {loadmodule} and the css did not stay.. If I want the module to appear in an article, how can I call it without typing those commands into the article itself?
Comment
There are no comments made yet.
  1. more than a month ago
  2. General
  3. # 2
Tristan Montano Accepted Answer
0
Votes
Undo
Perhaps you should try calling the module from an actual module position rather than embedding it within an article. That's what the {loadposition} plugin shortcode does, right? You'll have a smaller chance of getting .css conflicts if you run a module separately from the article.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General
  3. # 3
ambessa Accepted Answer
0
Votes
Undo
Hi Tristan,

Thanks for following up!

Still two issues I am trying to work out but I think they are rt_tachyon issues. Like I said, I used margins in the css file to move the module, however still two issues.

1. The module is not positioned correctly on mobile devices.
2. The module title still appears in it's original location.

If there are any suggestions I would appreciate it...
Comment
There are no comments made yet.
  1. more than a month ago
  2. General
  3. # 4
Tristan Montano Accepted Answer
0
Votes
Undo
Hi Ambessa,
Does that mean you got your site module positioned and looking the way you want it now? Everything good?
Comment
There are no comments made yet.
  1. more than a month ago
  2. General
  3. # 5
ambessa Accepted Answer
0
Votes
Undo
Hello,

Thanks for the responses! I am using the rt_tachyon. I tried using {loadposition..} and {loadmodule...}. When I did that the css did not stay with the module. Ie. No background colour, border etc. The module also would no re-size as I changed the size of the table in the article.

So what I did was load the module into a pre-existing template module and moved where the module appeared in the template using template margins and added a z-index. Essentially the module is hovering over top of the article.

I am just hoping it will not affect anything else....
Comment
There are no comments made yet.
  1. more than a month ago
  2. General
  3. # 6
Tristan Montano Accepted Answer
0
Votes
Undo
Hello Ambessa,
Which template are you using? It should come with instructions on what module positions are available so you'll know where to put your modules and how to edit your template's stylesheet to style specific elements.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General
  3. # 7
JP Fourie Accepted Answer
0
Votes
Undo
Ambessa,
I've never tried this myself, but using a table should work, I would think.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General
  3. # 8
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Free Joomla TutorialLearn Joomla for free with our 16 lesson, 2 hour course.

Get Started