PUBLISHING Feature request


(Chris Noome) #1

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.

PLEASE PLEASE PLEASE add this!


(Jannis from inStacks Software) #2

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


(Chris Noome) #3

Hi

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…

<head>

	<link rel="stylesheet" type="text/css" media="all" href="https://learningopportunities.co.za/itrw/rw_common/themes/Blank/consolidated.css" />

	<script type="text/javascript" src="https://learningopportunities.co.za/itrw/rw_common/themes/Blank/javascript.js"></script>

			<link rel='stylesheet' type='text/css' media='all' href='https://learningopportunities.co.za/itrw/rw_common/plugins/stacks/stacks.css' />

	<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:

Cheers

Chris


(Chris Noome) #4

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


(system) #5

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