Sign In  |  Register
 
 DotNetNuke Powered!
DotNetNuke Support Forums

Problems Using Question Mark Character to pass variable in DNN Template

Rate this topic:

Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.

AuthorMessages
RegGFX
Posts:25



06/24/2008 12:17 AM  

I have an interesting issue where i have to embed a Flash Object in my template.

Now i have always been able to get this to work but this time the embed source file requires a question mark at the end of the filename.swf file.
For example the following code of src="main_F7.swf?button=0" gets lost with the question mark and button=0 is added. This only happens when i embed the complete Flash ActiveX object inside my DNN ascx file. I'm also correctly scripting the embedded ActiveX object.

Its just that DNN ascx does not like my using the QUESTION MARK along with button=0. In other words using filename.swf?button=0.
Basically i'm just trying to pass a variable to the activeX object stating that the variable "button" needs to be set to 0.

I've also tried to encode the url reference using src="main_F7.swf%3Fbutton=0" which does not work either.

I only run into a problem when trying to use the Question Mark inside DNN to reference the file.

Is the Question Mark a reserved Character in DNN?
Any Suggestions?

John Mitchell
Posts:3276



06/24/2008 9:53 AM  

Maybe it'll work if you use the entity reference   & #63;  (remove the space between & and #).

If that doesn't work, you may want to use SWFObject.

Vasilis has a good post about that here:

http://www.thinkofdesign.com/blog/ctl/articleview/mid/369/articleid/29/add-flash-content-to-your-skins-the-right-way.aspx

 

Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.

Forums >DotNetNuke Support >General-DNN-Help > Problems Using Question Mark Character to pass variable in DNN Template



ActiveForums 3.7
Visit our Store for great DotNetNuke Modules and Skins
DNNMasters Sitemap/Google Sitemap 3.0

Item codeSM3-01
Price$29.00
Product Information 
DotNetNuke CSS NavMenu 3.3 (Developers)

Item codeCSSNM33DEV
Base Price$149.00
Product Information 
Snapsis PageBlaster 3.3.2 for DotNetNuke - Professional Edition

AuthorJohn Mitchell
Base Price$79.00
Product Information 
XDAkuna (Web 2.0 CSS XHTML Skin)

Item codeXDAkuna
AuthorNina Meiers
Price$49.00
Product Information