Toolset Framework installer is a plugin that you can use to download a reference site. Toolset Reference Sites are like WordPress themes – fully working designs created with Toolset plugins. They let you build sites in the fastest and most flexible way possible. You can use them as the starting point for your projects.
Problem: How should I go about setting up a multisite network of reference sites when I have only one registration key available?
Solution: Technically each site in a multisite network counts as a single installation and requires a separate registration key. However since you are just testing things out, you can install the plugins at the network level and register once.
2. In the Front End when you create or edit a Post with Toolset Forms.
Here you will create a Toolset Forms that either creates or edits those posts, and includes the Fields, but not the Title.
The user of this Form will fill out the Fields, and submit the Form.
You will hook a Custom Code to the Toolset Form's API "cred_save_data()" hook, which takes the values from those fields, and updates the Post Title with it.
Problem: I would like to know if it's okay to delete the Toolset Framework Installer plugin after I have successfully installed a reference site.
Solution: Yes, it's okay to delete the installer plugin once you have your reference site installed. You can install the Framework Installer plugin again at any time if you want to install a new reference site over your current site.
Problem: I would like to draw a line connecting multiple Markers on a Google Map.
Solution: Add custom JavaScript to Layouts CSS & JS, or to a View's Search and Pagination JS panel:
jQuery(document).ready(function($){
function initMap() {
var mapid = 'map-2';
var map = WPViews.view_addon_maps.get_map(mapid);
var markers = WPViews.view_addon_maps.markers[mapid];
if(markers.length == 0)
return;
var tripCoordinates = [];
var latLng;
// loop over all the markers and create an array of lat lng objects
for(var marker in markers){
latLng = {
'lat':markers[marker].position.lat(),
'lng':markers[marker].position.lng()
};
tripCoordinates.push(latLng);
}
// create a new polyline using the coordinates array, and add it to the map
var tripPath = new google.maps.Polyline({
path: tripCoordinates,
geodesic: true,
strokeColor: '#FF0000',
strokeOpacity: 1.0,
strokeWeight: 2
});
tripPath.setMap(map);
}
$( document ).on('js_event_wpv_addon_maps_init_map_completed', function( event, event_settings ) {
initMap();
} );
} );