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
GetMeWebDesign+    115
GetMeWebDesign

Not sure if that is possible. However, just rewrite the sentence:

 

Original material and anecdotes about their grandparents, that are reflected in the story, have been shared with him by the Duke of Marlborough and the grandson of [pl_modal title="Alfred Gwynne Vanderbilt I"  label="Alfred Vanderbilt"]<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]
 
So the modal will end the para as in your previous para.
  • Like 1

Chrome Developer tools - please use them. If you are not sure how, then it is easy to learn

Be inventive in your keyword search of the forum ie Navi > Navbar > menu > tabs > font > color. Your answer lies there somewhere!

Share this post


Link to post
Share on other sites
nimaworks+    2
nimaworks

Thank you very much.  I 'll try it and let you know

Share this post


Link to post
Share on other sites
nimaworks+    2
nimaworks

First I ll try the solution of using this tool http://www.zubrag.co...gs-stripper.php and if there is not the desired result I 'll try to rewrite the last paragraph in order to use modal at the end of it.

Thank you again. You are very supportive! 

Share this post


Link to post
Share on other sites
nimaworks+    2
nimaworks

The solution of using the tool http://www.zubrag.co...gs-stripper.php didn't work. I re-wrote the last paragraph using modal at the end as GetMeWebDesign user suggested and I am very happy with the result. So for me the problem finally solved. Thank you all for your valuable help and time.

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

Ah! great news. Glad that did work for you. props to @getmewebdesign 

  • 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

  • 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.
×