Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Exception: #17

Open
xpowert opened this issue Sep 14, 2017 · 8 comments
Open

Uncaught Exception: #17

xpowert opened this issue Sep 14, 2017 · 8 comments

Comments

@xpowert
Copy link

xpowert commented Sep 14, 2017

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
Copy link
Owner

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

@xpowert
Copy link
Author

xpowert commented Sep 14, 2017

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
Copy link
Author

xpowert commented Sep 14, 2017 via email

@bummzack
Copy link
Owner

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
Copy link
Author

xpowert commented Sep 14, 2017

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
Copy link
Author

xpowert commented Sep 14, 2017 via email

@bummzack
Copy link
Owner

@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
Copy link
Author

xpowert commented Sep 15, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants