ollep
Nuke Master Posts:456
|
06/24/2010 7:26 PM |
|
Google Analytic stole (or hides) my -tags in DNN 05.04.02 (66)
Hi guys!!
Just created a new disaster. – Maybe.
Attempted to enter the Google Analytics Java Script on this site, and it didn’t save it when I entered it under the normal editor / HTML.
I went to the “Basic TextBox” and played around, eventually got it in there and Google recognized it.
Afterwards I noticed that text had disappeared from some Modules, but when I attempted to re-enter text I found that it’s there in HTML – but doesn’t display.
tags doesn’t display anywhere.
I checked DNN standard pages as “Extension” and there is no text displayed??
Somehow I have managed to his all text on the site?
This text doesn’t display; P This page is Created and Serviced by Olle Persson; - www.ollepersson.com - to assist people with desire to achieve more both on line and in life in general. We are a group of “Business es” with extended experience in marketing, web development and effective web presence.br / br / Success in life is a matter of BALANCE, Your Health and Energy, Your Family life and Relationships, Your Career and Finance as well as your Spirituality, Peace and Harmony. With the 4 in place, you have TRUE WEALTH – with one missing we won’t call it “wealth”br / br / Check out the following links to our partners sister companies, and contact us using the below details./p
Site address; http://www.ollepersson.com/Home.aspx Host; host Pass; xxxxxxx
Latest DNN 05.04.02 (66) The new FCK Editor.
Google Analytics; script type="text/javascript"
var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-1584030-25']); _gaq.push(['_trackPageview']);
function var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script'[0]; s.parentNode.insertBefore(ga, s; ;
script
|
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
06/26/2010 1:36 PM |
|
Just go to Google Analytics under Admin and enter your tracking code. Remove an additions that you have made.
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
ollep
Nuke Master Posts:456
|
06/26/2010 4:55 PM |
|
Thanks - didn't know about that new function Joe. Under "parameter" is that a list of all pages on the site? I've entered the tracking Code. PROBLEM STILL; I can't see the old scripts on the pages - thus can not remove them. This didn't bring back my lost "P" tags on the site??? IE: if you look under "host / extension" you find there are no text there?? (In Firefox.) Thanks!! |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
06/27/2010 11:16 AM |
|
It is possible that the Google tracking code is built into the skin.
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
ollep
Nuke Master Posts:456
|
06/27/2010 2:57 PM |
|
Hi Joe. Shouldn't it be visible in the skin then? How can my unique site tracking code be in the skin? The site worked fine as I built it, and this is the skin that I re-built quite a bit. Changed the CSS, but also change the heading to an additional content pane. THE PROBLEM. I entered the Google script in the top HTML module, in the HTML tag, as I closed / saved and then went back it wasn't visible there. I then went to the basic text box and entered the code, there I could see it temporarily. I checked in Google and the code was recognized. Finally I go back to the site and notice that part of my page content are lost??? Something happened Joe as I attempted to enter the Google script on the site!!! Cheers Olle.... |
|
|
|
|
ollep
Nuke Master Posts:456
|
06/27/2010 3:41 PM |
|
Hi again Joe. This site, and probably 2 more. http://www.mepstar.com/Home.aspxRuns the Goggle script in DNN; 05.04.01 (26) This DNN are using a previous version of the FCK editor. Here it's immediately visible looking at the "Source" in FCK editor. I can't see andy "Source" tab in teh new editor, so I assumes it's the "HTML-Tab" that replaces it? Cheers Olle... |
|
|
|
|
ollep
Nuke Master Posts:456
|
06/27/2010 4:55 PM |
|
Just been on the site and played around. Removing the Google Analytic key in "Admin/Google Analytic". Removed all code from the top modules on each page, this is where the invisible Google Script has been added. Checking in Google Analytics and it still states "Receiving Data" This should be an error, "Now tracking Code Installed". Checking the site after rebooting, both "host/Extensions" and "Host/host Settings" have no text. I enter some text in a couple of modules; The text is first entered as a "paragraph Style" and is visible, I then testing "H1" and "H3" styles and they are visible. Finally set the text as "P" or "normal" and it is invisible. Testing in CSS, I can edit the "p" or "normal" text from CSS without seeing it. (I see the module expanding as I change font size. No success and no wiser so far. |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
06/27/2010 5:51 PM |
|
I think that there are several items going on here.
If you can't see something in the module editor, switch to Source mode or switch to the basic text editor and get into HTML mode. You will see the actual HTML code that's stored in the module.
If you pasted the google script into an HTML module, it's probably not visible in WYSIWYG mode because there is nothing to see.
To deal with the google issue, look for modules where the code might be stored, go into HTML mode and erase it all. Then, go to site settings and (temporarily) remove the google tracking tag. Now, view the Source of one of your pages, and you should not be able to find the google code. Put the tracking code back under site settings and you will see the injected Google code. That's all and well.
As for the p tags, verify that they are there in the HTML. If you can't see text that is wrapped in a p tag, that is probably because there is CSS that is making invisible, showing it in white, etc. Look at your CSS and you should find the issue.
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
ollep
Nuke Master Posts:456
|
06/27/2010 6:32 PM |
|
Thanks Joe Well, your probably right - as usual - Joe. But the Editor version in DNN 05.04.02 (66) doesn't seem to have the "Source" any longer. it's now called "HTML". (Which is the same thing anyway.) It is definitely the skin that are hiding the "P" tags. I tested a bit on CSS before but I guess i didn't do it well enough. ****************** To deal with the google issue, look for modules where the code might be stored, go into HTML mode and erase it all. DONE - on all pages. Then, go to site settings and (temporarily) remove the google tracking tag. Do you mean "admin / Google Analytics" ? Can't find Google under site settings. Gona go play with CSS!! Cheers Olle... |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
06/27/2010 6:35 PM |
|
Yes, the RAD editor calls it HTML, which is a better name. Just have to get used to the new position! (By the way, it is a simple edit to web.config to use the old FCK Editor.)
Yes, I meant Google Analytics under the Admin menu. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
ollep
Nuke Master Posts:456
|
06/27/2010 6:55 PM |
|
Yes it was the Skin CSS Joe.
/* this is the font class used throughout your site - change the size here */ table, tr, td, th, div, p { font-family: tahoma; font-size: 14px; line-height: 1.4em; color: #fff; }
Problem might be solved for now.
Cheers
Olle....
|
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
06/27/2010 7:11 PM |
|
Yes, that #FFF makes the text white. If it is on a white background, that makes it rather difficult to see ...
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
ollep
Nuke Master Posts:456
|
06/30/2010 11:56 PM |
|
Yea I noticed Joe. So, again the "disaster" where a bit "self inflicted". Obviously have to split up this class so I can set the properties individually. Still confused about the Google Script though, but let's make it a new topic. Thanks for this one Joe.... Olle... |
|
|
|
|