Developing (v7+)

C5-8.4.0 How to use page attributes without installing a block?

I want to add a page attribute and then use that attribute in various pages to load some JS if the attribute is selected. I know I can make a block to work with that attribute. But this block will have to be added to each page AND I'll have to set the…

Custom Styles in Editor

Trying to add custom css to the editor. I have searched, read, and come to the conclusion that I am dense or missing something. I have read https://documentation.concrete5.org/tutorials/adding-ckeditor-custom-editor-styles-in-a-theme-content-blockrich-tex…

Override core class - Troubles with Laravel service containers

Hello, i have a short question about Laravel service containers. I want to override the core class \Concrete\Core\Editor\CkeditorEditor with a custom class because i need some extra functionallity. So i i have overriden the core class like this: …

https:// non www to www

If i type example.com into browser it redirects to https: //www.mydomain.com, but if i use https: //mydomain.com it does not redirect to https: //www.mydomain.com version is 8.1.0 - will be upgrading in the near future this is just a client we took on.…

C5-8.4* Uncaught ReferenceError: PNotify is not defined

I show a PNotify tooltip on mouseover element: [code] $(document).ready(function(){ $('.element1').on('mouseover', '.element2', function(e) { var tooltip = new PNotify({ text: pin_text, ... [/code] It works fine…

"Class not found" in custom package

Hi, I'm using v8. Really stumped by this, I'm getting "Class not found" in my packages controller when the class is clearly there! controller.php: [code] use Concrete\Package\MsmLsCache\Src\LsCache; public function on_start() { Events::…

Session Invalidated. Session user agent...

Users on my website keep getting this error when they are logging in: Session Invalidated. Session user agent "Mozilla/5.0 (iPhone; CPU iPhone OS 11_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Mobile/15E148 Safari/604.1" did …

C5-8.4* How to programmatically add pages to Dashboard pages?

I need to show a table in Dashboard. Say, a table of orders, similar to the Community Store 'Orders' page (dashboard/store/orders). So I can add my own single page to the Dashboard with a block to list data - a list/table of orders, each having a 'View' b…

Filter Posts