This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

smalltalkman64093
smalltalkman64093

I am working with the weather plugin. I want to expose the properties popup to the user.

Likely it is straightforward to modify weather's default.htm to include a gear icon which will show the properties from defineProperties.

Will the properties still be available via $this->property?

How do I refresh?

daftspunky
daftspunky

Yes, values from defineProperties are available via the property() method. Refreshing the page should be done via the AJAX framework.

smalltalkman64093
smalltalkman64093

I am having trouble making an ajax call. copied from the docs into a page

<button data-request="onLoadContent">Go</button>

works, but

<a data-control="popup" data-handler="onLoadContent" href="nojavascript...;" class="btn btn-primary btn-lg"> Launch Ajax Form </a>

doesn't :/

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.