customized text in Send To Friend field issue

This topic contains 11 replies, has 3 voices, and was last updated by  Guust 7 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #408029

    James Barker
    Full Member
    Post count: 91

    I read thru some other threads regarding this, one which stated it may be related to GD Booster as enabling it seemed to work for them – but it didn’t for me (I’m having too many issues at the moment with Booster and am keeping it disabled).

    I changed the text as shown in the first attachment, but when I go to a place and click on the button, I’m still getting the old text (attachment 2). When I clicked send without changing anything, the email I received was actually the changed text (attachment 3). I’ve cleared browser cache and, while having Booster enabled, cleared that too, but the old text is still showing. I’m not sure why it’s doing this, but at worst case scenario, I’d prefer it to be blank.

    #408035

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    You can use the translation method to change that text in GD Core.

    You can find complete instructions here: https://wpgeodirectory.com/docs/translate-core/
    Each add-on has translation files, too: https://wpgeodirectory.com/docs/translating-addons/

    https://wpgeodirectory.com/docs/getting-translation-files/
    https://wpgeodirectory.com/docs/category/translation/

    #408038

    James Barker
    Full Member
    Post count: 91

    Is there a simpler way to just blank-out the field in the form? Sorry, I’m just trying to understand what the purpose of having Geo Directory–>Notifications–>Other Emails set up to edit from the backend is for if it ultimately has to be changed elsewhere?

    #408040

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    All GD text that you see in the front end that is not in an email text field is accessible through translation. Translation can also make changes like ‘blanking out’ the text.

    #408042

    James Barker
    Full Member
    Post count: 91

    I’ll just disable it in the price add-on since there’s obviously no functional purpose to changing it in the notifications–>other emails tab other than to have the sender believe they’re sending one thing while the receiving party receives something completely different whether they customize the message themselves or send it as is.

    #408044

    James Barker
    Full Member
    Post count: 91

    …and that didn’t work.

    #408047

    James Barker
    Full Member
    Post count: 91

    I went into the Pricing Manager and changed all settings for Send To Friend to “No,” yet it’s still showing on each detail page.

    I then used the following CSS:

    a.b_sendtofriend {
    display:none!important;
    }

    But that still leaves the envelope (see attachment.)

    #408056

    Alex Rollin
    Moderator
    Post count: 27815

    .sd-detail-cta .b_sendtofriend {
    display: none;
    }

    .sd-detail-cta .geodir_email {
    color: #fff;
    width: 120px;
    }

    .sd-detail-cta .geodir_email .fa-envelope {
    color: #757575;
    }

    https://wpgeodirectory.com/support/topic/frontend-changes-fixes/

    #408063

    James Barker
    Full Member
    Post count: 91

    I came across that while reading through all the posts earlier and it didn’t work for me. Unfortunately, responses in those threads sometimes lack context because the previous messages were marked private so when paolo, I believe, wrote in one response, “Only if you don’t want the envelope to show,” I have no idea what his response pertained to. Rest assured, I’ve spent a good three hours reading and testing various things now going back to the original issue.

    #408066

    Guust
    Moderator
    Post count: 29970

    Regarding the original question, notifications or emails sent have nothing to do with what is presented on the website’s detail page. It is not possible to change some email text and expect that a webpage will change. The language file is the only way to change the popup.

    I will leave the CSS issue with Alex, but maybe if you post your URL and WP admin details in a private reply, we can check why the CSS does not work for you. In that case, tell us too where you added the CSS.

    Thanks

    #408069

    James Barker
    Full Member
    Post count: 91
    This reply has been marked as private.
    #408098

    Guust
    Moderator
    Post count: 29970

    I fixed the CSS.

    Regarding the email sent by the “Send to friend”, you have removed the [#comments#] shortcode from the email template, which means that any comment added by the visitor is not included.
    See also https://wpgeodirectory.com/docs/core-notifications/

    Thanks

Viewing 12 posts - 1 through 12 (of 12 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount