Skip to main content

Posts

Using a showhide checkbox.

To have a checkbox show or hide the next row use the following: <% input.setParam "onclick", "cpt_showHideNextRow();" %> <% input.setParam "noerase", "1" %> <td colspan="2"><% input.checkbox "related_link_popup", "on", related_link.item("related_link_popup") %> Popup</td> </tr> <tr <%= util.visibility(related_link.item("related_link_popup"), "on") %> bgcolor="#F0F0F0">

Tracking XML, Podcasts, etc... in WebTrends

Had a hard time finding anything in the Webtrends documentation on RSS and Podcasts tracking so I just gave them a call. Here's what they had to say about the matter: Affected Environments: Webtrends Analytics 8.x Question: How can podcasts be tracked with webtrends. Issue: A link to a podcast is generally an XML file pointing to the location of the download. Resolution: By implementing SDC, and putting a call to the dcs.gif file in the podcast Description (XML file) so that the DCSURI=PODCAST:/location, the podcast will put a hit in the SDC logs when it's downloaded. No modification to the js tag is necessary. DCSMultitrack is not necessary. Results will be seen in the Pages report. EXAMPLE: add the dcs.gif call IMG SRC =" http://statse.webtrendslive.com/dcsttpy38dbdgj15hs4peh2gr_7t5l/dcs.gif?dcsuri=PODCAST:/WhitepapersAndGuides/&WT.ti=PODCAST:/WhitepapersAndGuides/MeasuringWeb20Technologies&dcssip=www.webtrends.com&wt.rss=aggregatorRequest&dcsext.podcastn...

Looping through IFrames using Javascript (ie. js)

I'll just paste some code here. It should be self explainatory... /****************************************************************************************** Requirements: 1. <body onLoad="wt_ad_impression()"> 2. <div id="wt_call"></div> somewhere in body 3. <input type="hidden" id="wt_name" name="wt_name" value="wt.AD" /> at Xigla Edit Banner 4. <iframe></iframe> not <iframe /> for FireFox in Ad Zone Grouping *******************************************************************************************/ var intervalId = 0; var wt_iframes = null; var iframeCount = 0; var iframeIterator = 0; function wt_ad_impression() { alert("called"); wt_iframes = document.getElementsByTagName("iframe"); iframeCount = wt_iframes.length; intervalId = setInterval(wt_collect, 200); } function wt_collect() { alert("in wt_collect"); alert(...

Change the Publishing Path for Uploaded Assets / Embedded Assets

To do this you need to use the assetfilename.asp file. Then: <% 'Place uploaded Poll Questions in the same folder as the 'DesignersPoll.asp file. Needed for Poll to work. poll_question_live_path = "/poll/poll_questions/" 'Loop through right column items to look for Poll type set right_col_list = content.createList("right_col_type") do while right_col_list.nextEntry() if right_col_list.item("right_col_type") = "poll" then 'Check if the current uploaded asset being processed matches and update publishing path if instr(right_col_list.item("poll_xml"), content.item("_cmsRemoteFileName")) > 0 then content.add "_cmsPublishPath", poll_question_live_path&content.item("_cmsRemoteFileName") exit do end if end if loop %...