Widgets with Arguments
Add an Simple Text Argument
function renderit( ){
var thehtml = '<a href="https://www.contentboxcms.org/" target="_blank">
<img src="https://www.ortussolutions.com/__media/ContentBox_300.png"
alt="ContentBox CMS Logo"></a>';
return thehtml;
}function renderit( urlTarget ){
var thehtml = '<a href="https://www.contentboxcms.org/" target="#arguments.urlTarget#">
<img src="https://www.ortussolutions.com/__media/ContentBox_300.png"
alt="ContentBox CMS Logo"></a>';
return thehtml;
}
Adding more User Friendly Options to Arguments
Argument Label

Required Argument

Argument Hint

Argument Type
Default Value

Options for Arguments

Options for Arguments via UDF


MultiOptions - Multiple Choice Options

MultiOptionsUDF - Multiple Choice Options via UDF

Last updated
Was this helpful?
