• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: CMS Made Simple and nanoGallery
PostPosted: Mon Oct 22, 2018 1:50 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Sat Nov 01, 2008 11:52 am
Posts: 41
How can I add a block of content to the java script code (nanoGallery) to make it work?


{literal}
<__script__>
$(document).ready(function () {
//Sample4 - Flickr
jQuery("#nanoGallery4").nanoGallery({userID:'my_userID',photoset:'{content block='nanoGallery' wysiwyg='false' oneline='true' size='150' label='nanoGallery'}',kind:'flickr',thumbnailWidth:300,thumbnailHeight:'200', //110,
viewerDisplayLogo:false,
locationHash:false,
thumbnailDisplayInterval:0,
thumbnailDisplayTransition:true,
thumbnailHoverEffect:[{'name':'imageScale150','duration':300},{'name':'borderDarker'}],
thumbnailLabel:{display:true,position:'onBottom',descriptionMaxLength:50},
theme:'clean',
colorScheme:'lightBackground',
paginationMaxLinesPerPage: 7,

});
});
</__script>
{/literal}


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: CMS Made Simple and nanoGallery
PostPosted: Mon Oct 22, 2018 9:20 pm 
Offline
Dev Team Member
Dev Team Member

Joined: Mon Nov 28, 2011 9:29 am
Posts: 3175
Location: The Netherlands
Marek \Marek:
How can I add a block of content to the java script code (nanoGallery) to make it work?


{literal}
<__script__>
$(document).ready(function () {
//Sample4 - Flickr
jQuery("#nanoGallery4").nanoGallery({userID:'my_userID',photoset:'{/literal}{content block='nanoGallery' wysiwyg='false' oneline='true' size='150' label='nanoGallery'}{literal}',kind:'flickr',thumbnailWidth:300,thumbnailHeight:'200', //110,
viewerDisplayLogo:false,
locationHash:false,
thumbnailDisplayInterval:0,
thumbnailDisplayTransition:true,
thumbnailHoverEffect:[{'name':'imageScale150','duration':300},{'name':'borderDarker'}],
thumbnailLabel:{display:true,position:'onBottom',descriptionMaxLength:50},
theme:'clean',
colorScheme:'lightBackground',
paginationMaxLinesPerPage: 7,

});
});
</__script>
{/literal}


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: [Solved] CMS Made Simple and nanoGallery
PostPosted: Wed Oct 24, 2018 9:22 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Sat Nov 01, 2008 11:52 am
Posts: 41
Thank you. I tried to enter the code like that, but ... It turned out
that I had a mistake in the page template. Thank you again for your
help. It works.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
A2 Hosting