Profile Biography Smarty Function

SoftDesigns
SoftDesigns
@softdesigns
6 years ago
242 posts
On a profile bio - we click on "Source" and see the HTML code.
--
Can we embed a Smarty Function in the source code of Profile Biography?
updated by @softdesigns: 04/04/18 03:45:10AM
brian
@brian
6 years ago
10,148 posts
No - it will not work there. Sorry!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
michael
@michael
6 years ago
7,714 posts
The only way to get something close would be to go through the jrEmbed module.

You could create your own module that taps into the jrEmbed module and allows your profile owners to embed stuff there.

EXAMPLE:
The jrPlaylist module utilizes the jrEmbed module by searching for any content that looks like this:
 this is some text that is entered into a text field somewhere
and here is a tag that gets replaced with the playlist player [jrEmbed module="jrPlaylist" id="2"]


So its not a smarty function but it is a way to get dynamic content out to text areas for your users, which seems like its probably the goal you're after.
playlist_embed_tag.jpg

Tags