Creating a Macro that uses a hyperlink image and text
Hi all,
I was wondering about how I would go about creating a Macro where the user would be able to select an image of their choice along with text that would be a hyperlink to a page on the site? I'm quite new to this so would greatly appreciate any help!
Creating a Macro that uses a hyperlink image and text
Hi all,
I was wondering about how I would go about creating a Macro where the user would be able to select an image of their choice along with text that would be a hyperlink to a page on the site? I'm quite new to this so would greatly appreciate any help!
Thank you very much,
David
Hi David!
You could use some parameters on you macro, did you read the documentation? https://our.umbraco.com/documentation/Reference/Templating/Macros/
Just create a macro and add parameters for the things that you want you editors to pick, like image, text and link.
Then in your view you can get the values of the parameters something like this:
Hope this points you in the right direction.
is working on a reply...