Concrete 5.5
Permalink Browser Info Environment
Hi,
I'm having some problems @ installing the package / block.
Is it suitable for Concrete 5.5?
I'm having some problems @ installing the package / block.
Is it suitable for Concrete 5.5?
Type: | Discussion |
---|---|
Status: | New |
I've just updated the addon so it is now compatible with Concrete5.5
Still having problems adding the package / block. Doesn't show up. What did i do:
Manual upload trough ftp
check attachment
Manual upload trough ftp
check attachment
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).
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?
Fatal error: Call to a member function getAttribute() on a non-object
Is there a 5.5 cheatsheet? All my old codes don't seem to work?
Fatal error: Call to a member function getAttribute() on a non-object
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."\""; }
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?).
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?).
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