Support

Admin Tools

#33048 AcyMailing 6 readonline tag

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by on Wednesday, 17 June 2020 17:17 CDT

joomleb
Hi guys,
I'm looking to use Admin Tools features to solve a need on AcyMailing 6, let me recap:
--- AcyMailing 6 has the Insert Dynamic Text feature that by adding a {readonline}blabla{/readonline} tag transform it into a "view it online" link to add into the newsletters that are sent to the users
--- the created link is something like: https://mysite.com/component/acym/archive/5-promesa-cumplida?userid=2-zlqQJFUg9oKdXi&tmpl=component

I have no knowledge on htaccess RewriteEngine, Please,
1 - Is there a way to always cut the &tmpl=component from URLs ?
2 - Is there a way to do it just when the URL is from the AcyMailing 6: https://mysite.com/component/acym/archive/...
3 - Is there a way to hide the /component/acym/archive/ part like: https://mysite.com/component/acym/archive/... > https://mysite.com/...
4 - And/Or Is there a way to replace the URLs with another like: https://mysite.com/component/acym/archive/5-promesa-cumplida?userid=2-zlqQJFUg9oKdXi&tmpl=component > https://mysite.com/services/mailing/promesa-cumplida
5 - and to replace it with one URL for all the URLs users:
--- https://mysite.com/component/acym/archive/5-promesa-cumplida?userid=2-zlqQJFUg9oKdXi&tmpl=component > https://mysite.com/services/mailing/promesa-cumplida
--- https://mysite.com/component/acym/archive/5-promesa-cumplida?userid=3-zlqQJFUg9oKdXi&tmpl=component > https://mysite.com/services/mailing/promesa-cumplida
--- https://mysite.com/component/acym/archive/5-promesa-cumplida?userid=4-zlqQJFUg9oKdXi&tmpl=component > https://mysite.com/services/mailing/promesa-cumplida
etc.

tampe125
Akeeba Staff
Hello,

I'm sorry but these are changes that can only be performed on AcyMailing component.
The .htaccess file can only handle the incoming URL, not its generation. For example, you can redirect all the URL from http://example.com to http://www.example.com . Please note that this is a redirect: it means that the first URL arrives to your server, the .htaccess file kicks in and then redirects the visitor to the other URL.

From what I see, I can only suggest you to get in touch with AcyMailing support, since these are things regarding their component.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

joomleb
Hi Davide,
thanks for your quick reply and sorry for my English, if you want I can write in Italian (without your permission I will continue in English as a form of education to third parties who read).
"The .htaccess file can only handle the incoming URL, not its generation" = Yes, I'm speaking about the incoming URLs requests from the email sent by AcyMailing, not about the link generation during the email creation with AcyMailing.

What I thought was that the Admin Tools Pro features: htaccess maker, by using the mod_rewrite apache (and my be something with the URL rewriter), could be useful for it...
https://www.ionos.it/digitalguide/hosting/tecniche-hosting/che-cose-il-rewrite-engine/

Logically, as you wrote, this is not the optimal solution while the best one would be to work on AcyMailing link creation.
But could be a quick and practical solution or now, till some (ar all) the modifications will be integrated directly into AcyMailing...

Please, Any type of help, suggestion, on the point I wrote would be really too appreciated...


tampe125
Akeeba Staff
I'm sorry but that's not possible, since changing the URL will affect the behavior of AcyMailing, since it will be looking for some params that are missing in the request:
  1. No. The tmplP=component has a very special meaning in Joomla. Removing it will completely change the output
  2. No
  3. This happens because Joomla doesn't find a menu entry for such URL, so instead of having a "nice" URL, you have a /component/ one. This can't be fixed by using .htaccess, but modifying your site settings (if AcyMailing provides a menu entry for such link)
  4. No. Such param is required by AcyMailing to work correctly (I suspect to track the hits)


As you can see, there's nothing we can do, since everything is related to AcyMailing.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!