News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Embedding HTML Block SEO Keyword URL

Started by G. O., June 02, 2025, 03:18:46 AM

Previous topic - Next topic

G. O.

Hello,

I just wanna know if it's possible to do something to embed a specific html block with a unique url link to share outside of website in 3rd parties webpages and apps.

is that possible?
Thank you...
G.O.

abolabo

Quote from: G. O. on June 02, 2025, 03:18:46 AM
Hello,

I just wanna know if it's possible to do something to embed a specific html block with a unique url link to share outside of website in 3rd parties webpages and apps.

is that possible?

Yes, in theory:
1. create your own controller, let's name it myBannerBlock. As example you can get method "main" from public_html/extensions/banner_manager/storefront/controller/responses/extension/banner_manager.php.
The main function of this controller to send piece of html (tpl-render of ready html-content of block) by request parameters.
2. Then create new html-banner. Get it's banner_id.
3. Insert into table url_aliases data, where `query`  =  'banner_id=123&format=html' and `keyword` = 'some_unique_your_seo_keyword'.
4. Then open browser and put url https://www.yourdomain.com/some_unique_your_seo_keyword

It's a good idea to extend functionality our native banner manager extension. Feel free to donate us for this feature :-)


"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

G. O.

Quote from: abolabo on June 02, 2025, 04:12:24 AM
Quote from: G. O. on June 02, 2025, 03:18:46 AM
Hello,

I just wanna know if it's possible to do something to embed a specific html block with a unique url link to share outside of website in 3rd parties webpages and apps.

is that possible?

Yes, in theory:
1. create your own controller, let's name it myBannerBlock. As example you can get method "main" from public_html/extensions/banner_manager/storefront/controller/responses/extension/banner_manager.php.
The main function of this controller to send piece of html (tpl-render of ready html-content of block) by request parameters.
2. Then create new html-banner. Get it's banner_id.
3. Insert into table url_aliases data, where `query`  =  'banner_id=123&format=html' and `keyword` = 'some_unique_your_seo_keyword'.
4. Then open browser and put url https://www.yourdomain.com/some_unique_your_seo_keyword

It's a good idea to extend functionality our native banner manager extension. Feel free to donate us for this feature :-)

if you could add this function to next version you will be 1st platform who's adding such idea  :) . don't worry i still have too much idea to share here  8)
Thank you...
G.O.

abolabo

we are already first platform 8)
And people got our code for free ;)
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Forum Rules Code of conduct
AbanteCart.com 2010 -