*
*
*
*
ForumsRegister | Login 
Subject: Make search results link to specific aggregator tab
Prev Next
You are not authorized to post a reply.

AuthorMessages
jlauferUser is Offline
Member
Member
Posts:2

09/04/2006 1:50 AM Alert 
Hi Is there any way to make the DNN search results link to the specific tab in an aggregator. Currently, users are presented with the first tab in the tab strip rather than the tab that the search results refer to. cheers Conrad
dnnstuffadminUser is Offline
DNNStuff Founder
Site Member
Site Member
Posts:1239


09/06/2006 2:44 PM Alert 
Conrad, This was something proposed for the last version (4.0) but never made it in. It's still on the list although I'm not sure if it's even possible to do this.

Richard Edwards
DNNStuff Founder
jlauferUser is Offline
Member
Member
Posts:2

09/07/2006 4:20 AM Alert 
Richard Thanks for your response. I thought it was a long shot - but it always pays to ask :-) Conrad
PaulUser is Offline
Member
Member
Posts:1

11/13/2006 10:37 AM Alert 
I know the previous post was related to the iSearchable, but there is also a need for a solution to not confuse site visitors linking from a search engine... One of the huge advantages is no postbacks, but one of the biggest problems is the ability to search and link to specific content. I know you're probably aware, but for the benefit of others, an example from your own site...if you do a Google search for "Craig Millar" & "dnn stuff", you'll get one link from search results. This links to a page, I guess, with a random aggregator tab. You really have to hunt to see that he's on the 'Testimonials' tab. My first need is to be able to link to a specific Aggregator tab from another page in the site. Maybe through a bookmark?? Is there any other way to do this? [color=red]What about this for a overall solution[/color] (not sure how you'd get it to work with iSearchable) but what if you allowed the Module ID parameter to be passed in the URL from another page. This would have to be picked up by the Aggregator to direct it to specific tab. a) It would be nice if you would expose the Module ID in the 'Manage Aggregator' settings or make the link for people to copy. b) It would be best if you accepted the parameter separated with '/' so that you could list it in a site map that the search engines would pick-up on. c) I'd assume that just because you have the option to pass a module ID that you still would not have any post-backs after the initial page load. Any type of long-term or short-term solution would really be appreciated! Thanks, Paul
camadnnstuffUser is Offline
Member
Member
Posts:1

11/13/2006 3:39 PM Alert 
What a coincidence, Paul. I was just thinking about how I would create a link to a specific module in the aggregator on a page of my site. I tried creating an anchor tag in the module or in the header section of the module settings, but that didn't bring up the module I wanted when it is in the aggrerator. Richard, whenever you get a chance to add some kind of functionality like what we're thinking would be great! We LOVE the aggregator. We use it a lot on our site. Lillian C.
hostUser is Offline

Posts:0

11/21/2006 4:58 AM Alert 
There is currently a way to link to a specific tab using a url link from another page. The post explaining the syntax can be found here http://www.dnnstuff.com/Default.aspx?tabid=189&g=posts&t=48. I'll try and add a faq entry for it soon as well. It started off as a undocumented feature for someone and kind of stuck, thus the lack of good documentation.
jliptakUser is Offline

Posts:0

11/29/2006 6:55 PM Alert 
I have been trying to link to a specific tab without success and wanted some pointers but i cant seem to access this link [url]http://www.dnnstuff.com/Default.aspx?tabid=189&g=posts&t=48[/url] . I keep getting an "Access Denied" error regarless of whether i'm logged in or not. Any reason for this?. As for my linking problem, i have tried 2 types of syntax. The first being; http://www.coralsolutions.com.au/Default.aspx?Tabid=56&Module418_SelectById=419 and the second being http://www.coralsolutions.com.au/Markets/tabid/56/Default.aspx?Tabid=56&Module418_SelectById=419 Both of these methods take me to the correct page but none of the tabs are opened. I have checked & double checked the module id's for both the aggregator module (418) and the module within the aggregator (419) and they are correct. Would it be possible for you to take a look at the site & give me your opinion?. You will need to add the following entry to your hosts file (as below) in order to access the site as its not a live site. 125.255.24.139 www.coralsolutions.com.au If required, i can give you access to edit the page. Let me know what you think. Cheers John
jliptakUser is Offline

Posts:0

11/30/2006 3:30 PM Alert 
I've narrowed the problem down to this javascript code. The javascript error is [b]"Microsoft JScript runtime error: Object required"[/b]. The bolded line is where it blows up. [quote] [/quote] If it helps, the value in the field [b]tabpagename[/b] is [b]"dnn_ctr418_Aggregator_TabPage6"[/b] cheers
jliptakUser is Offline

Posts:0

12/01/2006 2:29 AM Alert 
Hi Richard, I suspect there is a bug somewhere in version 4.0.2. I completely removed all modules from the aggregator and then slowly added them back in 1 by 1. I first added the module in question (A charting module) and performed a test and the link worked perfect. I then progressively added all the other modules to the aggregator and performed a test after adding each one. Again it worked without fail. So far so good. Then i started moving the charting module to the end of the list. After each move, i performed a test. It worked fine until the module was the last one in the list... and bingo, it FAILED with a javascript error. So naturally, i thought i could move the charting module back up the list to get it working.... but to my surprise the javascript error kept appearing.. or (even sppokier) it would link to the wrong tabbed module.. It started to work again when the charting module was about the second or third in the list at which point it started working again; but i'm not sure if this was just a fluke. As a side note, after each test i was carefull to clear the cache and delete all temporary files from IE (i didnt test in firefox). So i started to suspect that the problem has to do with module order. I looked at the DNN table called [b]TabModules[/b] and noticed that every module within the aggregator had its column [b]ModuleOrder[/b] = 2. When the modules were not in the aggregator, the [b]ModuleOrder[/b] column was unique within that page/pane (1 through n). I'm not sure what the reason for changing the [b]ModuleOrder[/b] would be but this may have something to do with it. Also, while i was debugging the problem, i noticed the following; 1) that the stored procs [b]DNNStuff_Aggregator_GetTabModules[/b] and [b]DNNStuff_Aggregator_GetPageModules[/b] did not contain order by clauses (maybe they dont need them). 2) The stored proc [b]DNNStuff_Aggregator_GetTabModules[/b] was for version 4.0.1 (see below. [quote]-- MODULE : DNNSTUFF - AGGREGATOR - DNN3/DNN4 -- VERSION : 04.00.01 -- 31/JUL/2006 : -- Fixes include : Removed condition that tab should be visible for modules to be added from it ALTER PROCEDURE [dbo].[DNNStuff_Aggregator_GetTabModules] ( @TabId int, [/quote] As I mention earlier, i suspect that the problem has something to do with the ModuleOrder column and/or order by clauses within the stored procs (but i could be wrong). I'd appreciate if you could take a look and get back to me. I've been chasing this for a few days now & i'm not sure where else to look. Cheers John
jliptakUser is Offline

Posts:0

12/07/2006 12:26 AM Alert 
Just a further update. I have noticed that the problem occurs only on ajax pages. Most of my modules within the tabs have some form of ajax capabilitiers. Are there any issues between aggregator and ajax based modules?
dbcomUser is Offline
Member
Member
Posts:1

08/21/2008 2:04 PM Alert 
It's been awhile since the last post, so I thought I'd check to see if this issue has been addressed in the latest version 5.0?

I'm thrilled that there is an approach to linking to tabs via a URL link, but I have a client who is asking for this to work via DNN's Search Results.
dnnstuffadminUser is Offline
DNNStuff Founder
Site Member
Site Member
Posts:1239


08/25/2008 4:51 PM Alert 
No, unfortunately I wasn't able to resolve this in the latest version. The SearchItemInfo object that is used to populate the collection of searchable items doesn't accept a url, it only accepts the moduleid so it's impossible as far as I can see to make this happen.

I am populating the search catalog with the text portion of the tab contents now though if you specify html/text in the body of the tab. Previously I wasn't implementing ISearchable at all. The search interface in DNN doesn't seem to be built to support this type of customization but I'll keep an eye out for other ways and if I find something workable I'll definitely build it in.

Richard Edwards
DNNStuff Founder
You are not authorized to post a reply.
Forums > Commercial Modules > Aggregator > Make search results link to specific aggregator tab



ActiveForums 3.6
DotNetNuke Sponsor

DotNetNuke Powered!

Copyright (c) 2005-2008 DNNStuff
*
Terms Of Use   Privacy Statement