internal managed links not respecting site url on publish

pkhalil's Avatar

pkhalil

Aug 24, 2010 @ 05:27 PM

Maybe I'm missing something but this is very confusing and frustrating ...

I have a site that is set up with the following setting and structure.

URL: http://example.com/content/
  • Base Folder/
    • test/
      • images/
        • foo.png
      • page

page includes a WYSIWYG that links to an internal image in the images sub folder.

Normally this produces output like

<img src="images/foo.png" ...

If the page is set up to use absolute paths i get the following

<img src="/test/images/foo.png" ...

That's great but it does not include the subfolder i'm publishing to ... this means urls should point to

<img src="/content/test/images/foo.png" ...

How can i get this to render the proper links without having to put an extra content folder at the base?

Basically how do i tell cascade that i'm publishing to a subfolder and that absolute links should include this subfolder in the url?

The information here http://www.hannonhill.com/kb/Sites/index.html & here http://www.hannonhill.com/kb/Linking/ is not very useful :(

  1. Support Staff 1 Posted by Tim on Aug 25, 2010 @ 02:13 PM

    Tim's Avatar

    Hi,

    Really the only way you can do this is by creating a content folder in your Cascade Server instance and then moving your site assets underneath that folder.

    It looks to me like the page on Sites needs to be updated -specifically the portion about the Site URL. This value is not used for publishing. It is used for:

    • Cross-site links (so that Cascade knows how to create a link to another Site in your instance)
    • Live pane (so that Cascade knows the location of the corresponding asset on the web server)
    • Twitter Connector (so that the link generated in the tweet is correct)

    Hope this helps to clear things up.

  2. 2 Posted by pkhalil on Aug 26, 2010 @ 07:47 PM

    pkhalil's Avatar

    Hmm , ok it seemed like it should be possible judging from this comment ...

    http://help.hannonhill.com/discussions/how-do-i/111-losing-asset-li...

    but i guess having cascade mimic the actual site structure is just as good a solution.

    it still kind of bugs me that cascade assumes its always publishing to the root of your site though ...

  3. Tim closed this discussion on Sep 21, 2010 @ 05:30 PM.

Discussions are closed to public comments.
If you need help with Cascade CMS please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac