DotNetNuke Skins and Resources by ThinkofDesign

Forums

Subject: Working with .ascx pages
Prev Next
You are not authorized to post a reply.

Author Messages
bab User is Offline
New Member
New Member
Posts: 1


09/29/2006 12:55 AM  
Well I am new to this dnn skinning. I have been using your tutorial as starting point. However, I am unable to change the [MENU] items color. Could you post where this needs to be changed?

Also I have a < img> tag within my .ascx page, but the images are never found the src is never referenced correct after uploading. If I just you the .htm page then the < img> tags are found and replace with the correct path. How would I fix this issue.

Just trying to learn something new and kind of getting fustrated. Thank you for your help..
Vasilis User is Offline
Yellow Member
Yellow Member
Posts: 315


11/05/2006 07:40 AM  
Hi and sorry I didn't reply this on time! I just don't want to leave it without an answer...

In my skinning tutorial, at the bottom of the skin.css file there are the CSS styles for the menu (there is a /*menu*/ comment above them). Just keep in mind that you have to put also the right menu attributes in your skin.ascx (or skin.xml if you work with html files), or else the CSS styles won't work properly.

Images in the ascx skins need the <%= SkinPath %>. So if you want to use an image, that you have put in your skin's folder, your code must be like this:

< img scr=<%= SkinPath %>image.jpg />

Cheers
lgtaylor User is Offline
New Member
New Member
Posts: 5

www.411designstreet.com
03/18/2007 09:30 PM  
I followed your tutorial on creating my own skin (and .css and container), and I zipped the skin and css together, and then I zipped the container and css together. When I tried to upload the zipped file to my dotnetnuke server, I received this error:

DotNetNuke.Services.Exceptions.ModuleLoadException: Libray cannot extract this entry version required (45) ---> ICSharpCode.SharpZipLib.ZipException: Libray cannot extract this entry version required (45) at ICSharpCode.SharpZipLib.Zip.ZipInputStream.GetNextEntry() at DotNetNuke.UI.Skins.SkinController.UploadSkin(String RootPath, String SkinRoot, String SkinName, Stream objInputStream) at DotNetNuke.Modules.Admin.FileSystem.WebUpload.cmdAdd_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---

Thank you

Linda G. Taylor
411 Design Street
Website Design & Multimedia
Vasilis User is Offline
Yellow Member
Yellow Member
Posts: 315


03/19/2007 06:38 AM  
Hi Linda and welcome,

Could you please post some more info? What DNN version you're using and which software did you use to zip your files?

Cheers,

Vasilis
lgtaylor User is Offline
New Member
New Member
Posts: 5

www.411designstreet.com
03/19/2007 09:23 AM  
Hi Vasilis and thank you,
I am using DNN 4.4.1 and I am using a free zip program called JustZipIt. I am also new to DNN.

If there is anything else you need to know, let me know.

Linda G. Taylor
411 Design Street
Website Design & Multimedia
Vasilis User is Offline
Yellow Member
Yellow Member
Posts: 315


03/19/2007 03:24 PM  
An easy test you can do is to use another software to zip your files like TUGZip or 7-Zip and see if that works. Both are free.

Let me know.

You are not authorized to post a reply.
Forums > DotNetNuke > Skinning in general > Working with .ascx pages



ActiveForums 3.7