You need to Register for free and Login to post a message in the forum.

Forum

how to move Viewstation code down of sourc code
Last Post 2010-02-18 05:55 AM by ashishshukla. 5 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
moradUser is Offline
Nuke Newbie
Nuke Newbie
Posts:6

--
2009-12-19 12:26 PM  
hi lee,Joseph just I wondering about how we can move the viewstation code down of source code I see some of dnn web sites do that for seo Search engine optimization I try to figure out but I didn’t find any usefully article so please help us to know how we can change it to appear the down of source code ?as well how we can compressed to be small size in the source code I will appreciate that’s so much ?
Joseph CraigUser is Offline
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9005
Avatar

--
2009-12-20 03:45 AM  
Take a look at Pure CSS SEO Layouts for DotNetNuke skins.

For more information regarding DotNetNuke and SEO, check out seablick.com.

Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
Lee SykesUser is Offline
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945
Avatar

--
2009-12-20 08:07 AM  
Hello,

The pure CSS SEO layout will help for SEO but not for viewstate.

To move the viewstate use Snapsis PageBlaster - this will also provde other performance benefits.

Thanks,
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile
Joseph CraigUser is Offline
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9005
Avatar

--
2009-12-20 03:47 PM  
I did some Googling about this topic ...

You will find some interesting discussions involving folks like Joe Brinkman and Mitchel Sellers on this topic.

I'm also reminded that there is a new "relocation widget" in DotNetNuke 5.  It will let you move items around in the page.  You can read Will Strohl's take about it here.

Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
ashishshuklaUser is Offline
Nuke Newbie
Nuke Newbie
Posts:2

--
2010-02-18 05:49 AM  
Please ignore this.
ashishshuklaUser is Offline
Nuke Newbie
Nuke Newbie
Posts:2

--
2010-02-18 05:55 AM  
Hello Sir,

We have a DNN website with community version. We are getting a very big View State in DNN page.

So to remove viewstate at the bottom of page we override render method in Default.aspx.vb in my DNN website as following :

Protected Overrides Sub Render(ByVal writer As System.Web.UI.HtmlTextWriter)
Dim stringWriter As New System.IO.StringWriter()
Dim htmlWriter As New HtmlTextWriter(stringWriter)
MyBase.Render(htmlWriter)
Dim html As String = stringWriter.ToString()
Dim StartPoint As Integer = html.IndexOf(" If StartPoint >= 0 Then
Dim EndPoint As Integer = html.IndexOf("/>", StartPoint) + 2
Dim viewstateInput As String = html.Substring(StartPoint, EndPoint - StartPoint)
html = html.Remove(StartPoint, EndPoint - StartPoint)
Dim FormEndStart As Integer = html.IndexOf("</form>") - 1
If FormEndStart >= 0 Then
html = html.Insert(FormEndStart, viewstateInput)
End If
End If
writer.Write(html)
''MyBase.Render(writer)
End Sub

With this change I am getting the view state at the bottom of the page. Because of this change in Admin/host mode "Control Panel" of DNN is not working.

And I are not able to perform Control Panel options like add page, remove page, add module to a page, etc..

Can you please suggest something on this?

Thanks in Advance.
Ashish Shukla
You are not authorized to post a reply.

Active Forums 4.3

Latest Forum Posts

Enforce Terms Tutorial Update by Vistalogix Corporation
I tried configuring my DNN 6.1.2 install to have a required "accept terms" checkbox as described in
RE: Best Practices for Modifying a Custom Module by Joseph Craig
Start up the development website, then install the module using the package that you have. Then, yo
Best Practices for Modifying a Custom Module by schilders
Good Morning, I'm needing to modify a custom built module created by another developer targeted f
RE: Admin menu problem by alireza arabiyan
hi in localhost i have http://localhost/senf/خانه.aspx and http://localhost/senf/Admi
RE: Admin menu problem by Joseph Craig
Yes, that is what you should have done. What is the URL for your home page? What is the URL for
RE: Admin menu problem by alireza arabiyan
hi first in localhost i add my domain.com as portal alias. then copy all files to host , restore my
RE: Admin menu problem by Joseph Craig
How did you move it? Have you added an entry in the portalalias table for the site's domain name?
RE: Re: SQL SERVER 2008 R2 Remote connection by Joseph Craig
Set up a user with dbo privileges and set the connection string for that user, rather than using Win
Re: SQL SERVER 2008 R2 Remote connection by Prakasam Srinivasan
I have successfully configured MSSQL Server 2008 r2 remote connection. I am using windows 7 and it h
Admin menu problem by alireza arabiyan
hi i installed dnn 6 on localhost and move it in my host, all link's , pages and modules are ok,
RE: dnn 4.4 upgrade issue by imran shaikh
Thanks you all it is done by renaming release.config to web.config procedure
RE: dnn 4.4 upgrade issue by imran shaikh
Thanks you all it is done by renaming release.config to web.config
dnn 4.4 upgrade issue by imran shaikh
hi this is imran i am upgrading dnn 4.4 to dnn 6.0.2 and getting this error please help me for this
RE: How to build Skins for DNN 6.x by Joseph Craig
I'd recommend that you try replacing the hard-coded text with the DotNetNuke Text skin object. That
RE: Module permission does not work! by Joseph Craig
What permissions have you give to that role?
RE: DNN nav issue by Joseph Craig
Are you using a custom skin? How often does this happen?
RE: Friendly URLs Broken by Joseph Craig
I don't entirely understand this, but I'm glad you got things working.
RE: How to build Skins for DNN 6.x by Christopher Adamakis
Dear all, I have one more question regarding greek fonts. If you check my site http://www.expertsoft
RE: Dnn local setup problem by imran shaikh
this is error is resolve now now getting this one Server Error in '/cooperpharma.ma' Applicat
RE: Module permission does not work! by Abraham Tameru
I created a special role for the user to administer the site. The user is not a member of the Admini
You are not logged in.
You must log in to access all 
650+ videos, tutorials, podcasts, and more.
RSS Feeds