Forum Replies Created
-
AuthorPosts
-
Avantart
ParticipantI could fix the problem.
In a staging installation I took off all mappress-CSS which I had added to the child-theme-css-file once.Now everything is working.
I will have to check line by line which css provoked the problem output.
See this as resolved, Cheers, Connie
Avantart
ParticipantDear Chris, thank you!
This is what I wanted to acchieve!
Well, you correct that post.title should be set instead of poi.title. This was set because I had to reset the map to the “old behaviour” until the final version was finished.
Thank you, now can tell the users that the map is showing the desired content,
another plus for MapPress Pro!
Connie
Avantart
ParticipantI did what you suggested, but now the POIs don’t pop up
I reverted to the original status and send you an email
Cheers, Connie
Avantart
ParticipantHi Chris,
the MashUp is working with the setting “POI Title + POI Body”
It is triggered by this shortcode:[mashup query="meta_key=projektadresse&posts_per_page=-1"]
and uses the standard Mashup-PopUp-Template
===================
<div class=’mapp-title’>{{{poi.title}}}</div>
<div class=’mapp-body’>
{{{poi.thumbnail}}}
{{{poi.body}}}
</div>
<div class=’mapp-links’><?php _e(‘Directions’, ‘mappress-google-maps-for-wordpress’); ?><div>
===================
I reverted POI-content-setting to the standard “POI-Title + POI body”, but the result is not what I really need.When I change the POI-content-setting to “Post Title + Post Body” I get the postbody with all the DIVI-shortcodes and no readable content (see screenshot above)
That is why I am asking how to define the template to get this result:
the mapp-title => PostTitle
the mapp-body => custom field “projectadresse”and whether I have to change the setting “POI content” with a template like this.
Please tell me the correct code for the mapp-body as I don’t understand the syntax in the documentation
<div class=’mapp-body’>
{{{poi.thumbnail}}}
{{{ “CUSTOM FIELD PROJECTADRESSE ” }}}
</div>Cheers, Connie
Avantart
ParticipantDear Chris, I think I was not clear enough.
This is the Mashup: https://www.vorpommersche-kueste.de/aktuelle-projekte-3-2/
it works wellI looked into the template for map-popup, but the template for mashup-popup brings this result, see screenshot:
You see this does not show relevant informationI need the posttitle in the title and the adress in the body.
This picture shows the content of the PopUp in the MashUp when “PostTitle + PostExcerpt” is defined in the settings
My whish is instead of getting all these DIVI-shortcodes in the mapp-body and the adress in the mapp-title:
In the mapp-title the Post-Title
mapp-title = custom field ‘projektadresse’
I tried this code:
<div class=’mapp-title’>{{{post.title}}}</div>
<div class=’mapp-body’>
{{{poi.thumbnail}}}
{{poi.props.projektadresse}}
</div>
<div class=’mapp-links’><?php _e(‘Directions’, ‘mappress-google-maps-for-wordpress’); ?><div>How to create the code for the mashup-popup?
Thanks for your help, Connie
November 23, 2020 at 5:15 am in reply to: follow up to ” Mashup: status box not available anymore” #18751Avantart
Participantyes, it is resolved. Thanks!
Avantart
ParticipantThank you Chris,
this could be one of the reasons. I re-entered the values and everything is ok
I will keep an eye on it if it happens again
another reason could be that whenever MapPressPro got an available update, this Update is notified in the plugin administration and maybe my clients clicked “update” there and by this overwrote the PRO – is this a possible reason?
Cheers, Connie
Avantart
ParticipantI got in contact with Element Themes and they confirmed that they are aware of the problem and gave the same suggestion.
Thanks, conie
Avantart
ParticipantDear Chris, thank you for the answer
I informed ElegantThemes Support because this is annoying and I will try to follow your suggestion to get MapPress updated!
Have a nice weekend,
Connie
Avantart
ParticipantHi, Chris,
I went through all sites now and the key is active.
I must say I waited around half an hour until I complained here, because I know that it can take time — but it took quite a time ;=)
Now it’s ok and I can use it for the next year, thanks!
Connie
Avantart
ParticipantThank you Chris, for your assistance.
Now I use a taxonomy, and the icons are defined in the automatic icons settings as the values of that taxonomy shine up there.
It’s a great functionality and I learned a lot!
Have a nice day,
Connie
Avantart
ParticipantChris, thank you, but that is not exactly what I need.
In the geocoding fields, I can only set one icon for that field, but this field has 3 states and I need a different state for each valueI know how I can create this output:
1 mashup with all objects with the status “finished” (status = 3)
1 mashup with all objects with the status “in progress” (status = 2)
1 mashup with all objects with the status “scheduled” (status = 1)But I need a mashup with ALL objects, and each shows the status-relevant icon ;=(
how to do that?
Cheers, Connie
Avantart
ParticipantChris,
that is exactly what I wanted to know. I wasn’t aware of that.
Great!Another Hurray! to MapPress!
Cheers, Connie
Avantart
ParticipantThanks for the hint, I use now
get_the_terms( $postid, 'NameOfCustomPostType' );
and it works!
Cheers, Connie
Avantart
ParticipantChris,
thank you, I got it! Now I can use all my custom fields if I want.
-
AuthorPosts