logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
ray22901031  
#1 Posted : Sunday, February 23, 2020 2:32:42 PM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 826

Thanks: 3 times
Was thanked: 13 time(s) in 13 post(s)
Hello everyone,

Is there a way to insert an HTML snippet into regular HTML code, something like the old-style FrontPage include statement.

example: < "include snippet=57" >

HTML snippets are very powerful, but it seems the only way to use some are within templates, it would be nice to create a snippet and be able to included anywhere, including regular HTML code.

Thanks

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

shari  
#2 Posted : Monday, February 24, 2020 2:14:05 AM(UTC)
shaharyar

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 703

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
Hi,

Quote:
Is there a way to insert an HTML snippet into regular HTML code, something like the old-style FrontPage include statement.


No, for HTML Snippet, this is not supported in A9.

However, you can use a shortcode to render a widget within HTML Content.
example: [[Widget:Widget Name]]

Thanks
Users browsing this topic
Similar Topics
Html snippets that only contain script don't render (AbleCommerce 9 Feature Requests)
by Joe Payne2 8/25/2021 9:02:58 AM(UTC)
Html snippets need their own set of types (AbleCommerce 9 Feature Requests)
by Joe Payne2 8/25/2021 8:59:11 AM(UTC)
9.0.4 Does javascript work in Html Snippets (General Questions)
by Joe Payne2 8/24/2021 2:10:30 PM(UTC)
HTML Snippets - Inserted into Summary Box (General Questions)
by ray22901031 9/14/2020 12:59:45 PM(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.