Integrating FCK Editor Plugin in Active Scaffold is very easy Assuming FCK Editor Plugin is installed in your application. In controller we need to write the following code to make it work: Considering the category we have this as usual active_scaffold :category do |config| config.label = “Category” # Display page name config.columns = [:name, :rank, [...]
Archive for November, 2008
FCK Editor Plugin in ActiveScaffold
Posted in Ruby on Rails, tagged Active Scaffold, ActiveScaffold, FCK Editor, Rails, Ruby, Ruby on Rails on November 12, 2008 | 12 Comments »
File Column Plugin in ActiveScaffold
Posted in Ruby on Rails, tagged Active Scaffold, ActiveScaffold, File Column, Rails, Ruby, Ruby on Rails on November 12, 2008 | Leave a Comment »
Integrating File Column Plugin in Active Scaffold is very easy Assuming File Column Plugin is installed in your application. In controller we need to write the following code to make it work: Considering there is a field called Product_Image in product active_scaffold :product do |config| config.label = “Product Page” config.columns = [:product_name, :product_description, :product_image] config.create.multipart [...]
Search in ActiveScaffold
Posted in Ruby on Rails, tagged Active Scaffold, ActiveScaffold, Rails, Ruby, Ruby on Rails, Search on November 12, 2008 | 1 Comment »
Integrating Search in Active Scaffold is very easy In controller we need to write the following code to make it work: Considering the category we have active_scaffold :category do |config| config.label = “Category” # Display page name config.columns = [:name, :rank, :description, :products] config.columns[:name].label = “Some Name” update.columns.exclude :rank # exclude rank column during edit [...]
Customizing ActiveScaffold
Posted in Ruby on Rails, tagged Active Scaffold, ActiveScaffold, Rails, Ruby, Ruby on Rails on November 12, 2008 | Leave a Comment »
Customizing Active Scaffold according to your requirements is very easy. Example :- Removing create, edit or delete links from your page and add your own links Also add nested links if this model is related to other model. Example there is another model name as Product which is related to Category model say category has [...]
Active Scaffold
Posted in Ruby on Rails, tagged Active Scaffold, ActiveScaffold, Rails, Ruby, Ruby on Rails on November 12, 2008 | Leave a Comment »
Acivescaffold is a plugin which makes the life easier for many programmers. Assuming that you have downloaded and installed the plugin. We proceed with an example. Consider there is a model named as “category” with fields like name, rank and description and we are now integrating this with Activescaffold Now in controller we need to [...]