Easy content animation/slide shows?

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
9/28/2009 9:19:32 PM
Gravatar
Total Posts 101

Easy content animation/slide shows?

Do you have any doco on the new 'Easy content animation/slide shows' ?

2.3.19 installed ok.

New Settings appear in the HTML Content setting page ok.

Just unsure what tags/snippets to add to enable the animation.

Also the skin mentioned in the blog, doesn't appear to have been included, only alt1 is included. alt2 is missing.

Thanks.

9/29/2009 8:14:00 AM
Gravatar
Total Posts 2187

Re: Easy content animation/slide shows?

You do not need to add any specific tags to make the animation/slide show work. It will grab all of the first "layer" elements and make each one a different "slide". For instance, the code below would have 3 slides; (1) simply says hello, (2) is an image, (3) is an image and some text.

<p>Hello</p>
<img src="pic.jpg" />
<p><img src="pic.jpg" /><br />Some Text...</p>

Hope This Helps,
Joe

9/29/2009 9:02:53 AM
Gravatar
Total Posts 101

Re: Easy content animation/slide shows?

Yes.. Its exactly what I was after..

Thankyou very much..!

10/2/2009 5:53:05 AM
Gravatar
Total Posts 220

Re: Easy content animation/slide shows?

Hi Joe,

I enabled slideshow of elements, set Slide Transition Effects to fade, and paste the following code in the editor:

<p>Hallo</p>
<p><img src="/mojoNeu/Data/Sites/1/GalleryImages/EditorUploadImages/Plant01.jpg" alt="" width="400" height="266" /></p>
<p>Noch was ...</p>

but there is no slideshow Frown.

What do I not understand?

btw.: 2.3.1.9 MySQL

10/2/2009 7:09:12 AM
Gravatar
Total Posts 18439

Re: Easy content animation/slide shows?

Hi Matthias,

There was a bug that was fixed and the release packages were patched Wednesday morning, so if you downloaded before that you may need to download again and just replace 1 file /ClientScript/oomph/oomph.min.js with the new version. You may also need to clear your browser cache. It was causing a jquery error in some cases that would prevent the slideshow.

I assume if you pasted markup you used the html view to paste it?

Hope it helps,

Joe

10/2/2009 7:34:42 AM
Gravatar
Total Posts 220

Re: Easy content animation/slide shows?

Hi Joe,

thanks for response.

It was my poor english. No, i didn't paste the html, I create the content as usual in the editor.

I make a svn-update and after that I copy the file /ClientScript/oomph/oomph.min.js to my local version ...

Best
Matthias

10/2/2009 8:23:50 AM
Gravatar
Total Posts 220

Re: Easy content animation/slide shows?

Hm, it was already at revision: 5697. I think the file hasn't changed.
I tried it once more with:

<p>first line</p>
<p>second line</p>
<p>third line</p>

On the mojo online demo it works, here not ...

Best
Matthias

10/2/2009 8:47:28 AM
Gravatar
Total Posts 18439

Re: Easy content animation/slide shows?

Hi Matthias,

What is the modified date of your oomph.min.js? It should be 9/30/2009 5:51AM

I would make sure your skin has the ScriptLoader control in layout.master, copy from one of the other skins in /Data/skins if not.

Also make sure you clear the browser cache.

If problem continues, is it a public url where I could look at it?

fyi, I just committed some other changes to trunk, but I'm pretty sure the oomph file was already updated previously.

Best,

Joe

10/2/2009 9:31:33 AM
Gravatar
Total Posts 220

Re: Easy content animation/slide shows?

Yep, it was the missing ScriptLoader control in the layout.master of my skin. Now it works. It's a really cool thing ... Cool

Thanks for help
Coffee time?
Matthias

10/2/2009 12:25:42 PM
Gravatar
Total Posts 18439

Re: Easy content animation/slide shows?

Thanks for the coffee!

Best,

Joe

1/4/2010 11:37:01 AM
Gravatar
Total Posts 20

Re: Easy content animation/slide shows?

Hi,

I'm having a similar problem with jQuery Cycle Plugin.  I updated the my site to 2.3.3.2 MSSQL from an older version about 2.3.1.0.  I see that javascript is working, and /Clientscript/jmojo/cycle.js is loaded.  I tried changing the skin to see if the layout.master file was causing issues... to make sure Scriptloader and appropriate javascript loaded.  I re-downloaded and reinstalled to see if that corrected the issue.  But alas, no slideslide show at this link.  I recently set up another site using the Cycle plugin that worked great, though that was a clean install using 2.3.2.9 MySQL.

Thanks in advance for your help.

- Paul

PS. I noticed errors in the system log after the install...

2010-01-03 10:02:10,530 ERROR mojoPortal.Web.Global - 124.115.4.195-zh-CN - /ScriptResource.axd
System.Web.HttpException: This is an invalid script resource request.
at System.Web.Handlers.ScriptResourceHandler.Throw404()
at System.Web.Handlers.ScriptResourceHandler.DecryptParameter(NameValueCollection queryString)
at System.Web.Handlers.ScriptResourceHandler.ProcessRequestInternal(HttpResponse response, NameValueCollection queryString, VirtualFileReader fileReader)
at System.Web.Handlers.ScriptResourceHandler.ProcessRequest(HttpContext context)
at System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2010-01-03 10:02:11,108 ERROR mojoPortal.Web.Global - 124.115.4.195-zh-CN - /ScriptResource.axd
System.Web.HttpException: This is an invalid script resource request.
at System.Web.Handlers.ScriptResourceHandler.Throw404()
at System.Web.Handlers.ScriptResourceHandler.DecryptParameter(NameValueCollection queryString)
at System.Web.Handlers.ScriptResourceHandler.ProcessRequestInternal(HttpResponse response, NameValueCollection queryString, VirtualFileReader fileReader)
at System.Web.Handlers.ScriptResourceHandler.ProcessRequest(HttpContext context)
at System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2010-01-03 10:02:11,514 ERROR mojoPortal.Web.Global - 124.115.4.195-zh-CN - /ScriptResource.axd
System.Web.HttpException: This is an invalid script resource request.
at System.Web.Handlers.ScriptResourceHandler.Throw404()
at System.Web.Handlers.ScriptResourceHandler.DecryptParameter(NameValueCollection queryString)
at System.Web.Handlers.ScriptResourceHandler.ProcessRequestInternal(HttpResponse response, NameValueCollection queryString, VirtualFileReader fileReader)
at System.Web.Handlers.ScriptResourceHandler.ProcessRequest(HttpContext context)
at System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2010-01-03 10:02:11,952 ERROR mojoPortal.Web.Global - 124.115.4.195-zh-CN - /ScriptResource.axd
System.Web.HttpException: This is an invalid script resource request.
at System.Web.Handlers.ScriptResourceHandler.Throw404()
at System.Web.Handlers.ScriptResourceHandler.DecryptParameter(NameValueCollection queryString)
at System.Web.Handlers.ScriptResourceHandler.ProcessRequestInternal(HttpResponse response, NameValueCollection queryString, VirtualFileReader fileReader)
at System.Web.Handlers.ScriptResourceHandler.ProcessRequest(HttpContext context)
at System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2010-01-03 10:02:12,358 ERROR mojoPortal.Web.Global - 124.115.4.195-zh-CN - /ScriptResource.axd
System.Web.HttpException: This is an invalid script resource request.
at System.Web.Handlers.ScriptResourceHandler.Throw404()
at System.Web.Handlers.ScriptResourceHandler.DecryptParameter(NameValueCollection queryString)
at System.Web.Handlers.ScriptResourceHandler.ProcessRequestInternal(HttpResponse response, NameValueCollection queryString, VirtualFileReader fileReader)
at System.Web.Handlers.ScriptResourceHandler.ProcessRequest(HttpContext context)
at System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2010-01-03 18:02:28,415 ERROR mojoPortal.Web.Global - 124.115.0.161-zh-CN - /ScriptResource.axd
System.Web.HttpException: This is an invalid script resource request.
at System.Web.Handlers.ScriptResourceHandler.Throw404()
at System.Web.Handlers.ScriptResourceHandler.DecryptParameter(NameValueCollection queryString)
at System.Web.Handlers.ScriptResourceHandler.ProcessRequestInternal(HttpResponse response, NameValueCollection queryString, VirtualFileReader fileReader)
at System.Web.Handlers.ScriptResourceHandler.ProcessRequest(HttpContext context)
at System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2010-01-04 02:04:15,463 ERROR mojoPortal.Web.Global - 124.115.4.195-zh-CN - /ScriptResource.axd
System.Web.HttpException: This is an invalid script resource request.
at System.Web.Handlers.ScriptResourceHandler.Throw404()
at System.Web.Handlers.ScriptResourceHandler.DecryptParameter(NameValueCollection queryString)
at System.Web.Handlers.ScriptResourceHandler.ProcessRequestInternal(HttpResponse response, NameValueCollection queryString, VirtualFileReader fileReader)
at System.Web.Handlers.ScriptResourceHandler.ProcessRequest(HttpContext context)
at System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

You must sign in to post in the forums. This thread is closed to new posts.