Picture of Juan Pérez
Adapt Carrousel Menu
by Juan Pérez - Wednesday, 22 February 2017, 11:41 PM
 

Hi,

I am using adapt framework and i have installed Adapt Carrousel Menu, however i am replacing the images, and is not possible.

For example in contentObjetcs.json i have replaced the

"_graphic": {
"src": "course/en/images/menu_thumb.jpg",
"alt": "Placeholder graphic."
},

With

 

"_graphic": {
"src": "course/en/images/capitulo1.jpg",
"alt": "Placeholder graphic."
},

 

And the image do not show. I atach image showing this.

Can anyone help me?

 


Picture of Matt Leathes
Re: Adapt Carrousel Menu
by Matt Leathes - Thursday, 23 February 2017, 10:11 AM
 

Hi Juan

Your JSON needs to look like this: https://github.com/cgkineo/adapt-cover-menu#example-json

 

Picture of Ignacio Cinalli
Re: Adapt Carrousel Menu
by Ignacio Cinalli - Thursday, 23 February 2017, 12:04 PM
 

I think Juan is using adapt-carousel-menu

I tried it and works fine for me.

Check your contentObjects.json.

Regards.

Picture of Mike Stevens
Re: Adapt Carrousel Menu
by Mike Stevens - Thursday, 23 February 2017, 3:16 PM
 

Hi Juan Pérez,

I just tried with the lastest adapt framework and added the Carrousel menu into the framework by going to the "adapt_framework/src/menu" folder and removed the "box-menu" folder and added the "adapt-carousel-menu-master" folder unzipped in its place.

I then went to the "adapt_framework\src\course\en\contentObjects.json" file and copied and pasted an image link into the "co-10" "_graphic" "src" spot. I then did a "grunt build" and "grunt server" and it worked like a charm. I attached a screenshot.

Here is the latest version of the adapt-carousel-menu, looks like you have an old one which could be the problem too as the left and right arrows are now obsolete...

https://github.com/mike-st/adapt-carousel-menu

*Make sure to empty your browser cache incase that is the issue otherwise try these steps again from scratch with the latest adapt framework.