Quick Nav:  Online Store   |   Login | Register
PrevPrev--NextNext
Can you help me to fix these issues
Last Post 24 Feb 2010 01:40 PM by John Mitchell. 10 Replies.
Please Register to participate.
Sort: Print topic: Printer Friendly
AuthorMessagesResolved
Ismet Dumlupinar
New Member
Posts:65


Send PM:Send Private Message

--
23 Feb 2010 08:03 AM
I have a custom navigation menu,
Currently i have no pages visible for unauthenticated users:
so menu rendered as:
<div id="cssmenu0" class="cssmenu"><ul class="Horizontal "></ul></div>

If i add a rule that searches above and replaces it like below;

<div id="cssmenu0" class="cssmenu"><ul class="Horizontal "><li></li></ul></div>

Outcome: Error is gone but this time:
IE8 gives JS Error: addEventListener is null or not an object.

Error refers to following script:

script src="http://www.snapsis.com/WebResource.axd?d=DGn6DenJJau6bo-7IHB6gyjTkNE5guzG6g5hVmEvVws35o5QwtqaIx4PMCcTHZT0WXQJ65j9w7k1&t=633971893266254215" type="text/javascript"> script

I am using DNN 5.1.4 (going to upgrade it to 5.2.3 this week)
IIS 7 (classic mode)
pansiyon rezervasyon (Uses magics of PB)
dnn blog (DotNetNuke News and articles)
godaddy and dotnetnuke (learn how to install dotnetnuke to godaddy)
Türkçe DotNetNuke (Turkish DNN Community Groups)
id blog (my personal blog)
Ismet Dumlupinar
New Member
Posts:65


Send PM:Send Private Message

--
23 Feb 2010 09:57 AM
Resolved by upgrading to a new version of module. However, i would like to hear the answer :)
pansiyon rezervasyon (Uses magics of PB)
dnn blog (DotNetNuke News and articles)
godaddy and dotnetnuke (learn how to install dotnetnuke to godaddy)
Türkçe DotNetNuke (Turkish DNN Community Groups)
id blog (my personal blog)
John Mitchell
Veteran Member
Posts:4350

Avatar

Administrator
Send PM:Send Private Message

--
23 Feb 2010 11:33 AM
I don't know why you would have had a problem with WebResource when doing a replacement on the page like that.

Was this a recent change? Did anything else change recently?
Ismet Dumlupinar
New Member
Posts:65


Send PM:Send Private Message

--
24 Feb 2010 08:48 AM
No there wasn't any other change.
John, can you tell me the way to replace following?

I have bunch of following at my page output.
I must add a closing div to them.

<div id="dnn_ctr753_ZhenlModuleContainer_ctr754_ContentPane">
<div id="dnn_ctr753_ZhenlModuleContainer_ctr755_ContentPane">

So can i use following for Search For?
<div id="dnn_ctr753_ZhenlModuleContainer_*_ContentPane">
And following for replace:
<div id="dnn_ctr753_ZhenlModuleContainer_*_ContentPane"></div>

??
pansiyon rezervasyon (Uses magics of PB)
dnn blog (DotNetNuke News and articles)
godaddy and dotnetnuke (learn how to install dotnetnuke to godaddy)
Türkçe DotNetNuke (Turkish DNN Community Groups)
id blog (my personal blog)
John Mitchell
Veteran Member
Posts:4350

Avatar

Administrator
Send PM:Send Private Message

--
24 Feb 2010 08:56 AM
This would be better:

Search for:
(<div[^>]+ZhenlModuleContainer[^>]+>)

Replace With:
$1</div>
Ismet Dumlupinar
New Member
Posts:65


Send PM:Send Private Message

--
24 Feb 2010 09:31 AM
John your code seems to fix the issue, however triggered other issues :D Can you help me validate this output from ZLDNN modules?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<title></title>
</head>

<body>
<div class="container12_2"><div id="dnn_ctr768_ContentPane"><!-- Start_Module_768 --><div id="dnn_ctr768_ModuleContent" class="ZLDnn-ModuleWrapperContent">
<div id="dnn_ctr768_ZhenlModuleContainer_tbHolder"><table cellspacing="0" cellpadding="0" border="0" style="width:225px;border-collapse:collapse;">
<tr>
<td align="left" valign="middle" style="height:84px;"><span><a name="745"></a><div id="dnn_ctr768_ZhenlModuleContainer_ctr745_ContentPane"><!-- Start_Module_745 --><!-- End_Module_745 --><!-- Start_Module_745 --><div id="dnn_ctr768_ZhenlModuleContainer_ctr745_ModuleContent" class="DnnForge - LatestArticlesContent">
<div class="koseWrap">
<div class="edkoseContent">
<h2 class="NormalBoldVerdana"><a href="http://bodrumdev.info/haber-detay/tabid/57/bh/501/Kimin-kim-oldugunu-tum-Ege-bolgesi-ogrendi.aspx" class="NormalBoldVerdana">AYİNESİ İŞTİR KİŞİNİN..</a></h2>
<img width="55" height="84" border="0" src="http://www.snapsis.com/Portals/0/images/yazarlar/pen.jpg" alt="" />
<div class="koseTextWrap">
<p class="NormalBoldVerdana"><a href="http://bodrumdev.info/haber-detay/tabid/57/bh/501/Kimin-kim-oldugunu-tum-Ege-bolgesi-ogrendi.aspx" class="NormalBoldVerdana">Kimin kim olduğunu tüm Ege bölgesi öğrendi..</a></p>
</div>
</div>
<div class="koseFooter" />
</div>





</div><!-- End_Module_745 --></div>
</span></td>
</tr>
</table></div>
</div><!-- End_Module_768 --></div></div>
<div class="container12_3"></div>
</div>
<a name="753"></a>
<div class="container12">
<div class="container12_1">
<span id="dnn_ctr753_dnnTITLE_lblTitle" class="containertitle">köşe yazarları</span>


</div>
<div class="container12_2"><div id="dnn_ctr753_ContentPane"><!-- Start_Module_753 --><div id="dnn_ctr753_ModuleContent" class="ZLDnn-ModuleWrapperContent">
<div id="dnn_ctr753_ZhenlModuleContainer_tbHolder"><table cellspacing="0" cellpadding="0" border="0" style="width:225px;border-collapse:collapse;">
<tr>
<td align="left" valign="middle" style="height:84px;"><span><a name="750"></a><div id="dnn_ctr753_ZhenlModuleContainer_ctr750_ContentPane"><!-- Start_Module_750 --><!-- End_Module_750 --><!-- Start_Module_750 --><div id="dnn_ctr753_ZhenlModuleContainer_ctr750_ModuleContent" class="DnnForge - LatestArticlesContent">
<div class="koseWrap">
<div class="koseContent"><h2 class="NormalBoldVerdana"><a href="http://bodrumdev.info/haber-detay/tabid/57/bh/28/Bodrum-yillardir-uslanmadan-bikmadan-buyuyor.aspx" class="NormalBoldVerdana">ALİ ŞEN</a></h2><img width="55" height="84" border="0" src="http://www.snapsis.com/Portals/0/Authors/asen.jpg" alt="" /><div class="koseTextWrap"><p class="NormalBoldVerdana"><a href="http://bodrumdev.info/haber-detay/tabid/57/bh/28/Bodrum-yillardir-uslanmadan-bikmadan-buyuyor.aspx" class="NormalBoldVerdana">Bodrum yıllardır uslanmadan, bıkmadan büyüyor</a></p></div></div>
<div class="koseFooter" /></div>





</div><!-- End_Module_750 --></div>
</span></td>
</tr><tr>
<td align="left" valign="middle" style="height:84px;"><span><a name="752"></a><div id="dnn_ctr753_ZhenlModuleContainer_ctr752_ContentPane"><!-- Start_Module_752 --><!-- End_Module_752 --><!-- Start_Module_752 --><div id="dnn_ctr753_ZhenlModuleContainer_ctr752_ModuleContent" class="DnnForge - LatestArticlesContent">
<div class="koseWrap">
<div class="koseContent">
<h2 class="NormalBoldVerdana"><a href="http://bodrumdev.info/haber-detay/tabid/57/bh/129/Yetmise-Bir-Kala.aspx" class="NormalBoldVerdana">OĞUZ ALPÖZEN</a></h2>
<img width="55" height="84" border="0" src="http://www.snapsis.com/Portals/0/Authors/oalpozen.jpg" alt="" />
<div class="koseTextWrap">
<p class="NormalBoldVerdana"><a href="http://bodrumdev.info/haber-detay/tabid/57/bh/129/Yetmise-Bir-Kala.aspx" class="NormalBoldVerdana">Yetmişe Bir Kala</a></p>
</div>
</div>
<div class="koseFooter" />
</div>





</div><!-- End_Module_752 --></div>
</span></td>
</tr><tr>
<td align="left" valign="middle" style="height:84px;"><span><a name="751"></a><div id="dnn_ctr753_ZhenlModuleContainer_ctr751_ContentPane"><!-- Start_Module_751 --><!-- End_Module_751 --><!-- Start_Module_751 --><div id="dnn_ctr753_ZhenlModuleContainer_ctr751_ModuleContent" class="DnnForge - LatestArticlesContent">
<div class="koseWrap">
<div class="koseContent"><h2 class="NormalBoldVerdana"><a href="http://bodrumdev.info/haber-detay/tabid/57/bh/506/Kiraz-Cicek-Acmaya-Devam-Ediyor.aspx" class="NormalBoldVerdana">NAZLI İLTER</a></h2><img width="55" height="84" border="0" src="http://www.snapsis.com/Portals/0/Authors/nilter.jpg" alt="" /><div class="koseTextWrap"><p class="NormalBoldVerdana"><a href="http://bodrumdev.info/haber-detay/tabid/57/bh/506/Kiraz-Cicek-Acmaya-Devam-Ediyor.aspx" class="NormalBoldVerdana">“Kiraz” Çiçek Açmaya Devam Ediyor...!</a></p></div></div>
<div class="koseFooter"></div></div>





</div><!-- End_Module_751 --></div>
</span></td>
</tr><tr>
<td align="left" valign="middle" style="height:84px;"><span><a name="754"></a><div id="dnn_ctr753_ZhenlModuleContainer_ctr754_ContentPane"><!-- Start_Module_754 --><!-- End_Module_754 --><!-- Start_Module_754 --><div id="dnn_ctr753_ZhenlModuleContainer_ctr754_ModuleContent" class="DnnForge - LatestArticlesContent">
<div class="koseWrap">
<div class="koseContent"><h2 class="NormalBoldVerdana"><a href="http://bodrumdev.info/haber-detay/tabid/57/bh/504/Iktisadi-kriz-nedir-Ne-Degildir.aspx" class="NormalBoldVerdana">ERKAN AYRAL</a></h2><img width="55" height="84" border="0" src="http://www.snapsis.com/Portals/0/Authors/eayral.jpg" alt="" /><div class="koseTextWrap"><p class="NormalBoldVerdana"><a href="http://bodrumdev.info/haber-detay/tabid/57/bh/504/Iktisadi-kriz-nedir-Ne-Degildir.aspx" class="NormalBoldVerdana">İktisadi kriz nedir? Ne Değildir?</a></p></div></div>
<div class="koseFooter" /></div>





</div><!-- End_Module_754 --></div>
</span></td>
</tr><tr>
<td align="left" valign="middle" style="height:84px;"><span><a name="755"></a><div id="dnn_ctr753_ZhenlModuleContainer_ctr755_ContentPane"><!-- Start_Module_755 --><!-- End_Module_755 --><!-- Start_Module_755 --><div id="dnn_ctr753_ZhenlModuleContainer_ctr755_ModuleContent" class="DnnForge - LatestArticlesContent">
<div class="koseWrap">
<div class="koseContent">
<h2 class="NormalBoldVerdana"><a href="http://bodrumdev.info/haber-detay/tabid/57/bh/513/Bir-Bodrum-Mucizesi-Evgenia.aspx" class="NormalBoldVerdana">ENİS UMULER</a></h2>
<img width="55" height="84" border="0" src="http://www.snapsis.com/Portals/0/Authors/eumuler.jpg" alt="" />
<div class="koseTextWrap">
<p class="NormalBoldVerdana"><a href="http://bodrumdev.info/haber-detay/tabid/57/bh/513/Bir-Bodrum-Mucizesi-Evgenia.aspx" class="NormalBoldVerdana">Bir Bodrum Mucizesi, Evgenia</a></p>
</div>
</div>
<div class="koseFooter" />
</div>





</div><!-- End_Module_755 --></div>
</span></td>
</tr>
</table></div>
</div><!-- End_Module_753 --></div></div>
<div class="container12_3"></div>
</div>
</body>

</html>
pansiyon rezervasyon (Uses magics of PB)
dnn blog (DotNetNuke News and articles)
godaddy and dotnetnuke (learn how to install dotnetnuke to godaddy)
Türkçe DotNetNuke (Turkish DNN Community Groups)
id blog (my personal blog)
John Mitchell
Veteran Member
Posts:4350

Avatar

Administrator
Send PM:Send Private Message

--
24 Feb 2010 10:00 AM
So the problem is that ZLDNN is not closing the Div sometimes, but at other times it is?
Ismet Dumlupinar
New Member
Posts:65


Send PM:Send Private Message

--
24 Feb 2010 10:03 AM
maybe it was my mistake, but i had to collect five news articles latest instance inside zldnn wrapper module...
Should i post full source of my page?
At start i had 2422 errors, i converted skin to xhtml and decreased errors to 400, now i have 37 error remaining,

i know 30 of them coming from featured slider section of my page, so zldnn has 7 errors i guess...
pansiyon rezervasyon (Uses magics of PB)
dnn blog (DotNetNuke News and articles)
godaddy and dotnetnuke (learn how to install dotnetnuke to godaddy)
Türkçe DotNetNuke (Turkish DNN Community Groups)
id blog (my personal blog)
John Mitchell
Veteran Member
Posts:4350

Avatar

Administrator
Send PM:Send Private Message

--
24 Feb 2010 10:10 AM
I don't see anyway to identify specifically when the div is not closed without some kind of processor intensive code like the validator uses.

If this is just for the one page, then you can target the specific problems directly, but if it happens on multiple pages then I think you would be better off to find out why the ZLDNN container is producing invalid xhtml (not closing some divs).

Ismet Dumlupinar
New Member
Posts:65


Send PM:Send Private Message

--
24 Feb 2010 12:26 PM

Posted By John Mitchell on 24 Feb 2010 08:56 AM
This would be better:

Search for:
(<div[^>]+ZhenlModuleContainer[^>]+>)

Replace With:
$1</div>



What if i remove that item?
Would it fix my problems?
What rule should i use for removing
<div id="dnn_ctr768_ZhenlModuleContainer_ctr745_ContentPane">
from page output?
pansiyon rezervasyon (Uses magics of PB)
dnn blog (DotNetNuke News and articles)
godaddy and dotnetnuke (learn how to install dotnetnuke to godaddy)
Türkçe DotNetNuke (Turkish DNN Community Groups)
id blog (my personal blog)
John Mitchell
Veteran Member
Posts:4350

Avatar

Administrator
Send PM:Send Private Message

--
24 Feb 2010 01:40 PM

Search for:
(<div[^>]+ctr768_ZhenlModuleContainer[^>]+>)
Replace With:

Please Register to participate.

Active Forums 4.1
     
      
Powered by: Snapsis Software