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.
Related
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
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
Im using Wordpress on my Webpages and now i have decided to post there some tutorials and posts about it, and i just need some button that can open a box with options and i need to make starting tag using these options, and after selected put the closing tag. Im not really good in JS so i understand only a bit.
I found this:
http://return-true.com/2011/12/adding-tinymce-button-to-wordpress-via-plugin-part-2/
Adding custom tag with TinyMCE using ed.selection.setContent
maybe i need only to combine these two solutions
This can be done using an own plugin. Your plugin needs a button and this button will trigger a tinymce command that you will have to define. This command will open the box.
Developing an own plugin is pretty easy: http://www.tinymce.com/wiki.php/Creating_a_plugin
You should get the tinymce development version from the moxiecode download page. Check out the plugins directory for a plugin that uses a popup/model dialog - i think something like the searchreplace plugin will help.
I want to add few functionalities to a newly added button in "TestPlan" toolbar in HPQC. I browsed through the script editor in HPQC, but I am not sure how the code delivery is done (process). Please share with me any links/pointers which might be helpful.
I use collective.plonetruegallery for image galleries within Plone and I like it. However, what I miss is a "download" button or a simple "link" in order to let users actually download a image. The "Galleria" display view of plonetruegallery does seem to offer such a link/button -- does any of the other display views? Or any other solution whithout having to hack the plonetruegallery addon myself?
I know that you can right click and then choose "download image" among several other options within your preferred browser -- however, for a dumb user to cumbersome ;)
I have added an option to collective.ptg.contactsheet (1.1.2) that let you choose between going to the content or downloading it.
Espen
There's not a built-in "feature" to do this. You can see which of the gallery views might have this; looks like you've already found one. I'm sure you could easily customize another one to include such a link, simply by following the example in Galleria.
This is quite easy to make. The url to download the image would probably be:
/path/to/image/download
One option could be to just add an action.
If you want to have this for a specific gallery, I can probably fix it.
(go to https://github.com/collective/collective.ptg.contactsheet or whatever gallerytype you want it for and add an "Issue"
Espen