Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

HTML Content Type
Last Post 09/16/2013 4:38 PM by Peter Donker. 1 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Patrick
New Member
New Member
Posts:4


--
08/30/2013 6:20 PM
I have two questions regarding the HTML File content type:

1. Is there any way to have another module programatically create HTML content in DMX? This would be sending in the Title, metadata, HTML Content, collection, and categories. Permission would be inherited from collection.

2. Is there a way to have HTML content in DMX, when clicked, open within another page on the site so that it includes the site skin. Could it be passed to an HTMLPro module using a token?

Thank you,

Patrick
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
09/16/2013 4:38 PM
Hi Patrick,

1. This shouldn’t be too difficult. DMX has an API which allows you to upload content to DMX.
2. That would be more difficult. I’m not sure how that could be done, in fact. You’re intervening in the DMX module UI which is quite tricky. Also: you’d need to ensure those HTML documents didn’t themselves already include a head section, etc. In other words: it’d work if each of those HTML documents were actually HTML snippets.
I also doubt you could inject it into an HTMLPro module without some javascript magic. Any file in DMX can be retrieved using the right url. Using javascript you could pull in the right HTML snippet and stick it in the page probably. I’ve not tried this before.

Peter

You are not authorized to post a reply.