IWP Training

Tips and Tricks

Events

There was a change to IWP logic for Events Search back at the beginning of June. 

An issue that has become apparent, is that there are older links pointing to All Events that have incorrect parameters. The result is that clicking a link with incorrect parameters usually lists the search results as a 403/404, having a page title as starting with % , or having Events showing out of order.

Correct URL

https://ucanr.edu/upcoming-group-events/<group‑ID>

Upcoming Events

Incorrect URL

https://ucanr.edu/search/all?keys=&sort_by=field_start_date& field_event_date=1&f[0]=format:live_event&route=group& f[1]=group:<group‑ID>&gid=<group‑ID>

View All Events Link

If you go to the home page of a site group, and scroll down you'll often find Events (not all sites utilize Events). You'll find a button labeled as View All Events.  Copy the View All Events link and you can apply it to the Left Nav or Group Menu.

Example: 

On the Sacramento Master Gardeners page, if you scroll down and find  Events Section, and the button View All Events and click on it the url is: "https://ucanr.edu/upcoming-group-events/<Group ID>." The Events page displays the Events in the proper order. 

But if you click on the OLD blue button at the top of the page: View All Events it takes you to a Error 403 Forbidden page. 

How to Fix It On Your Site

  1. Locate the button In the group‑home editor (or the Left Nav/Group Menu editor) find the “View All Events” link. This is the element that currently contains the bad URL.
  2. Replace the URL Change the link to the short, absolute URL: https://ucanr.edu/upcoming-group-events/ (use the correct group ID for your site). The new URL goes directly to the IWP Events page, bypassing the old search service.
  3. Use a relative link (optional) If you prefer a relative path, set the link to /upcoming-group-events/15081. Relative links keep the domain consistent across environments (dev, test, prod).
  4. Save & clear caches Click Save and then Clear Cache (or wait a few minutes for the automatic cache purge). Ensures the updated link is served to visitors immediately.
  5. Test Click the button from both the home page and the top‑nav “View All Events” link to confirm the page loads  and events are ordered correctly. Confirms the fix works in all locations where the link appears.

Adding Authors via  People Content Type

There are Blogs and Sites Group types in IWP.  If you need to add an Author to a Blog Group Type, but they are not part of ANR, you can do so by adding a Content Type People to a site, and then pull over this new person to the Blog.