<iframe> after article in joomla

Asked

Viewed 174 times

1

Talk people... I need help from someone who has a little more experience in joomla.

I’ll summarize my question for you. I’m currently working on a website for books (cubomagi.co/bdl) When the user enters the link of some book, the book information will appear, etc... Example: It’s the stars' fault

Now comes the real doubt

To appear the book, I am using an iframe that I put inside the text when I create an article in joomla, however the size is limited due to the setting of the article. I wonder if there is any way for me to put iframe after the article tag, if there is any plugin already created that allows this or etc?

  • Gean edited my answer with more information, I think the way is to format the SideBar.

1 answer

0


Try it like this... You can create a module type "Custom" (unfortunately one for each book, because each one will have a <iframe> different).

After that enables this Module on the book article page, not within the article, but on the article page.

There you choose a position for the module with the <iframe> of the book that falls below the content of the article.

See in the images to better understand.

inserir a descrição da imagem aqui

inserir a descrição da imagem aqui

Another thing I noticed is that the article has a side bar that occupies a col-sm-4 which is a Grid class from Bootstrap3. And the iframe of the Book occupies a col-sm-8

Grid of the Bootstrap

<link href="/bdl/templates/ja_moviemax/local/css/themes/cyan/bootstrap.css" rel="stylesheet" type="text/css" />

Grid content layout

inserir a descrição da imagem aqui

So in your case I would format this <div class="col-sm-4 article-sidebar"> with the information from the book for him to occupy a col-sm-12 and would leave the iframe of the free occupy a col-sm-12 also, as in the image below.

inserir a descrição da imagem aqui

So in your case I would try to change the format of Sidebar and not try to play the iframe down in the gambit.

  • This was my first idea to link the books to your article, however what hangs is the amount of book published on the old site that I will have to pass to the new, are more than 150 books, so I would have double work to create the article, the module. However, my other problem is that: I will not be the one to take care of the site after it is done, so I wanted to make it as easy as possible for the next person, because she is very lay in relation to joomla...

  • I will adhere to the idea, was visibly much better in the tip you gave, thank you Hugo. att

  • @Geancarlos glad you liked the idea, good luck with the project.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.