Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsIFrameIFrameDynamic Query - Possible with Core or even 3rd party?Dynamic Query - Possible with Core or even 3rd party?
Previous
 
Next
New Post
6/3/2009 2:29 PM
 

I'm working on a site which has iFrame'd pages for a custom search. The developer of the search system requires code be inserted into the page that will modify the URL of the iFrame source. I am curious if anyone knows if this is even possible with any third party modules, much less the core? I read on Snowcovered that Viva is being merged into the core, but I wasn't sure what the timeframe is on that, or if it can even handle something like this... the "API Code" the developer has provided is this:

 


<%
show_quicksearch = "no"
searchurl = Request.QueryString("quicksearch")

if searchurl <> "" or len(searchurl) > 0 then
searchurl = replace(searchurl, "xSQx", "'")
searchurl = replace(searchurl, "xSLASHx", "/")
searchurl = replace(searchurl, "xCOLONx", ":")
searchurl = replace(searchurl, "xSPACEx", " ")
searchurl = replace(searchurl, "xPERx", ".")
searchurl = replace(searchurl, "xEQx", "=")
searchurl = replace(searchurl, "xQUESx", "?")
searchurl = replace(searchurl, "xAMPx", "&")
searchurl = replace(searchurl, "xDASHx", "-")
searchurl = replace(searchurl, "xUNDERx", "_")
show_quicksearch = "yes"
end if
%>

<!--

USAGE EXAMPLE:
If someone does the quicksearch, it will pass to the appropriate page which holds the frameset for new or used. Then it will pass the querystring called quicksearch which has an encoded URL to pass
smoothly without breaking any links or losing pieces of the link. From here if that parameter exists, meaning the person got to this page from using the quicksearch, we need to use that link passed as
the source to the iframe. If no parameter exists then they got here normally by choosing to view new or used inventory, and we must display the link that you have in place now already.

<iframe src="<% if show_quicksearch = "no" then %>http://YOUR EXISTING LINK HERE/browse2.asp?param_new-used=used<% else %><%=searchurl%><% end if %>"></iframe>

--> 

Wells Doty Jr
Online Content Development
 
New Post
6/26/2009 11:22 AM
 

Looks like you'll have to write some custom code.

Sorry.


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsIFrameIFrameDynamic Query - Possible with Core or even 3rd party?Dynamic Query - Possible with Core or even 3rd party?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out