Concrete 5.5

Permalink Browser Info Environment
Hi,

I'm having some problems @ installing the package / block.
Is it suitable for Concrete 5.5?

Type: Discussion
Status: New
websitehebben
View Replies: View Best Answer
jordanlev replied on at Permalink Reply
jordanlev
Hi,
I have not had time to do a full update for 5.5 yet. It will probably take me another week or so before I can get to it (I'm sorry about this delay).

In the meantime, I've gotten reports from other people that a manual installation works fine -- to do this, click the "Download Archive" link on the addon's main marketplace page (scroll down, it's at the bottom-left). Then unzip the downloaded file, and copy the unzipped "page_list_teasers" folder to your server's "packages" directory via FTP.

Thanks.

-Jordan
jordanlev replied on at Permalink Best Answer Reply
jordanlev
I've just updated the addon so it is now compatible with Concrete5.5
websitehebben replied on at Permalink Reply 1 Attachment
websitehebben
Still having problems adding the package / block. Doesn't show up. What did i do:
Manual upload trough ftp

check attachment
jordanlev replied on at Permalink Reply
jordanlev
Cocnrete5.5. is a little more confusing with installation. Packages are in a different location than blocks now -- hover over the "Dashboard" button in the toolbar, and click the little "install" link at the very bottom (it's in a sentence of words, not a list like the links up top).
websitehebben replied on at Permalink Reply
websitehebben
Thank you very much, that did the trick. Now working on a Thumbnail (custom attribute) to display an image.

Is there a 5.5 cheatsheet? All my old codes don't seem to work?

<?php if($cobj->getAttribute('thumbnail')): ?>
<div class="ccm-page-list-thumbnail">
      <img src="<?php echo $cobj->getAttribute('thumbnail')->getThumbnail(100,100)->src ?>" alt="<?php echo $title ?>"/></div>


Fatal error: Call to a member function getAttribute() on a non-object
nickratering replied on at Permalink Reply
nickratering
This works for me in 5.5 in a custom template of a Pagelist.

$imgHelper = Loader::helper('image'); 
if($cobj->getAttribute('thumbnail')){  echo "\"".$imgHelper->getThumbnail($cobj->getAttribute('thumbnail'), 100, 100)->src."\""; }
jordanlev replied on at Permalink Reply
jordanlev
Sorry I never responded -- I did not get notified for some reason until someone else responded below.

I'm not sure why your code isn't working -- you'll need to provide more details than just the two lines. Can you post your whole custom template?

The template for the page list block did change in 5.5, but it should be backwards compatible with old templates -- unless you copied and pasted some code but not others (for example, it looks like you're using the $cobj variable -- does your "foreach" loop or "for" loop use this variable or does it use the newer $pages variable instead?).

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.