Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Copyright lengthCopyright length
Previous
 
Next
New Post
4/9/2013 8:59 PM
 

Instead of going to all that effort - why not just change you skin and directly inject your copyright statement in there.

Westa

 
New Post
4/11/2013 2:21 PM
 

Good idea Wes, thanks. I ended up telling marketing they only get 100 chars! That worked too :)

 

 
New Post
4/13/2013 4:46 AM
 
You need to increment size of field FooterText in PortalLocalization table as well as adjust size of @FooterText parameter in Stored Procedure UpdatePortalInfo.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/11/2014 10:04 AM
 
Increment the size of FooterText in PortalLocalization table to 500 char:

ALTER TABLE [dbo].[PortalLocalization] ALTER COLUMN FooterText nvarchar(500)

The code to modify store procedure UpdatePortalInfo.

GO
/****** Object: StoredProcedure [dbo].[UpdatePortalInfo] Script Date: 02/11/2014 15:27:08 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[UpdatePortalInfo]
@PortalID int,
@PortalGroupID int,
@PortalName nvarchar(128),
@LogoFile nvarchar(50),
@FooterText nvarchar(500),
@ExpiryDate datetime,
@UserRegistration int,
@BannerAdvertising int,
@Currency char(3),
@AdministratorId int,
@HostFee money,
@HostSpace int,
@PageQuota int,
@UserQuota int,
@PaymentProcessor nvarchar(50),
@ProcessorUserId nvarchar(50),
@ProcessorPassword nvarchar(50),
@Description nvarchar(500),
@KeyWords nvarchar(500),
@BackgroundFile nvarchar(50),
@SiteLogHistory int,
@SplashTabId int,
@HomeTabId int,
@LoginTabId int,
@RegisterTabId int,
@UserTabId int,
@SearchTabId int,
@DefaultLanguage nvarchar(10),
@HomeDirectory varchar(100),
@LastModifiedByUserID int,
@CultureCode nvarchar(50)

AS

UPDATE dbo.Portals
SET
PortalGroupID = @PortalGroupID,
ExpiryDate = @ExpiryDate,
UserRegistration = @UserRegistration,
BannerAdvertising = @BannerAdvertising,
Currency = @Currency,
AdministratorId = @AdministratorId,
HostFee = @HostFee,
HostSpace = @HostSpace,
PageQuota = @PageQuota,
UserQuota = @UserQuota,
PaymentProcessor = @PaymentProcessor,
ProcessorUserId = @ProcessorUserId,
ProcessorPassword = @ProcessorPassword,
SiteLogHistory = @SiteLogHistory,
DefaultLanguage = @DefaultLanguage,
HomeDirectory = @HomeDirectory,
LastModifiedByUserID = @LastModifiedByUserID,
LastModifiedOnDate = getdate()
WHERE PortalId = @PortalID

IF EXISTS (SELECT * FROM dbo.PortalLocalization WHERE PortalId = @PortalID AND CultureCode = @CultureCode)
BEGIN
UPDATE dbo.PortalLocalization
SET
PortalName = @PortalName,
LogoFile = @LogoFile,
FooterText = @FooterText,
Description = @Description,
KeyWords = @KeyWords,
BackgroundFile = @BackgroundFile,
HomeTabId = @HomeTabId,
LoginTabId = @LoginTabId,
RegisterTabId = @RegisterTabId,
UserTabId = @UserTabId,
SplashTabId = @SplashTabId,
SearchTabId = @SearchTabId,
LastModifiedByUserID = @LastModifiedByUserID,
LastModifiedOnDate = getdate()
WHERE PortalId = @PortalID
AND CultureCode = @CultureCode
END
ELSE
BEGIN
DECLARE @AdminTabId int
SET @AdminTabId = (SELECT AdminTabId
FROM dbo.PortalLocalization
WHERE PortalID = @PortalID AND CultureCode='en-US')

INSERT INTO dbo.PortalLocalization (
[PortalID],
[CultureCode],
[PortalName],
[LogoFile],
[FooterText],
[Description],
[KeyWords],
[BackgroundFile],
[HomeTabId],
[LoginTabId],
[UserTabId],
[AdminTabId],
[SplashTabId],
[SearchTabId],
[CreatedByUserID],
[CreatedOnDate],
[LastModifiedByUserID],
[LastModifiedOnDate]
)
VALUES (
@PortalID,
@CultureCode,
@PortalName,
@LogoFile,
@FooterText,
@Description,
@KeyWords,
@BackgroundFile,
@HomeTabId ,
@LoginTabId ,
@UserTabId,
@AdminTabid,
@SplashTabId ,
@SearchTabId,
-1,
getdate(),
-1,
getdate()
)
END

Optional Modify the asp textBox control adding TextMode="Multiline" in the \DesktopModules\Admin\Portals\sitesettings.ascx





 
New Post
2/11/2014 4:02 PM
 
As another approach... Why not just create a new page to house the information and put the stuff there. Then, in the localization text for the copyright, just put a nice link to your page. In your skin, just remove the copyright skin object and replace it with a fixed link to your page. This method is very safe for upgrades, and it has the added bonus of letting you make a more involved page (with a menu/in page nav if you'd like).

Mike
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Copyright lengthCopyright length


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out