Show photoslider in Juicy Projects

edwinvanbeers's picture
edwinvanbeers
Mon, 02/01/2016 - 06:59
#1
Show photoslider in Juicy Projects

Hello everyone,

I have purchased the module "mdportfolio" in CodeCanyon. Now I want to set the display to "juicy Projects" but I do not get to see pictures with the inline popup.

I have a created a content type containing a field for the images showing no limit to the number of images.

Now I get to http://www.totaaldakspecialist.nl/projecten still see the inline popup, but not the images in a slider.

How can I make this?

phuonght's picture
phuonght
Tue, 02/02/2016 - 04:16

Hi,

Please go to settings (admin/structure/types/manage/projecten/display/teaser display) of contentype > viewmode teaser > show field image.

edwinvanbeers's picture
edwinvanbeers
Tue, 02/02/2016 - 05:25

Hi Phuonght,

Unfortunately, it still does not. I had already tried this. It also seems that the module is not working properly. For example, I can not set the width of a wrap in the grid. He only shows the grid using masonary.

Could you look agree in the CMS?

edwinvanbeers's picture
edwinvanbeers
Wed, 02/03/2016 - 14:49

Anyone a suggestion.

The slideshow is working now. I just need to name the image field to "field_mdp_images". I didn't find this in the documentation.

But now i have another problem. The slider work, but its show only one image. The other images are loaded, but i cant see them in the fronted page. When i looked in the code i see the image. But it does not apear when i slide the slider. I have test with jquery 1.7 to 2.1 but non of them helps.

I also do'nt have the settings as in example. I only see my portfolio in mansory... See my screeshot. I don't get the option for putting in wrapping varibles in pixels.

Image title

phuonght's picture
phuonght
Mon, 02/15/2016 - 02:13

Please go to your account page (http://megadrupal.com/user/edwinvanbeers) to add purchase code of MD Portfolio then download updated file.

edwinvanbeers's picture
edwinvanbeers
Mon, 02/15/2016 - 11:22

Hi Phuonght,

Thanks for your reply. I have downloaded the new files and copy them to my server. But nothing changed.

 I don't get the second image in the slider. It looks like the inline CSS is not updated when i clik on the nextbutton.  How can we fix this?

Please take a look at my website/ www.totaaldakspecialist.nl/projecten. The first photo is a inline "juicy project" with multiple images. Only the first image is show. The other are out the window with a inline css of "left:..px". But when i click on the arrow it doe not channge the inline css. I think that that's the problem.

edwinvanbeers's picture
edwinvanbeers
Mon, 02/15/2016 - 11:23

PS also the close button is not position right. I think there is someting wrong....

phuonght's picture
phuonght
Mon, 02/15/2016 - 22:03

So could you send us your FTP account? We would like to fix it for you.

phuonght's picture
phuonght
Tue, 02/16/2016 - 02:27

Could you check again? We can not access by FTP account.

phuonght's picture
phuonght
Tue, 02/16/2016 - 03:48

Check your site please. We fixed already.

edwinvanbeers's picture
edwinvanbeers
Tue, 02/16/2016 - 05:36

Thanks a lot. It works great now.

Can you tell me what the problem was, so i can learn from it.

lightning-arts's picture
lightning-arts
Wed, 08/10/2016 - 14:42

Hello, can you fix the same problem for me or tell me how I can solve this yourself?

Are there any updated file(s)?

Also there are apparently still problems with "Warning: Invalid argument supplied for foreach() in template_preprocess_md_portfolio_mdp_plugin_rows() (line 332)". And: There is no animation, if I change the page size. Maybe it's because.

Thank you! Regards, Stefan

phuonght's picture
phuonght
Thu, 08/11/2016 - 00:59

Hi Stefan,

Please try to update module MD Portfolio first (http://megadrupal.com/user/lightning-arts). If problem still exits, you can please take a look at some solutions from topic http://megadrupal.com/forum/module-support/md-portfolio/1836. 

lightning-arts's picture
lightning-arts
Thu, 08/11/2016 - 11:16

Thanks for your quick reply. But unfortunately the photo slider from the second image does not work continue. It seems "Edwinvanbeers" had the same problem (#6). The installation is under Drupal 7.50 and Bootstrap 3.5. The revised module version has been uploaded.

Update: I have found the error itself. Here is the solution:

In "node--inline-popup.tpl.php" replace this lines...

<?php if ($content['field_mdp_images']['#items']): ?>
<div class="cbp-slider">
<?php foreach($content['field_mdp_images']['#items'] as $key => $img): ?>
<ul class="cbp-slider-wrap">
<li class="cbp-slider-item">
<img src="<?php print file_create_url($img['uri']) ;?>" class="cbp-l-project-img">
</li>
 </ul>
 <?php  endforeach;  ?>
 </div>
 <?php endif; ?>

....with the lines from "node--full-popup.tpl.php"

<?php if ($content['field_mdp_images']['#items']): ?>
<div class="cbp-slider">
<ul class="cbp-slider-wrap">
<?php foreach($content['field_mdp_images']['#items'] as $key => $img): ?>
<li class="cbp-slider-item">
 <img src="<?php print file_create_url($img['uri']) ;?>" class="cbp-l-project-img">
</li>
<?php  endforeach;  ?>
</ul>
</div>
<?php endif; ?>

Now it works perfectly! :)

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.