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 08: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 09: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 12: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 Online
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9309
Avatar

--
2010-03-17 03: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 04: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 Online
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9309
Avatar

--
2010-03-17 08: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 Online
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9309
Avatar

--
2010-03-17 08: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

DNN 6.2 by Sameer
Hi All i am using dnn 6.2 beta version for my demo site i need to custmize the 4 modules in that
RE: Deploying dnn by Sameer
Thanks a lot so kind of you
RE: Unable to Create Skin Package by schilders
Joe, When I click the Edit icon next to the skin package on the Host Extensions page, I receive t
horizontal main and submenu items by Dan Glanton
I found a very good tutorial on horizontal main and subitems in DNN Creative, but what about if you
RE: Skin creation - Menu questoni by Joseph Craig
This has to do with the structure of the elements that make up the skin and the CSS. Most likely, y
Skin creation - Menu questoni by CDMeyer
I have a skin and when I add more menu items to the nav bar than can fit in one row of nav, the seco
RE: FCK Editor in DNN 6 by Pingle2009
Just to follow on from Joe's reply, the 'official' line seems to be that not only that the old FCK E
RE: Slice a Site by Dan Glanton
Thanks, I'll look into that when I get a chance.
RE: Creating structured page content by Stephen Bugden
Thankyou very much Joe, I will take a look at your suggestions.
RE: Subpages or dropdowns navigation is going behind this flash by Joseph Craig
I googled a bit and found that this is a messy problem. Possibly the best solution will be to giv
RE: Subpages or dropdowns navigation is going behind this flash by vijendra
Pls check the attachment. That Iframe code we are using and subnavigations are goind behind that.
RE: Rename or move site from domain name to subdomain name by Bill Quinn
Hi Joseph, Thank you so much for your reply. I will be able to implement this later in the we
RE: Creating structured page content by Joseph Craig
Take a look at the DotNetNuke Reports Module, the DotNetNuke Form & List Module, SGSV from Tresslewo
RE: Subpages or dropdowns navigation is going behind this flash by Joseph Craig
It looks like your iframed content may have a z-index that puts it on top of the menu. I can't id
Subpages or dropdowns navigation is going behind this flash by vijendra
Hi, Subpages or dropdowns navigation is going behind this flash. Pls check the url below http://www.
RE: user adding images by rod lloyd
That worked, thank you. I did not expect those permissions to be in File Manager. I note a
RE: Unable to Create Skin Package by Joseph Craig
To be quite honest, I've never used this functionality to create a skin. What I usually do is cre
RE: Unable to Create Skin Package by Joseph Craig
I'm confused by this, too.
RE: Unable to Create Skin Package by schilders
We are running DNN 6.x
RE: Unable to Create Skin Package by Joseph Craig
Which version of DotNetNuke are you using?
You are not logged in.
You must log in to access all 
650+ videos, tutorials, podcasts, and more.
RSS Feeds