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

Forum

Fun? with styling of Home.aspx
Last Post 2010-03-17 09:32 PM by Joseph Craig. 5 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
DoxeyUser is Offline
Nuke Active Member
Nuke Active Member
Posts:26

--
2010-03-15 10:54 PM  
I asked my assistant to create a page for me and pursue an idea that I had for our intranet.  I thought it would be a fun learning experience for him.  

Well he came running in a little while later, frantic that he had broken the site.  When I looked, there was no Home page.

I think what he did was rather than create a new page, he started modifying the Home page, removing modules, changing the permissions, etc.  Yikes! 

So, in Admin > Pages, I found the page he was working on and using Settings I renamed it Home.  I put the permissions back on for everyone to view the page, and I replaced the modules.  Whew.  I then went to his desk to give him some remedial training on creating pages, etc...

Okay so now my Home page is close but not quite right.  What I notice is that my links are now underlined on the Home page.  Any other page the links are not underlined.  If I create a new page the links are not underlined.

If I highlight a link and then Inspect Element, it sees my skin.css has a:link { text decoration: none}.  However that is overwritten by an embedded style in the html of Home.aspx that says a: text decoration: underlined.  See attached snippet.

The Page Skin settings for Home are set to Portal Default, same as every other page on the site.

I would go rip out the offending embedded style in home.aspx but I cant find that file and I have never understood how Home.aspx is created or how to manipulate the code there.

Sorry for the long post.  I hope to learn something from this.
Doxey




1315543644671.PNG

Lee SykesUser is Offline
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945
Avatar

--
2010-03-17 01:15 PM  
Hello,

The embedded style is likely to be placed within a text / html module that is on your Home page.

You can not find the page Home.aspx as DNN doesn't create "pages" the data is stored in the database and no physical pages are created.

So, I would look at the source code of the home page and see if you can find where the embedded style is placed, from there you should be able to work out which module you need to edit on the home page.

You may find this useful reading:
An Introduction to the Principles of DotNetNuke


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:9008
Avatar

--
2010-03-17 04:04 PM  
If the styles are not defined in a Text/HTML module, they might be defined in either the Header or Footer setting of a module.  You'll need to go to each module on the page, open up the Page Settings and then look for the Header and Footer setting under Advanced Settings.



Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
DoxeyUser is Offline
Nuke Active Member
Nuke Active Member
Posts:26

--
2010-03-17 05:23 PM  
Thanks so much for your help. The View Source tip, so simple, was effective. I went right to the problem - a cut and paste from Word into a blog post on that page. As it turns out, the trouble had nothing to do with the debacle regarding the Home page being modified. I cut the offending content from the blog post, pasted it into a text editor to clear out underlying code, then pasted the text back into the blog post. This cleared up the styling on the page. I will instruct my bloggers not to do that anymore. Thanks!


Joseph CraigUser is Offline
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9008
Avatar

--
2010-03-17 09:32 PM  
You can also warn bloggers to use the Paste from Word tool.  It's often helpful.  For major things, I'll paste into Notepad, and cut-n-paste from there into the website.

You can also take a hint from the forums here, and limit what your bloggers can do.  Lee has a couple of quite useful tutorials on configuring the F(CK) Editor.

Oh ... the current versions of DotNetNuke do let you use the Telerik Rad Editor instead of the (F)CK Editor.  Go to the Telerik site, download a module, and install it.  Takes about 5 minutes, including the time to read the instructions.  Some folks find that editor more useful.



Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
Joseph CraigUser is Offline
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9008
Avatar

--
2010-03-17 09:32 PM  
You can also warn bloggers to use the Paste from Word tool.  It's often helpful.  For major things, I'll paste into Notepad, and cut-n-paste from there into the website.

You can also take a hint from the forums here, and limit what your bloggers can do.  Lee has a couple of quite useful tutorials on configuring the F(CK) Editor.

Oh ... the current versions of DotNetNuke do let you use the Telerik Rad Editor instead of the (F)CK Editor.  Go to the Telerik site, download a module, and install it.  Takes about 5 minutes, including the time to read the instructions.  Some folks find that editor more useful.



Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
You are not authorized to post a reply.

Active Forums 4.3

Latest Forum Posts

RE: iPhone website logo in DNN root directory by JohnnieD
I'm supposed to add this link to make my custom logo show up on iPhones. Where in DNN would I a
iPhone website logo in DNN root directory by JohnnieD
I'm trying to put an iPhone logo that I made into my site so when someone saves the website on their
RE: Fixed size container by Joseph Craig
Use an HTML module and style the container to have a fixed height and width. Set the overflow attr
Fixed size container by Aggiedan97
I am looking for advice or an actual container that has a fixed height (and width). An HTML module w
RE: DNN 6.1 app_offline.htm by Joseph Craig
If the site "works" in Chrome, Firefox and Safari, but not in IE8 look to IE8 as the problem. It is
RE: DNN site automatically redirects to a different domain name. by Joseph Craig
Make a copy what is in the portalalias table and then remove all but the localhost entry. Verify th
DNN 6.1 app_offline.htm by Dave Hassall
Hi As recommended I have successfully been using the app_offline.htm whilst performing upgrades t
RE: DNN site automatically redirects to a different domain name. by imran shaikh
Hi i have done same as mention in this post my dnn folder name is Trademaxomanupg with
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
You are not logged in.
You must log in to access all 
650+ videos, tutorials, podcasts, and more.
RSS Feeds