Page 1 of 1

Advert Manager- external link

Posted: Fri May 12, 2023 7:26 pm
by Omar_one
Hello,
the Advert Manager external link show right on the admin side but on shop side give black page.
and the link become shop.com/external link
(using i_adverts module )

Thank you in advance for your help
Omar

Re: Advert Manager- external link

Posted: Fri May 12, 2023 10:33 pm
by burt
It doesn't quite make sense what the problem is.
Could you maybe take a screenshot of the admin settings for this page?

Re: Advert Manager- external link

Posted: Sat May 13, 2023 7:52 pm
by Omar_one
burt wrote: ↑Fri May 12, 2023 10:33 pm It doesn't quite make sense what the problem is.
Could you maybe take a screenshot of the admin settings for this page?
sorry, I was not clear ,, here is a screen shots
ratina3.JPG
ratina1.JPG
and here the shopside
ratina2.JPG
thank you
Omar

Re: Advert Manager- external link

Posted: Sun May 14, 2023 10:34 am
by burt
Does it work in the shop side ? You'd need to make a module to see that, or use one of the PRO ones (I think there is one or two).

I have just tested [in the admin side], and cannot see any error. The piece in the admin/advert_manager side infobox is not a link, it is just text - so there is no way (unless you have changed it in language file) to open up that external link from within admin.

Check your language file? Core says:

Code: Select all

const TEXT_ADVERT_EXTERNAL_URL = '<i class="fas fa-external-link-alt mr-1"></i> external link:<br>%s';
You might have changed this something like [this works as intended, yours may differ]:

Code: Select all

const TEXT_ADVERT_EXTERNAL_URL = '<i class="fas fa-external-link-alt mr-1"></i> external link:<br><a target="_blank" href="%1$s">%1$s</a>';
If you have changed it, that might be an error somewhere.