PUBLISHING Feature request

Please, this one is not hard to include. :slight_smile:

Add a publishing mode that puts a fully qualified path in for all links.

At the moment files in the pages subfolder are always relative links.

For the way I am embedding these pages in Moodle this means I have to publish the file and then do a search replace to include the missing ‘https://mysite/var/html/rw/rw_pages/’ part for these links. Only then can the page HTML be embedded.

If this publishing feature was included this would become as simple as copying and pasting the html directly.


That’s already there. Should be under the advanced settings of the project?


Nope. Tried all options. Relative to page, Relative to website address and Relative to DOCROOT.

The relative to website address should work but what it generates is…


	<link rel="stylesheet" type="text/css" media="all" href="" />

	<script type="text/javascript" src=""></script>

			<link rel='stylesheet' type='text/css' media='all' href='' />

	<link rel='stylesheet' type='text/css' media='all' href='bc_files/stacks_page_page1.css' />

	<script type='text/javascript' charset='utf-8’


The problem lies on the second last line - the href is relative to the pages private folder. It should be the full path.

If i’m doing something wrong i’d appreciate being corrected.

If i’m not, I’d appreciate the feature I asked for :slight_smile:



This applies to all links to resources in that folder - which can become hectic if the page uses lots of images etc.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.