Add new functionality to article form from component - joomla

I developed a component for Joomla 2.5 that allow user to import videos from their computer to their website.
I need to know if I could, from my component, alter the article creation form in order to add new functionalities such as adding a video to the article? In short if I could add buttons for example to implement this behavior.

Related

Rally custom dropdown to multiSelect

We have a custom drop down and need to make it a multiSelect. Your answer gives me hope but so far, I have not figured out how this can be done. I played around how to build custom grids using JavaScript. Is it possible to make an existing custom drop-down list to a multiSelect? If it is, can be it used in the existing Rally screens or do we have to use interactive grids to be able to update the field?
Please advice on how this can be achieved.
Thank you, Rajani.
A custom dropdown cannot be turned into a custom multiselect. There are no custom fileds in Rally of mulitselect type. You may write a custom app using AppSDK2 with a MultiObjectPicker
For example, here is a rallymutiobjectpicker that allows selection of multiple testsets:
this._testSetPicker = Ext.create('Rally.ui.picker.MultiObjectPicker', {
itemId:'testsetpicker',
modelType: 'testset'
});
Later you may use _getRecordValue() to get the array of selected records:
var selectedTestSets = this._testSetPicker._getRecordValue();
A custom grid and a custom html app are not the same.
A UI component created with AppSDK2 cannot be added to a custom grid, and cannot be added to existing Rally pages, e.g. a Defect or User Story details page, or any summary page.
The MultiObjectPicker can only be used in a custom code that you write and then copy your deployment html and paste it into a custom html page.
The developer portal also has links to great videos by David Thomas. See all the links in this post for details.

Orchard CMS Custom Layout using KendoUI

Have anyone tried creating custom layout for Orchard's query/projection functionality? The default layout available when you install Orchard are Grid and List, I'm planning to add custom layout grid using KendoUI (Grid, Listview) while also taking advantage of the Orchards framework, the kendoui grid should be able to display content and non content types. Any idea on where to start? If you can direct me to a sample project implementing this that would be cool...
You can create a new Layout Provider in your theme, which allows you to output the projection data however you wish.
Steve Taylor has a tutorial on writing a custom Layout Provider for creating a carousel using Projections, you could look at his examples to develop your own suiting your needs.

Loading and posting an external Joomla form view

In Joomla 3.03 I have built a component and a form view for adding to and editing records. I want to load this form into another entirely separate view where we are writing out the records.
I know I can use jQuery.load() to pull in the form but how can I dynamically load it into place on the separate view and allow it to be completed/validated/posted as if you were on the orginal form view page?
You can use new feature of Joomla 3.0 JLayout, it enables view reuse inside or accross extensions. For more details, check in docs Sharing layouts across views or extensions with JLayout

Joomla Custom Module Development - Backend administration Extra requirement

I am currently in the process of developing a custom joomla module for one of my client’s requirement. As part of the administration panel of that module, I have created a radio button group, well in that group; I have two more radio buttons
My question for you leaders in the web arena is I need an option that "should display extra fields when I select one of the radio buttons"
For example: I have a radio button group named as 'No of fields'. In that group, I have two radio buttons named as 'Show', 'Hide'. I need an option which should display extra fields, when I select 'show' radio button
Is this equation possible? If yes, please post me your thoughts
This kind of behavior is not provided as a part of Joomla's default administration functions. You'll have to code it yourself and call that JS file when the module is opened in the backend. I would recommend you check the code used in Mod_news_pro by Gavick. The module loads a custom JS file that add a lot of custom functions and layout options that wasn't available in Joomla.
It's quite simple, just create a custom element checkout the official docs:
http://docs.joomla.org/Creating_a_custom_form_field_type

add Widgets from Backend without editing XML

Is there any possibility in Magento to add a "widget" to the sidebar, using the backend only – without editing XML. I'd like to provide that function to a customer, who may add blocks/widgets to the sidebar similar like how it's possible using Wordpress.
Or did I have a false concept in mind of what widgets are in Magento?
You can add widget to any static page/block. See this tutorial: http://www.siteground.com/tutorials/magento/magento_widgets.htm

Resources