Problem With MAGNIN And Creation Of Portfolio Pages Using SP Simple Portfolio - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

Problem With MAGNIN And Creation Of Portfolio Pages Using SP Simple Portfolio

IT

Ikhael Tenebrae

Extension 3 years ago

Hi. Besides from the fact that the J4 quickstart throws a "0 mb_strlen(): Argument #1 ($string) must be of type string, array given" error when opting for PHP8 (you clearly state that it's totally compatible.. but it isn't.. you also advise in another thread for the same problem to downgrade to PHP7.4 { see here }

I am trying to create a simple portfolio page using SP Simple Portfolio (that is already installed). I have a new menu entry and all is working fine with masonry layout. When I click on the photo, the modal popup works fine. But when I click the title to see the details of a specific item, I only see the content of the description and NO PICTURE.

The console doesn't show anything. I really don't want to create each item with the SP Builder option.. I just want the item details to show up with the photo.

Are you aware of the isssue? I think you can clearly replicate thiw behavior if you:

  • install J4 quickstart with MAGNIN
  • create a new portfolio category
  • add some items with photo
  • create new menu entry for SP simple portfolio using the default settings (layout: default, columns: 2, thumbnail size: masonrym ctr)
  • When you click a title of an item you get to the page with the details but you see NO PHOTO...

Are you aware of the issue (please take some time to try to replicate the behavior before replying because I am pretty sure i's some kind of bug from either MAGNIN or SP Simple portfolio with J4)

0
17 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #49075

You can edit this default.php file. It will not be overridden with the update. But always keep a backup before any major update for safety. Please follow this documentation

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #48613

Hello Ikhael Tenebrae

Thanks for notifying us. We are aware of this bug. It will be fixed in the next update.

Best regards

0
IT
Ikhael Tenebrae
Accepted Answer
3 years ago #48620

Thanks for the quick reply. Do you have an estimated time frame about when are you going to release the update?

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #48636

You are welcome. Sorry that it will take time. I have talked with the developers. They need time to fix it. I hope it will be released in January, 2022.

0
IT
Ikhael Tenebrae
Accepted Answer
3 years ago #48660

That's too long. At least can you help me out to make the right decisions: is it MAGNIN's problem or the SP simple portfolio?... If I install a simple HELIX template to build upon it, will SP Simple portfolio work as intended in J4 and PHP8 ?

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #48676

I have got a temporary fix for you. Please add standalone-page-builder-content class to the menu item of SP Simple Portfolio.

https://prnt.sc/23zwuo5

and use this JavaScript to Template Options -> Custom Code -> Custom JavaScript

//portfolio details standalone sp page buider data
$(document).ready(function() {
  const portfolioDetails = $('.standalone-page-builder-content.com-spsimpleportfolio.view-item')
  if(portfolioDetails.length>0) {
    $('.sp-simpleportfolio-image').remove()
    $('.sp-simpleportfolio-description>h2').remove()
    $('.sp-simpleportfolio-meta').remove()
  }
});
0
IT
Ikhael Tenebrae
Accepted Answer
3 years ago #48789

I did what you advice but I see no difference.... Tried on both PHP7.4 and PHP8 (it simple doesn't show nothing but the description if you click on the title of an item in SP simple portfolio)

any ideas?

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #48904

Please share your administrator access here to check the issue. Use the Hidden Content box to share the credentials.

0
IT
Ikhael Tenebrae
Accepted Answer
3 years ago #48944

OK.. I am sending you credentials.

check the menu entry named "Art" and you will see the problem your self if you click the title of a portfolio item ...

0
IT
Ikhael Tenebrae
Accepted Answer
3 years ago #49025

FIY: I saw an update for the SP page builder and I applied it. But the problem is still there!

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #49049

No problem. SP Page Builder update is not related to this issue. Anyway, I have fixed it. Please check your site now.

0
IT
Ikhael Tenebrae
Accepted Answer
3 years ago #49051

Yes. I just saw it's ok now. Care to share what you did to solve the problem? Why was this happening?

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #49053

I have modified the view of the items in this location: templates/magnin/html/com_spsimpleportfolio/item/default.php

It was not designed for the default SP Simple Portfolio items in the template. It will be fixed in the next update.

0
IT
Ikhael Tenebrae
Accepted Answer
3 years ago #49056

OK. Thanks.

One more question: if I wish to modify things like the padding left and right at the single item view, should I do it with custom CSS in the template or edit this file? (I guess if I edit the default.php, all my edits will be gone with the next update?)

0
IT
Ikhael Tenebrae
Accepted Answer
3 years ago #49077

OK. Thank you for your time

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #49090

Thanks for accepting the answer. I have a humble request. It would be very kind of you if you can manage some moment to give us feedback on Joomla Extension Directory. This will inspire us to improve.

0
IT
Ikhael Tenebrae
Accepted Answer
3 years ago #49092

Yes... of course...

0