How to Configure/Install PrettyPhoto in Moodle

How to Configure/Install PrettyPhoto in Moodle

by Ravi Vare -
Number of replies: 2

Hi Mary & All,

I am using Moodle 2.4.5+ (Build: 20130712)

For this Purpose i want to use prettyphoto

Plz. Give Some Hints, how to install Prettyphoto in moodle

i have Tried LightBox but it is for only Images.

TIA,

Ravi Vare

Average of ratings: -
In reply to Ravi Vare

Re: How to Configure/Install PrettyPhoto in Moodle

by Mary Evans -

Hi Ravi,

Well without downloading it I have no idea and don't have the time to investigate, but generally, with things that use JavaScript or jQuery or Flash or whatever, you would need to add all this to a theme, preferably one that you have made for this new feature.

To find out how to do that first read the Theme dev tutorial pages listed at the top of this forum. Things like 'How to clone a Moodle 2.0 theme'. 'How to use jQuery or JavaScript in a theme', all those are useful documents, which after reading, you can ask me questions about things you don't understand in them or are having difficulty with when creating a theme etc.

Usually these standalone photo galleries add code to a normal HTML page, so if you get it to work in a normal web page, then you just need to add the same elements of code to a theme's layout page like general.php. It is a little more complex than that, but generally that's how it is done.

Hope this helps?

EDIT:

PS... you might find this discussion useful?

https://moodle.org/mod/forum/discuss.php?d=203583

Mary

Average of ratings:Useful (1)
In reply to Mary Evans

Re: How to Configure/Install PrettyPhoto in Moodle

by Ravi Vare -

Hi Mary,

Many many thanks !!!