Forums | Mahara Community

Developers /
Export as HTML with styling?


Don Presant's profile picture
Posts: 255

04 September 2013, 0:08

Is there an easy way to add a theme to a Mahara ePortfolio exported as HTML? It would be so useful...

I suspect the issue has something to do with the different behaviour of a browser accessing content on a server referencing a CSS file versus accessing a local set of nested folders, but is there a way around this, such as adding a local CSS file via relative link? Even manually, after the export?

Aaron Wells's profile picture
Posts: 896

04 September 2013, 11:41

Hi Don,

The way it's currently written, HTML export uses the "raw" theme for the basic styling of the page. (It does look like it tries to use the viewers current theme for the plugin stylesheets, if the theme overrides the style for those plugins, but that doesn't affect the basic look of the page.) I think it's technically possible, though. We just haven't had a chance to implement it.

There's been a wishlist bug about this in the tracker for 2 years now, so we'd welcome its development, but it's not currently on our roadmap: https://bugs.launchpad.net/mahara/+bug/739528

Cheers,

Aaron

Don Presant's profile picture
Posts: 255

04 September 2013, 23:21

Thanks Aaron, I've added my vote to that bug, maybe others can do so and help move it up the list...

anonymous profile picture
Account deleted
Posts: 9

24 July 2014, 20:56

Dear All,

Any update(s) concerning this bug, any fixes.

Thank you.

 

Best regards,

Anis

 

Kristina Hoeppner's profile picture
Posts: 4863

28 July 2014, 6:41

Hi Anis,

Not that I know of I'm afraid.

Cheers

Kristina

 

Robert Lyon's profile picture
Posts: 773

28 July 2014, 10:51

Having taken a quick look at the code I noticed that how the html theme is exported will need some changes to allow for which theme to export with which pages.

https://bugs.launchpad.net/mahara/+bug/739528/comments/5

Cheers

Robert

 

6 results