So, I want to link to a particular tab in the embedded PC.

Options

We use the [[S409]] tag to embed the Participant Center in a custom page. I'd like the ability to link to a particular tab, say the Email Center.

 

After some experimenting, the best I can come up with is to pass in the desired tab in a querystring param in the iframe url, and add an onload script to the participant center custom.js file to read that param an run the appropriate YAHOO.Convio.PC2.Utils.loadView. (You guys sure didn't make this easy.)

 

 This 409 tag inserts an iframe like this.

 

<iframe id="embeddedParticipantCenter" class="seamless" src="../PCInstanceName/dashboard.html" width="1000" height="560" frameBorder="0" scrolling="no" >

<p>Your browser does not support iframes.</p>

</iframe>

 

So, my idea is to manually place this iframe html in the TR custom page rather than use the 409 tag, so I can insert the parameter based on a querystring param in the custompage like this.

 

https://secure3.convio.net/cmf/TributeAndHonor2014/dashboard.html#[[S334:tab]]

 

So I would just link to my Part Center custom page like this:

 

http://foundation.luriechildrens.org/site/TR/Events/TeamRaiser?fr_id=1500&pg=informational&sid=1040&tab=personalpage-compose

 

I'm nearly done, and I think it will work. But I would like to make this require less attention when it rolls out.

 

So my question is, can I get ahold of the ParticipantCenter URL that is connected to the teamraiser? That will vary from TR to TR. I guess I really need the folder name.

 

../PCInstanceName/dashboard.html

 

I looked at the EventDataParameters, but didn't see anything that fits the bill. I really what something that the 409 tag itself uses behind the scenes. This is defined by what is set in 3. Select Event OptionsThis is the current page. -  7. Participant Center for this TeamRaiser:

 

It sure would be cool.

Tagged:

Comments

Categories