I need to have a batch tab on a form? How can I accomplish this?
You need to use the RunBaseBatch framework. See the link for a walkthrough. Also check Classes\Tutorial_RunbaseBatch to see a good tutorial template.
http://msdn.microsoft.com/en-us/library/cc636647.aspx
Related
I use the HTML Editor from ASP.NET Ajax AjaxControlToolkit http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/HTMLEditor/HTMLEditor.aspx.
Its like: http://s3.imgimg.de/uploads/2889172fdJPG.jpg
But I want to have it like: http://s3.imgimg.de/uploads/3eda09893JPG.jpg
So the default buttons are much overpowered for my users.
Is there a way to reduce the ajax HTMLEditor to this few buttons?
Or is there another controle you can help me with?
You haven't said which one you're using. I would recommend using TinyMCE: http://tinymce.moxiecode.com/
It will be easy to achieve what you want with it.
The best way to achieve this is to take advice from Ed Pitt, I did it this way and I was able to create different versions with different tools. The basic premise is to copy the HTMLEditor.Samples.cs file from the AJAX Control Toolkit source into your app and modify it to only print out the toolbars you want:
http://dot-net-web-developer-bristol.blogspot.com/2009/11/using-ajax-htmleditor-top-toolbar.html
Hope this is what you are looking for
Is there a module that allows me to log all the searches made on a view ?
Thanks !
I think you will need to write custom code to achieve that! I'm assuming you know some basics about writing Drupal custom code. You will need to use a hook that gets called before your view is displayed. In the hook you should log whatever information you want e.g. the keyword that was entered in the exposed filter.
Please see http://drupalcontrib.org/api/group/views_hooks/6 for the hooks that are available to you in Views.
I'm guessing you would probably use something like hook_views_pre_render
I need to modify the open-source FCKeditor (not CKeditor) to allow users to select multiple files and upload them in one go (as opposed to selecting them one at a time).
I've found a way to provide the functionality - there are ready made components that can be used.
But how do I add custom buttons with custom functionality in FCKeditor. Anyone know?
Thanks a bunch.
[Revised question]
Finally got it working. I added a generic handler. It did not interfere with the working of the control.
I go to a web form, enter some info into a number of fields on the form, click the Submit button (which does a POST) and get results. I do this frequently and would like to automate this process. I mainly use Firefox. I've looked at Watir but perhaps overkill for my needs.
Suggestions?
Watir or Watin are perfect for what you want, and aren't heavyweight. I use them all the time.
Watir's a great tool to get familiar with for UI automation. I don't quite understand the SU comment above, but it will work for what you're looking to accomplish. The additional side benefit is that you get to learn and/or work with Ruby. :)
have a look at simple to use selenium plugin
Watir would handle this with ease. If you provide sample HTML and let me know what you want to do, I will create a Watir script.
Hope this helps: http://interestingittips.wordpress.com/2010/08/23/hello-world/
I Am new to drupal I need to customize core functionality like register module and event module.please share you thought / sample code / sample website for get the clarification over my issue
Thanks in advance
Balaji
From what you posted in the comment to creejayoz answer, it seems like what you are after is not using hook_form_alter, but something in the line of what the profile module does. It's part of drupal core, and with it you can add extra fields to the user like first and last name. There are also more advanced modules that you can use instead, but it seems like you wont need it. Using the profile module will also be a lot quicker and easier than using hook_form_alter as you wont need to create a db table make SQL and such to the save the data.
You can use hook_form_alter to heavily modify the way Drupal's registration works, by modifying the form's fields, adding extra validation/submit functions, etc. It's difficult to give more detail without knowing what you're wanting to do.