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 ...Links to images have /DotNetNuke_2/Portals/ in URLLinks to images have /DotNetNuke_2/Portals/ in URL
Previous
 
Next
New Post
11/7/2008 5:30 PM
 

I have a test site up locally and it points to:

http://localhost/dotnetnuke_2/Home/tabid/36/ctl/Edit/mid/373/Default.aspx

 

which is fine for testing however when I make a link in one of the contentPanes the link src="/DotNetNuke_2/Portals/....." when this site is live there will be no /DotNetNuke_2/ so how do i get rid of that in my links?

 
New Post
11/8/2008 5:41 PM
 

Hey Sanzone,

Check out the following thread for more information on resolving this issue:

http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/108/threadid/259795/scope/posts/Default.aspx

Take care,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
11/10/2008 9:47 AM
 

Buying a 3rd party software to fix a problem in my mind is not a solution. The issue of it being part of the HTML editor means that there needs to be a redesign of how it works.

the solution of searching through the content looking for a string to delete seems like something that the current system needs. I'll just make a stored procedure to search through the content and fix it.

-------- Incase someone wants it.........

CREATE PROCEDURE dbo.SPROC_FixContent
@TestFoldername varchar(500)

AS
BEGIN

    SET NOCOUNT ON;

Update dnn_HtmlText
set DesktopHtml = REPLACE(cast(DesktopHtml as nvarchar(MAX)),@TestFoldername,'')

 
New Post
11/18/2008 12:01 AM
 

Sanzone,

As a developer who who loves to solve problems, I agree completely that buying a third party module to fix a problem is not necessarily a solution. I'd rather do it myself. But at the same time, reusing a module from the community can be very helpful for non-developers and also a bit more consistant (maybe even safer) than manually executing SQL every time you need to perform a find and replace task.

Also, I'd like to note that Engage: F3 and DNN Text/HTML Find & Replace (the modules linked in the post above) are both free.

Take care,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Links to images have /DotNetNuke_2/Portals/ in URLLinks to images have /DotNetNuke_2/Portals/ in URL


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