Support Forum

  • Page:
  • 1
  • 2

Is possible to put Captify Content inside an article?

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

I was asking myself if is possible to get Captify content inside an article.

The only way that I found to put that module is inside a position of joomla, like top1, top2, or top3 but I'm interested in to put it in an article.

Is it possible?

Thanks in advanced.
  • aleph2u's Avatar
  • aleph2u
  • JB Pro
  • 2 posts
  • Karma: 0
The administrator has disabled public write access.
Yep,

Take a look at this page
docs.joomla.org/How_do_you_put_a_module_inside_an_article%3F

I normally put it inside a div so I can position it using css

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks a lot for your Asap answer. It seems that works perfecte.

Thanks again.

Regards

David
  • aleph2u's Avatar
  • aleph2u
  • JB Pro
  • 2 posts
  • Karma: 0
The administrator has disabled public write access.
no problem :)

Is a great way of using modules - to be honest I use it more frequently than template module positions

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
paulus103 wrote:
Yep,

Take a look at this page
docs.joomla.org/How_do_you_put_a_module_inside_an_article%3F

I normally put it inside a div so I can position it using css

Cheers
Paul

Does using a div mean we could center the module or put 2 modules side by side in the article?
I've used load position and load module id before, but could only get them to sit at the left and stack one above the other despite one column page layout
  • Virginia Garnitz's Avatar
  • Virginia Garnitz
  • 12 Month Developer
  • 141 posts
  • 1 Thanks
  • Karma: 2
Last Edit: 12 years 11 months ago by Virginia Garnitz.
The administrator has disabled public write access.
Hi,

I've not had need to have two modules next to each other but I don't see why not.

I always do a loadpositon for maps and float it alongside the contact details, directions etc

Create two divs with loadposition elements in (making sure there is enought width for the two to fit otherwise they will drop include padding/margin)

Float the first div and see what happens :)

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
p.s you might need a clearing element or not depending on the div sizes for content underneath

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks for the information.
every time I get an answer to a question, I find I know even less than I thought

I'm going to have to find a good tutorial book and go through cover to cover. I came to joomla directly from iweb and freeway pro, so working on css directly is completely new to me
  • Virginia Garnitz's Avatar
  • Virginia Garnitz
  • 12 Month Developer
  • 141 posts
  • 1 Thanks
  • Karma: 2
Last Edit: 12 years 11 months ago by Virginia Garnitz.
The administrator has disabled public write access.
Working with css is pretty much essential and we live in exciting times with css3 and html5 filtering through

You'll need to add html classes or ids as well and reference them in the css

<div class="map">blah blah</div> in html

.map {float: left; margin: 1em 1em 1em 0;} in css

you are targetting a map class (with a dot vrs # for id) and saying float left in the content and applying top, right, bottom margin all 1em and left o (they are in order listed)

I could degress about IE6 issues with double margin bug but don't want to get carried away :)

Good luck with it

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi there,

I followed the instructions above but can't get the module (or any module for that matter) to display inside an article.

It will display in a specific position (such as debug) but not when I use

{loadposition contentmenu} and assign that to the module's position.

The required pluggin is enabled. Any thoughts?

Thanks

Paul
  • paulbull01's Avatar
  • paulbull01
  • JB Pro
  • 11 posts
  • Karma: 0
The administrator has disabled public write access.
Hi

This article is probably better than the one I listed

www.ostraining.com/blog/joomla/loadposition-loadmodule/

so you have the position created in the position module box

Published module to all pages

and the syntax is correct in the article and it selects the position created in the module manager?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul

Thanks for that article. Yes I followed those steps to the letter and it's just not showing. I checked the HTML of the article and it had a load of span tags stating read only. I removed these and all working now!

Thanks

Paul
  • paulbull01's Avatar
  • paulbull01
  • JB Pro
  • 11 posts
  • Karma: 0
Last Edit: 10 years 9 months ago by paulbull01.
The administrator has disabled public write access.
And no module displays?

- have you tried a basic html module with a line of text only

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I checked the HTML of the article and it had a load of span tags stating read only. I removed these and all working now!

Thanks

Paul
  • paulbull01's Avatar
  • paulbull01
  • JB Pro
  • 11 posts
  • Karma: 0
The administrator has disabled public write access.
No problem

Good luck with the site

Cheers
Paul :)
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks Paul.. it's coming along nicely.. just one question re article titles.. is it possible to have the title at the bottom on the image rather than below it?

Thanks

Paul
  • paulbull01's Avatar
  • paulbull01
  • JB Pro
  • 11 posts
  • Karma: 0
The administrator has disabled public write access.
Not via the settings I'm afraid

I can get the title to the top by adding

.captifyTitle {position: absolute;}

and then add a padding value for top and left

e.g. for the grid2 template
padding: {150px 0 0 50px;}


so its

.captifyTitle {position: absolute; padding: 150px 0 0 50px;}

The padding would depend on the image size

You'd need to check it out on poorer browsers and I'm also assuming its not being added to a responsive template

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks Paul... Where do I place that code?

All the best,

Paul
  • paulbull01's Avatar
  • paulbull01
  • JB Pro
  • 11 posts
  • Karma: 0
The administrator has disabled public write access.
Hi

You'd need to place it your template css coding

Most templates have a stylesheet set aside for custom css

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
How do I know it's not a responsive template? The one I'm using is Beez_20

Which of these CSS files should I put it in:


Edit css/black.css
Edit css/general.css
Edit css/general_konqueror.css
Edit css/general_mozilla.css
Edit css/general_opera.css
Edit css/ie7only.css
Edit css/ieonly.css
Edit css/layout.css
Edit css/nature.css
Edit css/nature_rtl.css
Edit css/personal.css
Edit css/personal_rtl.css
Edit css/position.css
Edit css/print.css
Edit css/template.css
Edit css/template_rtl.css

Cheers

Paul
  • paulbull01's Avatar
  • paulbull01
  • JB Pro
  • 11 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