You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

discussion/QuestionDetail widget

Question
11
Views
0
Comments
edited Mar 25, 2019 9:34PM in Customer Portal

Summary

How to pass a qid in the widget instead of the URL?

Content

If I place the QuestionDetail widget on a particular page, it won't display anything unless I tell it WHICH question to display via a URL parameter:  (/qid/5)

However, I don't WANT to pass it that information via a URL parameter.  I want to pass it that information in the PHP itself.

For instance, the default widget call looks like this:

<rn:widget path="discussion/QuestionDetail" sub:prodcat:verify_permissions="Create" />

I want to be able to pass the questionID right inline the PHP code, something like:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!