[Résolu] custom field for maps render double maps, url field, wysiwyg field
Ce fil est résolu. Voici une description du problème et la solution proposée.
Problem:
Toolset custom field for maps render duplicated maps Solution:
Use WYSIWYG field instead of URL field. Relevant Documentation:
This support ticket is created Il y a 7 années. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
Link to a page where the issue can be seen: lien caché
I expected to see: a single map
Instead, I got: two of the same map
what I'm doing is: I used the add URL to embed my google map because when I tried "embed media" as I assumed I needed to do, it says "incorrect URL". I assume because through Google>share map> it renders a <iframe....link? (i'm very new to this so forgive me) anyways, I can get a map to display by adding a custom field URL and entering the embed code from google maps, only I get a double of the map. and also "title=" that appears to be a link above the map.
also if you notice in my "what we liked", on the second paragraph, there is extra space with a comma above it, which shouldn't be there, but it shows up anyways....
thanks for your input!
ok so the WYSIWYG worked, thanks! But I"m confused, is the "embed media" not normally also used for maps?
Ok so the other issue was that I am assuming I need to add a multi-line field to get a question field with multiple answer points that show up in a neat list as per attached screen shot on the right. As you see it says "Why we liked 'em" or "what we liked" and then shows a bulleted list of all the points we liked. Right now, I have to make the whole list in a single line or the multi-line field in order to make it show up in a neat list, otherwise you get what you see in image on left
For the 2nd issue, I am not exactly sure what you are trying to achieve but if you are using multiline field to save that text, in this case you need to add ul & li tags around your text so it displays in bullet list format, like this:
<ul>
<li> Text bullet point 1 </li>
<li> Text bullet point 2 </li>
<li> Text bullet point 3 </li>
</ul>
OR you can use WYSIWYG field for this text too, that will allow you to create a bulleted list using interface / editor buttons.
-so i'd add those ul & li tags into the post multi field itself? opposed to in CT (It worked for me directly in the field itself within single service page, but again, i was hoping that if i have someone else or a member themselves add info via a front end form, that I wouldn't have to go back in after the fact to add the html...was hoping for something automated, but I can work with it i guess if that's how it is)
-also wondering how to make these support threads private or at least not showing my name/website?
-also wondering how to make these support threads private or at least not showing my name/website?
You can not make the thread private, but you can enable private message field and add your site links there when creating the ticket. For now I have removed your site link from the first message.
ok i removed the separator="," bit and that worked. Is it something that toolset will want to remove though too because it doesn't look nice, (i know you just integrated with Divi) or maybe i'm just not using it as it's normally used....
The WYSIWYG solution or ul & li tags is something that can work as long as there isn't a easy alternative solution. Otherwise, would I need then to hire someone who can code that can add these bullets somehow to the structure so that I don't have to manually add these html ul & li tags each time I enter data into one of these multi-line fields? (which means my users won't be able to add the html, and in the WYSIWYG editor, I won't get uniform result unless I do it myself, so I'll have to go back into each submission each time to edit). I'd love for anytime certain fields are filled out, (on multiple line fields) that a bullet of some kind is inserted.