Copyright


Author Message
David

Posted: 7/11/2013
Quote message 

Hi

I am using DNN7 and Artistreer 4.1
I am trying to modify the skin to add Copyright so I put
<dnn:Copyright runat="server" id="dnnCopyright">

but it do not work and have the following error message:
admin_skin_copyright_ascx does not have a public property named 'script'

what is the correct procedure?

Thanks in advance
David


 
Jeff

Posted: 7/11/2013
Quote message 

Normally, add the directive at the top of the skin:

<%@ Register TagPrefix="dnn" TagName="COPYRIGHT" Src="~/Admin/Skins/Copyright.ascx" %>

Then, where you want the copyright to appear in the skin:

<div id="copyright"><dnn:COPYRIGHT ID="dnnCopyright" runat="server" /></div>

Jeff
 
David

Posted: 7/11/2013
Quote message 

Thanks Jeff for yours answers

to make it works I have to put the following lines in the App_LocalResources/page.ascx.resx

<data name="Copyright.Text">
<value xml:space="preserve">Copyright (c) {1} Thanks guys for yours answers to make it works I have to put the following lines in the App_LocalResources/page.ascx.resx Copyright (c) {1} Thanks Jeff for yours answers to make it works I have to put the following lines in the App_LocalResources/page.ascx.resx Copyright (c) {1} Thanks guys for yours answers to make it works I have to put the following lines in the App_LocalResources/page.ascx.resx Copyright (c) {1} {0} But I still do not understand why But I still do not understand why But I still do not understand why</value>
</data>

But I still do not understand why
 
David

Posted: 7/11/2013
Quote message 

<data name="Copyright.Text">
<value xml:space="preserve">Copyright (c) {1} Copyright (c) {1} {0} </value>
</data>