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...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorClick tracking in FCKEditor linksClick tracking in FCKEditor links
Previous
 
Next
New Post
11/1/2010 4:25 PM
 
I've looked through the source code for the latest FCKEditor release...does anyone know where it actually saves your link settings (Track clicks, Log each click, Open in new window, etc.) in the code?

I have an older site (DNN 4.9.0) and from all appearances I can't set those flags in the database using the FCKEditor.  It doesn't even save the URL to the URLs table so the LinkClick.aspx link doesn't work because it can't find the URL in the database.

In another site using DNN 5.04.04 it looks like the embedded core controls (UrlControl, etc.) have been changed so that when you click the 'Track Clicks' checkbox it immediately stores the URL to the database.  Which seems like an ugly patch on top of the root FCKEditor problem.  AFAIK there's no way to log clicks to UrlLog in this version because there's only one checkbox.

Surely someone else has gone through this if they're trying to track clicks for links in the FCKEditor.  Has anyone experienced these problems?
 
New Post
11/1/2010 8:05 PM
 
the information is stored by the URLControl in Urls and UrlTracking tables, however for any links in richtext modules, there is no UI to retrieve it.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/2/2010 10:10 AM
 
Sebastian Leupold wrote:
the information is stored by the URLControl in Urls and UrlTracking tables, however for any links in richtext modules, there is no UI to retrieve it.

 

Ultimately I'll be writing a site log report to show the click information.  My problem, however, is that the FCKEditor does not contain code that actually stores the url logging flags (the LogActivity and TrackClicks columns in the UrlTracking table).  Those flags will NEVER be set by FCKEditor.  I believe this is also true in the latest version of DNN because the FCKEditor code hasn't changed in two years.  

It works somewhat in the current DNN version because there appears to be code in the URLControl.ascx that you mention that automatically inserts the URL into the URL table when you click the 'Track Clicks' checkbox.  A new row is inserted into URLTracking every time you change the URL in the linkgallery textbox and toggle the "Track Clicks" checkbox.  I see no way to enable click logging, however, you can only enable the click counter.

I didn't look into the latest URLControl.ascx code to see what's actually happening when you toggle that checkbox but I'm pretty sure my assumption is correct.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorClick tracking in FCKEditor linksClick tracking in FCKEditor links


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