bummzack / page-blocks

Page Blocks Module for SilverStripe
BSD 3-Clause "New" or "Revised" License
15 stars 12 forks source link

Uncaught Exception: #17

Open xpowert opened 7 years ago

xpowert commented 7 years ago

Hello, i cant add new blocks. I get this error;


[User Error] Uncaught Exception: Object->__call(): the method 'isnew' does not exist on 'TextBlock'
GET /admin/pages/edit/EditForm/field/Blocks/add-multi-class/TextBlock

Line 761 in /var/www/vhosts/erlanda/erlanda/wwwroot/framework/core/Object.php
bummzack commented 7 years ago

What version of SilverStripe are you using? And is there a full stack trace? There's no isNew method within this module.

xpowert commented 7 years ago

I fix it , the better button module was cousing the problem. Can i please contact with your privatly. Please it is very important. Just need to ask you a question.

xpowert commented 7 years ago

Hey men , this site is yours yes ? https://bummzack.ch/

2017-09-14 20:53 GMT+03:00 Roman Schmid notifications@github.com:

What version of SilverStripe are you using? And is there a full stack trace? There's no isNew method within this module.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bummzack/page-blocks/issues/17#issuecomment-329559830, or mute the thread https://github.com/notifications/unsubscribe-auth/AL8K3uf6IOZJLmZlOqAL3ZVdqXIasULPks5siWgvgaJpZM4PX2B8 .

bummzack commented 7 years ago

You already wrote me an Email. Feel free to send me your question… if it's about this module, why not ask it here though? Others might have the same question.

xpowert commented 7 years ago

https://bummzack.ch/ <- Can you suggest me how to make the same type block menu as you did in your page ? I use your module and i want to make something similar, but your page do not support links to other sites. AS for example i want to make a image block for example name cars it has car image and when user clicks on it , he is redirected on specific page.

xpowert commented 7 years ago

Can you please help me out with this? ;/

2017-09-14 21:02 GMT+03:00 Roman Schmid notifications@github.com:

You already wrote me an Email. Feel free to send me your question… if it's about this module, why not ask it here though? Others might have the same question.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bummzack/page-blocks/issues/17#issuecomment-329562083, or mute the thread https://github.com/notifications/unsubscribe-auth/AL8K3jcosuuYMI0PncuBjrJRljRd4Nzsks5siWoPgaJpZM4PX2B8 .

bummzack commented 7 years ago

@xpowert For your use-case you could either create a custom block, where you add DataObjects with Image & Link, or you add a DataExtension to Image, and add an additional Field with a Link to your Images.

xpowert commented 7 years ago

already made it. I can add the code sample for other users. Can you help with design ?

2017-09-15 13:01 GMT+03:00 Roman Schmid notifications@github.com:

@xpowert https://github.com/xpowert For your use-case you could either create a custom block, where you add DataObjects with Image & Link, or you add a DataExtension to Image, and add an additional Field with a Link to your Images.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bummzack/page-blocks/issues/17#issuecomment-329739014, or mute the thread https://github.com/notifications/unsubscribe-auth/AL8K3jwk3CxodnJ4J8lUFBbtFhdNShyjks5siksTgaJpZM4PX2B8 .