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

Forum

Subject: new skin object token
Prev Next
You are not authorized to post a reply.

Author Messages
rogerg1967
DNN Creative Magazine Subscriber
Nuke Pro
Nuke Pro
Posts:76

12 Dec 2008 6:02 PM  
Hi,
I want to add my company details as a link in the footer of my pages in the same way the Terms and Privacy work. I can do this by adding the url into the skin and creating a new a.class to make it look the same as the other skin object items. What I have just tried to do is create a new object and token. I have used the Terms xml, ascx and vb files and changed the code to match my new link. I have had several issues. When I try to upload and install the skin from a .zip i get the following error,

  • Processing token: [DTC]
  • Token not found: [DTC]
  • When I try and put this directly into my ascx file I get this error.

     DotNetNuke.Services.Exceptions.PageLoadException: Unhandled error loading page. ---> System.Web.HttpParseException: C:\websites\DNN\cssskin\Admin\Skins\DTC.ascx.vb(1): error ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl). ---> System.Web.HttpCompileException: C:\websites\DNN\cssskin\Admin\Skins\DTC.ascx.vb(1): error ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl). at System.Web.Compilation.BuildManager.PostProcessFoundBuildResult(BuildResult result, Boolean keyFromVPP, VirtualPath virtualPath) etc etc....

    Can you point me in the right direction, is it possable to do this in this way?

    Regards

    Roger

    jncraig
    DNN Creative Staff
    Nuke Master II
    Nuke Master II
    Posts:2516


    13 Dec 2008 9:44 AM  
    I don't have the answer for you, but you've clearly got a problem with the way that your skin object inherits from the proper class.  Take a look at this blog entry and also this one.


    Joe Craig
    DNN Creative Support
    Subscribe to the website
    ollep
    DNN Creative Magazine Subscriber
    Nuke Master
    Nuke Master
    Posts:100

    15 Dec 2008 2:12 PM  

    Hi Roger.

     

    I normally just change the settings in the “Skin HTML” file, Ie; “index_no_logo.html”.

     

    In the bottom of that file you have all the code and “href=” format.

     

    Cheers

     

     

    Olle…

    You are not authorized to post a reply.
    Forums > Users Lounge > Everything Else > new skin object token



    ActiveForums 3.7

    Latest Forum Posts

    RE: DotNetNuke News 8th Dec 08 by jncraig
    Yes, I'm getting an error, also. But ... you can probably get the podcast from this link: http...
    RE: Can't Login! Login Page can't be accessed... by jncraig
    This table is part of your DotNetNuke database.You might first want to review these tutorials to hel...
    DotNetNuke News 8th Dec 08 by pwadding
    When I attempt to download the  Podcast I get an error message. Tried both servers. The first few li...
    RE: Can't Login! Login Page can't be accessed... by e-kreator
    a database that you mean.
    RE: DotNetNuke 4.9.1 and 5.0.0 by jncraig
    Yes, lots of learning, lots of new things and new ways.  I played a little with Beta6 of DotNetNuke ...
    RE: PDF File Content by jncraig
    If you want to just serve up the PDF files as PDF files, upload them using the File Manager.  You ca...
    RE: Navigating between modules by jncraig
    What is the URL that is generated? To which page does it send you?
    RE: New Logo cant display by jncraig
    There is nothing wrong with this, provided that you did it correctly.  I would have to look at your ...
    RE: Child portal to live site by jncraig
    You should set DNS to point the URL to the IP address of the DotNetNuke installation.  Inside of the...
    RE: PopUp Page by jncraig
    To open a link in a new window, format the link this way:Link to us! It is the target="_blank" that...
    RE: How to Change fckeditor alignment by jncraig
    It might be easier to use a different skin for your administrative pages. There have been some ot...
    RE: Can't Login! Login Page can't be accessed... by jncraig
    If you have access to your database, look at the Portals table.  Make sure that LoginTabID is set to...
    RE: Can't Login! Login Page can't be accessed... by e-kreator
    Hello my problem is that the configuration management in login page page was sent to a Web page that...
    RE: Create new 'host' user? by jncraig
    You can change a regular user to a Host, by setting the "Host" user's IsSuperUser set to True in the...
    Create new 'host' user? by jonathanbrickman0000
    I have a DNN 4.7 web site successfully migrated to a new server.  There is only one hitch:  the 'hos...
    RE: split copyrgt option in two lines by jncraig
    You can put a in the copyright text. This may or may not put other text (to the right of the copyr...
    RE: Can't Login! Login Page can't be accessed... by jncraig
    Try: http://localhost/DNN/login.aspx http://localhost/DNN/?ctl=login If neither of those ge...
    RE: HOw to upload site from localserver to www.mysite.com by jncraig
    View this tutorial:How to transfer a localhost DotNetNuke installation to a live websitePay special ...
    RE: Nightmare with SKINS... by jncraig
    Before you get in too far, you might want to take a look at:An Introduction to the Principles of Dot...
    RE: Nightmare with SKINS... by dougieladd
    Hi Joe...thank you for that...I kind of assumed that was the case. As I understand it the skin comes...
    DotNetNuke Modules
    RSS Feeds