similar to: theme_generator custom application views

Displaying 20 results from an estimated 10000 matches similar to: "theme_generator custom application views"

2006 Feb 02
4
How switching global layout (application.rthml <or> custom.rhtml)
Dears, My railsapp run using ''/layout/application.rhtml'' and under some conditions ( Authenticated user, url parameter) I like to switch globally to another layout, let''s say custom.rhtml Like : class AppController < ApplicationController before_filter :context_layout def index end end # application.rb def context_layout if <context_condition>
2011 Aug 09
0
ActiveScaffold - custom show action
Hi all, I''ve added custom show action (as an action link - I want to use default one too). Everything renders well, but I''m missing a "Close" ([x]) button. So, I copied AS'' default _show.rhtml template and edited it a bit (just added custom output and removed label). However, when I click at "Close" I get error output: You have a nil object when you
2006 Mar 09
1
ActionMailer Question -- can''t find email templates
I have a PageController that displays a form. The form is just straight HTML, I only used the form helpers for the form tag as so: -- <%= form_tag({:action => :send_request}, {:method=>:post, :name=>''childsplay''})%> -- In my page controller I have this: -- def send_request email = InfoMailer::deliver_sendrequest(params) end --- in my action mailer class I
2012 Aug 30
4
how to change theme in rails 3.2.7
I''m using rails 3.2.7. I have few themes in my public/themes folder. For example in my theme-1 folder there is one index.html + style.css + few images (if required) At the time of registration user will select one theme. Now when the user will login that theme will display. I will use handle bar(http://handlebarsjs.com/) for data insertion. My main problem is that how
2006 Mar 29
0
placing specific views within a subdirectory?
Can anyone show me how to go about placing specific views within a directory? ie: controllers/hello.rb views/hello/english/world.rhtml views/hello/english/people.rhtml views/hello/spanish/mundo.rhtml views/hello/spanish/gente.rhtml instead of the usual: controllers/hello.rb views/hello/world.rhtml views/hello/mundo.rhtml hello.rb currently contains the basic methods: class ChartsController
2006 Apr 27
2
problematic admin/views
ok, i have a pretty almost finished (frontend) blog, i have defined an admin zone with authentication to add content, now im getting trouble with the views for the controllers in the admin zone, here you can see my file structure: http://img284.imageshack.us/my.php?image=tmpviews6oq.gif and my admin controllers like this: controllers/admin/admin_controller.rb class Admin::AdminController
2018 Nov 19
0
CentOS 7 + GNOME : all icon themes broken after update from CR
On Sun, Nov 18, 2018 at 12:51:13PM +0100, Nicolas Kovacs wrote: > Hi, > > I just upgraded one of my CentOS 7 + GNOME desktops from the CR repo. > After the upgrade, it seems like all of the icon themes are broken. > Missing icons everywhere. > > Any idea what's going on here ? it just works for me: no issue [centos at salle4-70 ~]$ sudo yum list \*theme\* ....
2006 Apr 19
3
Flex or OpenLaszlo
I''m just wondering if anybody has got any experience in integrating Flex or OpenLaszlo with Rails and which people prefer. I''ve seen some of the tutorials but am pondering which one, if any, I should turn to: http://coenraets.com/tutorials/flexonrails/flexonrails.html http://www.liverail.net/articles/2006/04/16/rubyonrails-1-1-and-flex-2-0-pt-1
2006 May 22
4
use join table in paginate
How come I allways immediately run into difficult stuff when I''m trying some new programming language? Am I blind for the simplicity of Ruby/Rail, which a see must be there? Anyway, don''t try and answer this rhetoric question. I have got another one for you, seemingly difficult. I''m struggling with a n:m relationship (in a database, that is) and its join table.
2007 Mar 06
4
Rails 1.2 / Theme support plugin issue: Fix
This is to answer one of my old issues, that I was having using Theme support plugin using with Rails 1.2. When you get an latest edge Rails update and run your application which has Theme support plugin you will get following error /script/../config/../vendor/plugins/theme_support/lib/patches/routeset_ex.rb:26:in `create_theme_routes'': undefined method `named_route'' for
2017 May 15
1
plymouth themes problem
Hi all! I was playing with plymouth themes on a c7 box. I found a page on redhat, in their rhel7 documentation that describes how to change to a different plymouth screen: plymouth-set-default-theme --list to find out what themes are installed. then I installed the remaining bunch the yum had available. so then installing one by doing plymouth-set-default-theme <theme name> dracut -f
2007 Dec 23
5
prepend_view_path not working
Now that controllers can have multiple view paths I''ve been playing with themes over the weekend. Running into a view issues. I have a before_filter in the ApplicationController that calls prepend_view_path to add the path of my theme. I even log the view_paths in an after_filter to make sure it made it all the way through. The output looks something like:
2005 Dec 31
7
Application Errors w/ layout & custom view pages
1) I get Rails Application Error when trying to use layout test_controller def list layout "stdlayout" end in the views/test/layouts stdlayout.rhtml <html> <head><title>test</title></head> </body> <h1>Test</h1> <%= content_for_layout %> </body> </html> 2) I get Rails Application Error when trying to use a separate
2006 Aug 31
1
Need architectural help avoiding render :component
I''m writing a CMS/portal system, and I''m having trouble coming up with a way of routing requests that feels right without using render :component (which I''ve read should never be used). The system works like this: Each user has a set of "pages" which are shown as navigation tabs on the page. The user may rename, reorder, add, or delete pages for a custom
2010 Dec 14
1
lattice fun: multiple themes in panels with spplot()
I have some geospatial data where two layers are thematic and the third is a percentage, so the maps need to have different themes. thumbDf <- as( stack( thumb), "SpatialGridDataFrame") names(thumbDf at data) <- c("pri", "sec", "pct") thumbDf at data$pri <- factor(thumbDf at data$pri, levels=c(0:8), labels= names( peelClasses)) thumbDf at
2008 Jul 11
1
Firefox 3 for CentOS 4
Hi, I'm trying to make Firefox 3 work in CentOS 4. So far I was able to do it by installing the evolution28-* rpms, which have a more recent GTK, Cairo, Pango, etc. With those libs installed and configured, Firefox 3 from mozilla.org works fine. The only thing is that it doesn't use the "Bluecurve" theme as the other applications do. I was seeing that the evolution28-*
2006 Jan 18
3
Documentation for scaffold / views
Apparently a scaffold creates at least one instance variable for views to use, and if I override the scaffold then I must also explicitly create that instance variable for the view. I''d like to know exactly what work is performed by the scaffold so that I can know this when over-riding the view. (OR, is it that the controller makes these variables available by default?..) EXAMPLE:
2005 Aug 11
2
Where do my RPMs actually go, and is it different for Red Hat builds?
I'm trying to install themes for KDE. In doing so, I came across the following web site which seems to have the themes I want as RPMs: http://rpm.pbone.net/index.php3/stat/17/dept/3/idg/User+Interface_Desktop The theme I want is called "Thinkeramik", and it has the following versions, for various Red Hat builds: thinkeramik-3.2.1-1.0.el3.kde.i386.rpm RedHat EL 3
2010 Aug 20
1
[Wine 1.3] Desktop integration with .msstyles
.. doesn't work for me. I'm running a fresh Ubuntu 10.04 with wine 1.3. If I open the desktop integration tab an try to install a theme the winecfg hangs. Installing a theme to windows/resources/themes doesn't help - it is not show in the list of themes after a restart ... Any suggestions ? So long LastCoder
2006 Sep 21
2
initial metacity theme support for compiz
I just pushed some code into the compiz repository for initial metacity theme support. It's not complete, left and right borders are not rendered correctly, button decorations doesn't always match event window locations, maximized and shaded windows are not rendered as when running metacity, button locations are not configurable as with metacity... but it still seem to look OK with most