Jump to content

Archived

This topic is now archived and is closed to further replies.

nimaworks

Modal link inside textbox

Recommended Posts

nimaworks+    2
nimaworks

Please Help :)

 I tried to use pl_modal as shown below in a textbox. It worked but with a small problem. It lives a space (<p>) between "Alfred Vanderbilt’s", which I use as a modal label, and "grandson" which is outside modal. I tried to find a solution to your forum but I didn't find anything relevant. I would like to ask if there is any solution for that. I also tried [pl_raw] which eliminates <p> but nothing happened.

 

The site is running on a test server.

http://nima.poweredbyclear.com/lusitaniarex/?page_id=65

 

 

Thank you in advance



[pl_modal title="Alfred Gwynne Vanderbilt I"  label="Alfred Vanderbilt’s"]<img src="<myimagesource>"><p>Alfred Gwynne Vanderbilt, Sr. (October 20, 1877 – May 7, 1915) was an extremely wealthy sportsman and a member of the famous Vanderbilt family of philanthropists. He died on the RMS Lusitania.On May 1, 1915, Alfred Vanderbilt boarded the RMS Lusitania bound for Liverpool as a first class passenger. It was a business trip, and he traveled with only his valet, leaving his family at home in New York. On May 7 off the coast of County Cork, Ireland, the German U-boat, U-20 torpedoed the ship, triggering a secondary explosion that sank the giant ocean liner within 18 minutes. Vanderbilt and his valet, Ronald Denyer, helped others into lifeboats, and then Vanderbilt gave his lifejacket to save a female passenger. Vanderbilt had promised the young mother of a small baby that he would locate an extra life vest for her. Failing to do so, he offered her his own life vest, which he proceeded to even tie on to her himself since she was holding her infant child in her arms at the time. Many consider his actions to be very brave and gallant since he could not swim, he knew that there were no other life vests or lifeboats available, and yet he still gave away his only chance to survive to the young mother and child.[/pl_modal]grandson and the Duke of Marlborough have shared with him original material and anecdotes about their grandparents that are reflected in the story.

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

Please could you take a screen shot of the screen with the full text so we can try and recreated this for you - or alternatively paste in the full text of the page and we will look at this for you. 

  • Like 1

The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
nimaworks+    2
nimaworks

Thank you very much for your help and support.!!

 

Find below the code inside "Text Content" of "Media Box"

 

Greg has always loved history and was drawn to the tale of the Lusitania because he was fascinated by the cataclysm of elegant Edwardian society caused by the brutal warfare the industrial success of that society made possible.  His passion for research and discovery has led him to visit the numerous historical sites that appear in the book.<p>Greg currently lives in London and has spent his career in investment banking and asset management between New York and London.  Greg wrote LUSITANIA R.E.X while founding and developing his own investment management firm.  He is originally from Colorado and returns regularly to visit family and friends and enjoy the Rocky Mountains. <p>Greg studied history as an undergraduate at Williams College in Massachusetts as well as the University of Durham, England.  He attended the School of Management at Yale University where he lived one block from The Tomb of [pl_modal title="Skull and Bones"  label="Skull and Bones"]
<img src="http://nima.poweredbyclear.com/lusitaniarex/wp-content/uploads/2014/03/skull_n_bones.png"><p>Skull and Bones is an undergraduate senior secret society at Yale University, New Haven, Connecticut. It is the oldest senior class landed society at Yale. The society's alumni organization, the Russell Trust Association, owns the society's real estate and oversees the organization. The society is known informally as "Bones", and members are known as "Bonesmen".
[/pl_modal]<p>Greg has been fortunate to develop a relationship with the descendants of the some of the main characters in the book.  [pl_modal title="Alfred Gwynne Vanderbilt I"  label="Alfred Vanderbilt’s"]<img src="http://nima.poweredbyclear.com/lusitaniarex/wp-content/uploads/2014/03/220px-Alfred_Vanderbilt.png"><p>Alfred Gwynne Vanderbilt, Sr. (October 20, 1877 – May 7, 1915) was an extremely wealthy sportsman and a member of the famous Vanderbilt family of philanthropists. He died on the RMS Lusitania.On May 1, 1915, Alfred Vanderbilt boarded the RMS Lusitania bound for Liverpool as a first class passenger. It was a business trip, and he traveled with only his valet, leaving his family at home in New York. On May 7 off the coast of County Cork, Ireland, the German U-boat, U-20 torpedoed the ship, triggering a secondary explosion that sank the giant ocean liner within 18 minutes. Vanderbilt and his valet, Ronald Denyer, helped others into lifeboats, and then Vanderbilt gave his lifejacket to save a female passenger. Vanderbilt had promised the young mother of a small baby that he would locate an extra life vest for her. Failing to do so, he offered her his own life vest, which he proceeded to even tie on to her himself since she was holding her infant child in her arms at the time. Many consider his actions to be very brave and gallant since he could not swim, he knew that there were no other life vests or lifeboats available, and yet he still gave away his only chance to survive to the young mother and child.[/pl_modal]grandson and the Duke of Marlborough have shared with him original material and anecdotes about their grandparents that are reflected in the story.

Share this post


Link to post
Share on other sites
nimaworks+    2
nimaworks

This screenshot is from admin panel

[attachment=2083:DMS_Admin_Panel.jpg]

Share this post


Link to post
Share on other sites
nimaworks+    2
nimaworks

[attachment=2084:site_preview_with_problem.jpg]

This preview shows the problem with the <p>...

Thank you in advance!!

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

what happens when you remove this? http://screencast.com/t/5IqnBhtJ8tgW

  • Like 1

The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

Yeah i tried that and it didn't work. 

 

Have you tried stripping any formatting from your text using a programme or service such as http://www.zubrag.com/tools/html-tags-stripper.php

  • Like 1

The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
nimaworks+    2
nimaworks

The <p> that you mentioned above is for the modal text content (leaves space below modal picture). I tried and as you noticed it didn't work. I' ll try the second solution you provided and I' ll let you know. Thank you very much again.

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites

  • Similar Content

    • balfred1345
      By balfred1345
      Hi,
      I've got a client on a DMS ver. 1.1.9.1 site. Using WP 4.5.2.
      The site is clean from malware. And I've replicated the below problem with all plugins off except for DMS Pro Tools
      Here's the page: http://choralartsensemble.org/support/sponsors/
      When a textbox or column with textbox on the page are deleted, upon save and refresh one or more textboxes in the header and footer loses its content. This is a repeatable occurrence. 
      Can you please tell me how to fix this so it does not happen again? 
    • John Olsson
      By John Olsson+
      I have a problem with the regular textbox in pl5, in this case, the text goes in that container, but it will hide som of the text, as if the container itself won't fit?
      Is this some kind of bug or have I done something stupid, never happend before with pl5 doh, can I do something smart about it?
      Version: Version 5.0.108
      Look here: www.gastronova.co56.se

    • Jesper
      By Jesper+
      Is there a way to create modal popups? It was possible ind DMS2
    • Kempston
      By Kempston+
      Good day
      How do I indent textbox content so that it's not flush against the side of the screen on mobile devices?
      When I view Kempston Truck Hire East London on my phone, the text is aligned against the side of the screen and doesn't look right.
      Many thanks
      Rob
    • Ellery
      By Ellery
      Hi
      I am using WPML v3.2.7 and pagelines 2.2.
      Can you please tell if I can use WPML to translate text in textbox?  or other components in pagelines?  Because I saw there are a number of topics regarding WPML.
      By the way, I read this blog post from pagelines:
      http://www.pagelines.com/translation-localization-center/
      but the PageLines Translation Center link is 404 (http://pagelines.com/translate/projects/pagelines-framework) 
      Thank you very much for your help.
×