-
AuthorPosts
-
March 6, 2016 at 7:21 am #895409
I’ve just upgraded to Joomla v3.4 from v2.5. I was using the older T3 framework and I’m trying to use the new T3 Framework. Many of my pages have this html code:
<p>We saw countless <span><a class="modal" href="images/Myanmar-Stupas.jpg">Buddhist Stupas</a></span></p>
This worked okay in the older T3 framework (after I added "JHTML::_(‘behavior.modal’);" to the template index.php file.)
This technique works fine in the standard Beez3, but the link is simply not displayed in "T3_bs3_blank".
How can I get the Modal class working in T3 Framework?
March 7, 2016 at 1:00 pm #896080OK, after beating my head against a wall for a day, I’ve discovered this little gem – —
It looks like I have to create a custom.css file in "root/templates/mytemplate/css/custom.css" and then create a new .modal class. Is that the correct approach? Also why is the default bootstrap modal class in T3 set to display:none. Am I missing something or is this a bug?
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
March 9, 2016 at 6:26 am #896983Hi,
Have a look at this page. There should be two images with modal links and a dozen words with modal links.
It works okay on my Joomla 2.5 site:
http://www.thehowarths.net/albacronicles/recent-posts/584-myanmar-then-backBut doesn’t work on my test Joomla 3.4 site:
http://yachtalba.com/albacronicles/recent-posts/584-myanmar-then-backThanks for your help.
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
March 10, 2016 at 12:41 am #897608Hi Adam,
That works – thank you very much.
http://yachtalba.com/albacronicles/recent-posts/584-myanmar-then-back
The hyperlink text is floating in the middle of the line and the content text is not flowing around the images, so I guess that I have to add more formatting css to the custom.css file ?
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
March 13, 2016 at 12:50 am #898838Hi Adam,
That’s great. Many thanks for your help. I really like the T3 framework.
If you’ve got a spare minute, can you explain why modal is configured to display:none in the T3 Bootstrap?
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
March 15, 2016 at 11:10 am #899921OK, thanks for your help.
March 18, 2016 at 6:02 am #901632Hi,
I’ve run into a problem with images embedded in articles that is also related to the modal problem, which I’m unable to resolve. Could you have a look at a typical page for me?
http://yachtalba.com/alba-chronicles/recent-posts/22-myanmar-then-back
-
I’m using custom.css to override the modal "display:none" issue. This works fine with text and also displays images, but something is preventing text wrapping around the image.
-
The first image on the page has <a class="modal" and the text doesn’t flow around the image.
- I’ve removed the modal class from the second image and the text flows correctly.
Any idea?
March 21, 2016 at 11:49 am #902853Hi,
I’m still struggling to find a solution to get around the "modal" bug and can’t get text to flow around my images (see previous post).
Can you give me any clues as to what to do?
Neville
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 22, 2016 at 4:05 am #903161In the ‘custom.css’ file, add
float: left;
property for this class:body .modal { display: inline-block; position: static; float: left;
March 22, 2016 at 11:14 am #903295Hi,
Thank you very, very much. I’d tried everything, but never thought of "reinforcing" the in-line css of the surrounding div. So simple, when you see it…
I’m very happy with the T3 framework – excellent work.
-
AuthorPosts
This topic contains 14 replies, has 3 voices, and was last updated by Saguaros 8 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum