Hi
Thoraxe
I was adding the lines on a previous scaffold code
and there was already views file created by scaffold code, so i was
not getting the desired result, once i removed the previous scaffold
code and started freshly, i got what i wanted.
DJ
Thanks for the reply
On Jan 8, 7:35 pm, thoraxe <[email protected]> wrote:
> DJ,
>
> Can you post your entire application.rhtml from your app/views/layouts
> folder?
>
> I'm wondering if perhaps the <%= yield %> line is missing.
>
> On Jan 8, 7:32 am, DJ <[email protected]> wrote:
>
> > Hi
> > Group
> > I installed the active scaffold in my rails application by
> > cloning the git git://github.com/activescaffold/active_scaffold.git
> > and added the lines like
>
> > 1) <%= javascript_include_tag :defaults %>
>
> > <%= active_scaffold_includes %> in my application.html.erb
>
> > 2) My User controller looks like this->
> > class UserController < ApplicationController
> > active_scaffold :user do |config|
> > config.theme = :blue
> > config.list.columns =
> > [:id, :login, :email, :created_at, :updated_at]
> > config.columns[:id].inplace_edit = true
> > end
> > end
>
> > Indeed the javascripts are added in the views, if i do the view page
> > source i can see javascript files are added ->
> > .......................
> > .......................
> > <script src="/javascripts/prototype.js?1231356849" type="text/
> > javascript"></script>
> > <script src="/javascripts/effects.js?1231356849" type="text/
> > javascript"></script>
> > <script src="/javascripts/dragdrop.js?1231356849" type="text/
> > javascript"></script>
> > <script src="/javascripts/controls.js?1231356849" type="text/
> > javascript"></script>
> > <script src="/javascripts/application.js?1231356849" type="text/
> > javascript"></script>
> > <script src="/javascripts/active_scaffold/default/rico_corner.js?
> > 1231359054" type="text/javascript"></script>
> > <script src="/javascripts/active_scaffold/default/form_enhancements.js?
> > 1231359054" type="text/javascript"></script>
> > <script src="/javascripts/active_scaffold/default/active_scaffold.js?
> > 1231359054" type="text/javascript"></script>
> > <script src="/javascripts/active_scaffold/default/dhtml_history.js?
> > 1231359054" type="text/javascript"></script>
> > <link href="/stylesheets/active_scaffold/default/stylesheet.css?
> > 1231359054" media="screen" rel="stylesheet" type="text/css" />
> > <!--[if IE]><link href="/stylesheets/active_scaffold/default/
> > stylesheet-ie.css?1231359054" media="screen" rel="stylesheet"
> > type="text/css" /><![endif]-->
>
> > ...........................
> > ...........................
>
> > But thelayoutdid not changed at all, What am i missing?
>
> > Where are the other functionalities like search, pagination etc? In
> > fact the necessary files are there in vendor/plugins/active_scaffold
> > directory.
>
> > I am using rails 2.2.2.
>
> > DJ
> > Thanks in advance
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---