[Building Sakai] Embedding html content in sakai tools.

Steve Swinsburg steve.swinsburg at gmail.com
Sun Jun 22 20:46:41 PDT 2014


It depends on the tool. Have a look at the iframe html source and find the
spot then grep the tool code to find it.

If it's a velocity tool, put the data you need into context then then
template can do what it needs. Similarly for JSF.  For wicket, put in a div
with a wicket id and use a fragment to fill in the rest which you can do in
code, or you could just output a string of html into a div.

Cheers
Steve

sent from my mobile device
On 18/06/2014 7:08 PM, "Alaa NIZAR" <alaanizar at iihem.ac.ma> wrote:

> Hi,
>
> If so, what is the file to work on?
>
> Besides, i need to put different content based on the site type and the
> user logged in whether he is a student or instructor.
>
> What property should i use?
>
> Thank you.
>
>
> Sent from Samsung Mobile
>
>
> -------- Original message --------
> From: Adam Marshall
> Date:18/06/2014 09:12 (GMT+00:00)
> To: Alaa NIZAR ,Steve Swinsburg
> Cc: sakai-dev
> Subject: RE: [Building Sakai] Embedding html content in sakai tools.
>
>  If  you can modify the tool template then this is by far the best idea.
>
>
>
> Adam
>
>
>
> --
>
>
>
> ** Note change of email address to adam.marshall at it.ox.ac.uk **
>
>
>
> Dr A C Marshall, WebLearn Service Manager, University of Oxford.
>
> IT Services, 13 Banbury Rd, Oxford. OX2 6NN.
>
>
>
>
>
> *From:* sakai-dev-bounces at collab.sakaiproject.org [mailto:
> sakai-dev-bounces at collab.sakaiproject.org] *On Behalf Of *Alaa NIZAR
> *Sent:* 18 June 2014 09:04
> *To:* Steve Swinsburg
> *Cc:* sakai-dev
> *Subject:* Re: [Building Sakai] Embedding html content in sakai tools.
>
>
>
> Hi,
>
>
>
> Both approaches are fine. But, i'm like the first one even if it seems
> more complicated than the second.
>
>
>
>
>
> Sent from Samsung Mobile
>
>
>
> -------- Original message --------
> From: Steve Swinsburg
> Date:18/06/2014 04:14 (GMT+00:00)
> To: alaanizar
> Cc: sakai-dev
> Subject: Re: [Building Sakai] Embedding html content in sakai tools.
>
> It depends on the tool. Modify the template or html file in the tool to
> add the content.
>
> You can also add a html include for a specific site as a site property
> which means the site will always have the html fragment.
>
> Which approach are you after?
>
> Cheers
> Steve
>
> sent from my mobile device
>
> On 18/06/2014 2:58 AM, "Alaa NIZAR" <alaanizar at iihem.ac.ma> wrote:
>
> Hi,
>
>
>
> How can we embed an html code with javascript in sakai tools?
>
>
>
> Let's say we want to include a static statement with images on the bottom
> resources tool.
>
>
>
> Thank you
>
>
>
>
>
> Sent from Samsung Mobile
>
>
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
>
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
>
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140623/df7f3779/attachment.html 


More information about the sakai-dev mailing list