Redactor JS editor, custom external toolbar solution with plugin - toolbar

I'm trying to create a totally custom/external toolbar for Redactor. So far, I think the best way to do this is to actually turn off the toolbar by default, and create a plugin for it.
I was able to do this successfully wit my custom feature set, but I can't indicate the state of the text in my toolbar itself. (ie: if a user changes the fontSize, and later on clicks in the middle of the word/sentence, I wanna be able to display that on the toolbar somehow)
Has anybody else run into this?
thanks,
--iM

Related

how to install material icons in google app maker

I don't quite understand exactly what i need to do to install material icons in google app maker and then how to use them. I would really appreciate anyone able to give me a step-by-step explanation. Thanks!
You don't need to install material icons you just need to use https://material.io/tools/icons/?style=baseline icon name. Just make sure that if is a button it has the "Fab" style variant for App Maker to make the change and replace the button text for the mdl icon name.
Style Variant
Text field for the widget (button)
Final result for a button.
You can also use different icons like in my case fontawesome.com. You need to get the CSS URL from the website then access to the App Maker "App Settings" and look for External Resources and add the link
After that search for an icon and will display some properties like these
Take the HTML properties to add them to the button Display > Styles as shown here.
Make sure there is nothing on "text" of the button and you will have something like this.
I had a hard time figuring this out when I was start using App Maker so I hope this helps you all.

How to implement custom design for specific views in Drupal

I am working on my application. I need to implement custome design for my specific view. I don't know how to do this.Please help
There is an option in the view. On the right side there is an option 'Advanced'. When you will click on it. it will expend and there is an option Theme. when you will click on it a popup will open and it will show various style option. Click on any specific option then it will show the code for it. Copy the code and keep it in a new file in editor, Save this file with the name that is given as option for the selected style option. Save this file under "your_project_path/sites/all/themes/your_theme/template/" and and there is an option to re-scan in the open theme popup. click on re-scan. You file will be show as bold. Hit save button ans save the view.
Now you can template your view in this file. Hope it will help you.
Happy coding.
You can also check this theming instructions:
https://www.drupal.org/node/352970
There are a lot tutorials and documentations on theming views, just search for them.

Adding a button on web debug tool bar symfony2 createbundle

I want to add a new button on the top web debug toolbar. I would be using that button to create a copy of that particular page and save it with another name.
I have been searching but couldnt find a solution. It seems that its possible but i haven't had any success yet.
Thanks
I don't really know what you want to do with that "button" and why you need it, but it is written in the doku, how the create a custom datacollector
http://symfony.com/doc/current/cookbook/profiler/data_collector.html

Drupal - adding a shortcut link that bypasses the overlay

Is it possible to add a shortcut to the menu bar that when clicked, goes straight to the link provided.
e.g. currently if I'm on http://mywebsite.com and I click a shortcut to the admin menu, the url changes to http://mywebsite.com/#overlay=admin and it appears in the popup overlay.
What I want is to go directly to the admin url without the overlay (http://mywebsite.com/admin). It's slow and clunky and can't stand it. However on some occasions it is useful to have it in a popup so it doesn't navigate away from the current page.
I know there's a setting to force all overlay actions to go straight to the page, but I don't want that. I only want a single shortcut link to bypass the overlay, so I can use the admin area directly when I need to, and everything else stays as is.
Can this be done for a single shortcut, or can it only be set one way for everything?
Drupal won't open the overlay if you can get the class 'overlay-exclude' onto the link.
You should be able to get that class onto the link by overriding theme_menu_link() in your theme and checking whether the link belongs to the shortcut set as you go.
You also may be able to use javascript to accomplish the same thing, say something like jQuery('.toolbar-shortcuts a[href="/admin"]').addClass('overlay-exclude')

can the fast report toolbar icons be completely replaced?

I'm working with fast report and I would like to change their default preview toolbar.
I need to replace some of the icons with icons of my own, and I need the ability to add my own custom buttons.
I looked at this thread from their support.
It mentions how to just change the icons to other fast-report provided icons, but I need to put in custom icons and add new buttons.
Has anyone done this before? Or knows whether this is possibly with FastReport.
If you have the professional edition of fastreports you have access to the source code.
I have heard of people editing this and recompiling to create thier own custom preview window

Resources