Bootstrap Toolbar
-
- Master Bludit
- Posts: 152
- Joined: Wed Jan 29, 2020 8:32 pm
- Has thanked: 28 times
- Been thanked: 10 times
Hi!
I was pleased to see the release of the latest plugin! I’ve tried similar plans, but it offers a lot of new opportunities!
My question would be, what would be the easiest way to expand this extension? How to develop?
I've tried extending grid.php and it works, but I only managed to put in a new layout if I replaced the existing ones.
But I want to have extra lines.
In any case, I think the bludit cms system was in great need of a similar plugin.
I was pleased to see the release of the latest plugin! I’ve tried similar plans, but it offers a lot of new opportunities!
My question would be, what would be the easiest way to expand this extension? How to develop?
I've tried extending grid.php and it works, but I only managed to put in a new layout if I replaced the existing ones.
But I want to have extra lines.
In any case, I think the bludit cms system was in great need of a similar plugin.
- multicolordev
- Master Bludit
- Posts: 137
- Joined: Thu May 26, 2022 12:33 pm
- Has thanked: 15 times
- Been thanked: 91 times
-
- Master Bludit
- Posts: 152
- Joined: Wed Jan 29, 2020 8:32 pm
- Has thanked: 28 times
- Been thanked: 10 times
I'm so glad you wrote! This plugin is very useful. I just want to expand.
My problem was that I can't add a + line because it just matches another.
But I also want a new one.
Could you describe the process in more detail?
Thanks!
My problem was that I can't add a + line because it just matches another.
But I also want a new one.
Could you describe the process in more detail?
Thanks!
- multicolordev
- Master Bludit
- Posts: 137
- Joined: Thu May 26, 2022 12:33 pm
- Has thanked: 15 times
- Been thanked: 91 times
I will create soon new version but now you must :
on php/grid.php inside folder plugin on line 20
add new button like previous like i created, but replace grid-12 or something simillar grid to own, next step on down the file line add like this example
on php/grid.php inside folder plugin on line 20
add new button like previous like i created, but replace grid-12 or something simillar grid to own, next step on down the file line add like this example
Code: Select all
document.querySelector('.your new name class').addEventListener('click',(e)=>{
tinyMCE.get('jseditor').dom.loadCSS('https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css');
e.preventDefault();
let value=`
your html
`;
tinymce.get("jseditor").setContent(tinymce.get("jseditor").getContent()+value)
})
- multicolordev
- Master Bludit
- Posts: 137
- Joined: Thu May 26, 2022 12:33 pm
- Has thanked: 15 times
- Been thanked: 91 times
- multicolordev
- Master Bludit
- Posts: 137
- Joined: Thu May 26, 2022 12:33 pm
- Has thanked: 15 times
- Been thanked: 91 times