Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
Problem adding links with wysiwyg..

 

 


mateo
User

Mar 8, 2008, 7:33 AM

Post #1 of 9 (835 views)
Shortcut
Problem adding links with wysiwyg.. Can't Post

Every time I add a link using the anchor button in the wysiwyg editor, it saves the url I enter with "admin/" in front of my url. Even if I switch to html view and change the hard code, when I switch back to wysiwyg mode it's back to admin/MyUrl..

How do I fix this?


Dave
Staff / Moderator


Mar 10, 2008, 9:51 AM

Post #2 of 9 (824 views)
Shortcut
Re: [mateo] Problem adding links with wysiwyg.. [In reply to] Can't Post

You can enter absolute links that start with / or http://

We're also adding a fix to v1.11 that will auto-convert links like "page.html" to be "/page.html"

If you want to make that chance now there is instructions in the first half of this post:
http://www.interactivetools.com/forum/gforum.cgi?post=60331#60331

Hope that helps, let me know if there are any other problems or concerns with that.

Dave Edis - Senior Developer
interactivetools.com


Capt'n Morgan
User

Sep 24, 2008, 2:18 PM

Post #3 of 9 (601 views)
Shortcut
Re: [Dave] Problem adding links with wysiwyg.. [In reply to] Can't Post

I think this change may have adversely effected what I'm trying to do.

I have my site in a developing area, so absolute links will not work once the site is live.

How can I work around this?


Capt'n Morgan
User

Sep 25, 2008, 10:25 AM

Post #4 of 9 (587 views)
Shortcut
Re: [Capt'n Morgan] Problem adding links with wysiwyg.. [In reply to] Can't Post

Can somebody help with. It's a real hassle.

I'm trying to drop in some HTML that has relative links to images, and it goes and makes them absolute.

It's going to be counter productive for me to put in absolute links now and then change them once I have the real domain name.


Dave
Staff / Moderator


Sep 25, 2008, 11:16 AM

Post #5 of 9 (582 views)
Shortcut
Re: [Capt'n Morgan] Problem adding links with wysiwyg.. [In reply to] Can't Post

Hi Capt'n,

The problem with relative links is they won't work in all places. The CMS itself is going to be in a different subdirectory or subdirectory depth than other pages on your site. So if you images won't show up in both the CMS and website pages with relative urls.

Can you link from the root like this (without the domain):
/images/file.jpg

Or is the problem that you're developing in a subdirectory in your local staging environment?

Another solution may be to do some search and replaces once you move the site live. Do you have phpMyAdmin or anything like that available?

Hope that helps. Let me know some more details about your setup and I'll try and help.

Dave Edis - Senior Developer
interactivetools.com


Capt'n Morgan
User

Sep 25, 2008, 11:50 AM

Post #6 of 9 (578 views)
Shortcut
Re: [Dave] Problem adding links with wysiwyg.. [In reply to] Can't Post

Thanks for the reply, Dave.

I'm hosting on cpanel, so my temporary working environment is www.serverdomain.com/~username/index.php for example.

So if I use /images in my code, it goes to the root of serverdomain.com to look for the image.


Dave
Staff / Moderator


Sep 26, 2008, 10:13 AM

Post #7 of 9 (544 views)
Shortcut
Re: [Capt'n Morgan] Problem adding links with wysiwyg.. [In reply to] Can't Post

Yea, there's no easy way to do that except for doing some search and replaces after or having a common directory /client-name/ off the root of both sites.

Dave Edis - Senior Developer
interactivetools.com


Capt'n Morgan
User

Sep 26, 2008, 10:34 AM

Post #8 of 9 (542 views)
Shortcut
Re: [Dave] Problem adding links with wysiwyg.. [In reply to] Can't Post

Do you expect any work arounds for this in future versions?

I found the issue to surface again when I tried to speed up building of content by laying out 40 images in Dreamweaver in a table, and pasting that code into the HTML box of CMSB. It made those links absolute.

A S&R does fix it, but it is bit of a hassle.


Dave
Staff / Moderator


Sep 29, 2008, 11:33 AM

Post #9 of 9 (516 views)
Shortcut
Re: [Capt'n Morgan] Problem adding links with wysiwyg.. [In reply to] Can't Post

We might make a search and replace module or add-on in the future.

I'm not sure how we'd fix it in future without that, though. I think it's actually possible to turn off that "feature" of the wysiwyg that makes links absolute, but they you get other problems such as the images not showing up in the wysiwyg itself because the relative path from the wysiwyg and from the website pages to the images are different.

The closer you can mimic the live site the better, so if you host allows you easily setup subdomains for clients that's ideal - eg: clientname.yoursite.com.

Dave Edis - Senior Developer
interactivetools.com

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4