Feeds:
Posts
Comments

Archive for November 12th, 2008

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, [...]

Read Full Post »

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 [...]

Read Full Post »

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 [...]

Read Full Post »

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 [...]

Read Full Post »

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 [...]

Read Full Post »

Follow

Get every new post delivered to your Inbox.