You can open either section of the content toggle from a remote link. That means you can use a link on any page to trigger either section of the content toggle. Below are the detailed steps –
Step 1: Add an ID uabb-toggle-init to the parent row of Content Toggle. Note that add ID uabb-toggle-init only. Other ID will not work.
Step 2: Sections of the Toggle module can be identified as content-1 and content-2 IDs. If you want to open the 2nd section use ID ‘content-2‘ after the URL. That means add ‘/#content-2′ at the end to the page URL.
For Example –
Consider you have pages A and B. Content toggle is set on page A with section 1 and section 2. You want to open a section 2 of content toggle from page B. In this case, follow the steps –
Step 1: Add a uabb-toggle-init as ID to the parent row of Content Toggle.
Step 2: On page B, use a text, button or anything you wish to link the content toggle section. Use a URL for page A and add #content-1 (for the first section of content toggle ) or #content-2 (for the second section of content toggle ) at the end of the URL. Like -> your-domain/page-name/#content-2
Refer to the following video, which shows that the second toggle element is opened as we clicked on the button which then redirects us to the page having the Content Toggle.