So if I decide to go with authorize.net, is it as simple as buying a certificate or instance from them, and filling the credentials into Spree? Or do I have to do more extensive configuration? Sorry I'm so urgent about this, my client just needs her site done this weekend and is bugging out a little since the Paypal stuff isn't working. Thanks again. On Mar 10, 4:08 pm, Sean Schofield <s...@railsdog.com> wrote: > I'd recommend authorize.net. PPE should be working and we're > launching a client next week with it. When things settle down it will > be easier for us to double back and find out what the various issues > people are having and try to address them. > > Sean Schofield > > ------------------------------------------- > Rails Dog LLC > 2 Wisconsin Circle, Suite 700 > Chevy Chase, MD 20815 > voice: (301)560-2000 > ------------------------------------------- > > > > On Wed, Mar 10, 2010 at 3:45 PM, Ben Lovell <benjamin.lov...@gmail.com> wrote: > > On 10 March 2010 20:39, Bryan.Taylor <btaylo...@gmail.com> wrote: > > snip > > >> On a side note I figured I ask what is the easiest way to remove an > >> extension? As per discussion above, I'd like to remove paypal-express > >> completely, but I'm not sure what the command is. > > >> Thanks. > > > You use some form of source control I hope? If so, just revert to the rev > > before you installed the extension. If not, shame on you ;) > > Cheers, > > Ben > > > -- > > You received this message because you are subscribed to the Google Groups > > "Spree" group. > > To post to this group, send email to spree-user@googlegroups.com. > > To unsubscribe from this group, send email to > > spree-user+unsubscribe@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/spree-user?hl=en. -- You received this message because you are subscribed to the Google Groups "Spree" group. To post to this group, send email to spree-user@googlegroups.com. To unsubscribe from this group, send email to spree-user+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/spree-user?hl=en.
Read More…
> Try removing and re-installing the postgresql-devel package > > yum remove postgresql-devel > yum install postgresql-devel > Ok, I just did that, but I am having a problem that my gem command is not working all of a sudden. I had also tried to debug the extconf.rb, I had stepped inside a function that appeared to hang so I killed the process. gem --help /usr/lib/ruby/site_ruby/1.8/rubygems.rb:521:in `expand_path': No such file or directory - getcwd (Errno::ENOENT) from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:521:in `find_files' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:520:in `map' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:520:in `find_files' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:1132 from /usr/bin/gem:8:in `require' from /usr/bin/gem:8 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Read More…
On Thu, 2010-03-11 at 09:11 -0800, Jedrin wrote: > so I have these files in one place: > > /usr/include/pgsql/internal/libpq-int.h > /usr/include/pgsql/server/libpq/libpq-be.h > /usr/include/pgsql/server/libpq/libpq.h > /usr/include/pgsql/server/libpq/libpq-fs.h > > and then I have this file here: > /usr/include/libpq-fe.h > > I don't know if that means I have something wrong or incompatible on > my system or if I should just try copying the file into the directory > with the other ones ---- don't manually 'fix' things - that would destroy the whole reason for packaging. If /usr/include/libpq-fe.h actually exists, the compiler doesn't believe it. Try removing and re-installing the postgresql-devel package yum remove postgresql-devel yum install postgresql-devel Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Read More…
Hi Steph, Thanks for your reply. I'll take a look in at your code. // jb On Mar 11, 5:12 am, Stephanie Powell <st...@endpoint.com> wrote: > s/create a model/create a migration/ > > Stephanie Powell wrote: > > Hi JB, > > > I've been working on overriding / adding to the checkout view. There > > actually aren't any hooks inside the checkout form from what I can > > tell, so you are going to have to override the views > > RAILS_ROOT/vendor/extensions/theme_default/app/views/checkout/*. > > > You also will need to create a model to introduce new columns in the > > checkout or order object (I'd probably go with the order model). You > > can refer to the extension at > >http://github.com/stephp/spree-order-noteto see how I've added a > > model to the order model, overrode the checkout/edit.html.erb view, > > and added functionality to save the order_note to the order model > > during checkout. This extension isn't finalized, but it might be a > > good starting reference on adding to the order model in checkout. > > > ~Steph > > > jb wrote: > >> Hello, > > >> I'm trying to develop a spree site for a pizza restaurant. Now in the > >> checkout procedure I'd like to add a date and time picker for > >> delivery. > > >> So on checkout a date and time for delivery can/must be given. > > >> What would be the right way to implement this. > >> Any help and examples appreciated. > > >> Kind regards, > > >> jb -- You received this message because you are subscribed to the Google Groups "Spree" group. To post to this group, send email to spree-user@googlegroups.com. To unsubscribe from this group, send email to spree-user+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/spree-user?hl=en.
Read More…
Hello, I need to load the seeds.rb into my test environment in order to test the controllers. I just added: require "#{Rails.root}/db/seeds.rb" to test_helper.rb But, of course, it's seeding the data whenever I test something. The seeds.rb is quite big and takes about 2 minutes to load so when I test one single file it's taking quite a lot of time to load the seed. Can I somehow prevent truncating the data and seeding the data every time I test? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Read More…
I just pick the layout for each child page under the home, but I do agree it is annoying. I'm sure there is a way that we could set the preferred layout using something like the settings extension. Radiant.default_layout = normal, or something. That would simply use the setting unless the layout was specified to be something else, aka leave the drop down on the page form as inherit. The other way would be to hack in something that looks to the settings and pre-populates the drop down with the appropriately selected layout. I don't know which is cleaner code if either or more explicit for the user. In my experience the problem is just remembering to set the layout properly, so perhaps just pre-populating that is what we want? It might not be apparent to the content authors if we leave it as inherit since they usually don't have access to the settings to change it or see what the default is. Thoughts on that? I don't know exactly how to create an extension that can override the core of radiant to check for that setting, but I'm sure it's possible. I'll dig into it a bit and if anyone else knows exactly how to do this off the top of their head, or if there is already an extension to achieve this please let us know! Thanks, -Jon On Thu, Mar 11, 2010 at 10:11 AM, rubybox <voorruby@gmail.com> wrote: > Okay just for reference, > > I seem have tackled this problem with current solution. > If someone knows a cleaner better way please let me know > Using a master layout > > <r:snippet name="head"/> > <body> > > <div id="wrapper_header"> > <div id="container_header"> > <r:snippet name="header"/> > </div> > </div> > > <r:unless_url matches="^/$"> > <div id="wrapper_section"> > <div id="container_section"> > <h1><r:title/></h1> > </div> > </div> > </r:unless_url> > > > > > <r:if_url matches="^/$"> > <div id="wrapper_content"> > > <div id="container_content"> > > <div id="intro"> > <r:content part="body" inherit="true"/> > </div> > <div id="col1"> > <r:content part="col1" inherit="true"/> > </div> > <div id="col2"> > <r:content part="col2" inherit="true"/> > </div> > <div id="col3"> > <r:content part="col3" inherit="true"/> > </div> > <div id="col4"> > <r:content part="col4" inherit="true"/> > </div> > > </div> > </div> > </r:if_url> > > <r:unless_url matches="^/$"> > <div id="wrapper_content"> > <div id="container_content"> > <div id="bodycontent"> > <r:content part="body" inherit="true"/> > </div> > <div id="sidebar"> > <r:snippet name="sidebar"/> > <r:content part="sidebar" inherit="true" /> > </div> > </div> > </div> > </r:unless_url> > > > > <div id="wrapper_footer"> > <div id="container_footer"> > <r:snippet name="footer"/> > </div> > </div> > > </body> > </html> > > > > Also a good time to start, > Are there any snippet sources of shared snippets and layouts might > come handy in the future. > > > > > On Mar 11, 12:50 pm, rubybox <voorr...@gmail.com> wrote: >> I have a pratical problem building my first Radiant site. >> >> Simple structure is >> >> - Homepage ( special intro layout with 1 col on top and 4 below ) >> - Services ( 2 col layout ) >> - Contact (2 col layout ) >> >> Created 2 layouts named "frontpage" and "normal" >> >> If I set in Radiant the layout for Home to "frontpage" >> I have to manually add the "normal" layout for each childpage below >> the homepage, >> very unhandy. I only want to make an exception for the frontpage. >> >> This is a common problem with designing a page where the frontpage has >> a distinct different layout then the childpages below the home one. >> >> Is there some workaround to set the layout that is being used on the >> frontpage with some code? >> That way I could just leave the Home with layout normal in Radiant, >> but Radiant would in that case bypass this setting and force the >> "frontpage" layout upon the homepage. >> >> Hope I make this problem clear like this :P >> Anyone knows a solution? > > -- > Radiant CMS Dev Mailing List > Post: radiantcms-dev@googlegroups.com > Unsubscribe: radiantcms-dev-unsubscribe@googlegroups.com > Group Site: http://groups.google.com/group/radiantcms-dev/
-- Radiant CMS Dev Mailing List Post: radiantcms-dev@googlegroups.com Unsubscribe: radiantcms-dev-unsubscribe@googlegroups.com Group Site: http://groups.google.com/group/radiantcms-dev/
Read More…
so I have these files in one place: /usr/include/pgsql/internal/libpq-int.h /usr/include/pgsql/server/libpq/libpq-be.h /usr/include/pgsql/server/libpq/libpq.h /usr/include/pgsql/server/libpq/libpq-fs.h and then I have this file here: /usr/include/libpq-fe.h I don't know if that means I have something wrong or incompatible on my system or if I should just try copying the file into the directory with the other ones -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Read More…
I would run it as a different app, and use DNS or url rewriting at the web server level. I'd also use store.mysite.com instead of using /store. --Christopher On Thu, Mar 11, 2010 at 7:27 AM, PJ <paul.angell@gmail.com> wrote: > I'm hosting my current Rails site on Aptana's Cloud. > > I'd like to build out a store using Spree and deploy it at: > > http://www.mysite.com/store > > Can I install Spree under the root of my existing Rails app...a > "nested app"...that really has nothing to do with the parent app...or > do I deploy it as an entirely different site and use DNS to get what > I'm after? > > Confused... > > -- > You received this message because you are subscribed to the Google Groups "Spree" group. > To post to this group, send email to spree-user@googlegroups.com. > To unsubscribe from this group, send email to spree-user+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/spree-user?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Spree" group. To post to this group, send email to spree-user@googlegroups.com. To unsubscribe from this group, send email to spree-user+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/spree-user?hl=en.
Read More…
Im working on a true thought structure of templates and snippets to build a web 2.0 site. It has CSS build from best practice using SASS, im using the blueprint grid as a foundation. I could share this template with you guys if interested we could modify it with several people to get the best practice. Although I believe its already very flexible and cool right at this moment. I still have to implement nested layouts though for even more flexibility. Its still in progress if any interest let me post it to github in a few days when im fully done with it. On Mar 11, 5:01 pm, Chris Rankin <rankin.de...@gmail.com> wrote: > Yeah I made the site_theme extension for a proprietary application. I had no > intention on releasing it so it's not really built to satisfy the community > needs. I fully plan on re-working it with the suggestions John made, but > like he said I think it's a good idea to get more community feed back. > > Jim + Scott, > > Would you guys like to be added as contributors to my repo? That way we can > have a central place to work on this extension, so we don't end up with 3 > totally different, versions. > > Also I'd really like to find a way to support single site installations, > multi_site, and vhosts. > > Thanks, > > Chris > > On Thu, Mar 11, 2010 at 9:57 AM, [Square Talent] Dirk Kelly < > > > > dirk.ke...@squaretalent.com> wrote: > > I know my biggest problem with layouts is the amount of code repetition, > > the first extension I ever used was nested_layouts. > > > Saves you defining your html meta etc tags for every layout. > > > On Thu, Mar 11, 2010 at 10:35 PM, John Long <johnwlong2...@gmail.com>wrote: > > >> On Thu, Mar 11, 2010 at 8:08 AM, rubybox <voorr...@gmail.com> wrote: > >> > So what Im interested in is any experienced developer interested in > >> > this? Am I the only one so frustrated by this, or can we get together > >> and > >> > create a working extension for this? > > >> I talked to Chris Rankin yesterday about his Site Theme yesterday > >> discussed some modifications to his extension that would make it more > >> flexible in the way that you describe. > > >>http://ext.radiantcms.org/extensions/207-site-theme > > >> To me there are two major areas of improvement needed: > > >> 1. Making destruction of layouts, pages, and snippets optional > > >> 2. Creating a standard template specification that templates can > >> conform to (or not) at the author's discretion > > >> The idea behind a standard template specification is that the names of > >> pages, page parts, snippets, and layouts should be consistent across > >> most templates. This would allow a high degree of reusability and make > >> theming much more flexible. > > >> Chris was excited about both ideas but could probably use some help > >> with the implementation. Also I think it would be good to get a > >> consensus from the community on what the standard template > >> specification should be. > > >> -- > >> John Long > >>http://wiseheartdesign.com > >>http://recursivecreative.com > > >> -- > >> Radiant CMS Dev Mailing List > >> Post: radiantcms-dev@googlegroups.com > >> Unsubscribe: radiantcms-dev-unsubscribe@googlegroups.com > >> Group Site: http://groups.google.com/group/radiantcms-dev/ > > > -- > > Radiant CMS Dev Mailing List > > Post: radiantcms-dev@googlegroups.com > > Unsubscribe: radiantcms-dev-unsubscribe@googlegroups.com > > Group Site:http://groups.google.com/group/radiantcms-dev/
-- Radiant CMS Dev Mailing List Post: radiantcms-dev@googlegroups.com Unsubscribe: radiantcms-dev-unsubscribe@googlegroups.com Group Site: http://groups.google.com/group/radiantcms-dev/
Read More…
> try > > yum install postgresql-devel > I allready have that: yum install postgresql-devel Loaded plugins: presto, refresh-packagekit Setting up Install Process Package postgresql-devel-8.4.2-1.fc12.i686 already installed and latest version Nothing to do The file is here: /usr/include/libpq-fe.h but this doesn't work: gem install pg -- --with-pgsql-include-dir=/usr/include Building native extensions. This could take a while... ERROR: Error installing pg: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb --with-pgsql-include-dir=/usr/include checking for pg_config... yes checking for libpq-fe.h... no Can't find the 'libpq-fe.h header *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/ruby --with-pg --without-pg --with-pg-config --without-pg-config --with-pg-dir --without-pg-dir --with-pg-include --without-pg-include=${pg-dir}/include --with-pg-lib --without-pg-lib=${pg-dir}/lib --enable-static-build --disable-static-build Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/ pg-0.9.0 for inspection. Results logged to /usr/lib/ruby/gems/1.8/gems/pg-0.9.0/ext/ gem_make.out [root@458869-MITLL ext]#
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Read More…
so I did: yum install ruby-devel.i686 now I get: can't find libpq-fe.h. gem install pg -- --with-pgsql-include-dir=/usr/include/pgsql --with- pgsql-lib-dir=/usr/lib/pgsql Building native extensions. This could take a while... ERROR: Error installing pg: ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb --with-pgsql-include-dir=/usr/include/pgsql -- with-pgsql-lib-dir=/usr/lib/pgsql checking for pg_config... yes checking for libpq-fe.h... no Can't find the 'libpq-fe.h header *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/ruby --with-pg --without-pg --with-pg-config --without-pg-config --with-pg-dir --without-pg-dir --with-pg-include --without-pg-include=${pg-dir}/include --with-pg-lib --without-pg-lib=${pg-dir}/lib --enable-static-build --disable-static-build Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/ pg-0.9.0 for inspection. Results logged to /usr/lib/ruby/gems/1.8/gems/pg-0.9.0/ext/ gem_make.out
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Read More…
Hi Robert: First of all I want to thank you for all the time you are spending helping me. > I also just noticed that once you get the hide() working, you have > nothing in your script to show it again. You are trying to make an AJAX > call to update it's contents every second, but the element would still > be hidden. Is that what you intended? I would try to spend clearly what I´m trying to do, because I thing that sometimes I´m not explaining well. That I want to do is: 1- I have a program that takes a picture from a camera every 700ms. 2- Those images are save at \public\guarrada\Debug 3- I want to show that images that I take every second in the webpage 4- I want that the serie of images seems like a video.For that purpose I want to change the latest image only when it were fully loaded, because if I don´t do that the video have a white line continuos moving on the image doing like a blind. I think I expressed it well this time, but if you have any question do that. -- Posted via http://www.ruby-forum.com/.
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Read More…
Okay just for reference, I seem have tackled this problem with current solution. If someone knows a cleaner better way please let me know Using a master layout <r:snippet name="head"/> <body> <div id="wrapper_header"> <div id="container_header"> <r:snippet name="header"/> </div> </div> <r:unless_url matches="^/$"> <div id="wrapper_section"> <div id="container_section"> <h1><r:title/></h1> </div> </div> </r:unless_url> <r:if_url matches="^/$"> <div id="wrapper_content">
<div id="container_content"> <div id="intro"> <r:content part="body" inherit="true"/> </div> <div id="col1"> <r:content part="col1" inherit="true"/> </div> <div id="col2"> <r:content part="col2" inherit="true"/> </div> <div id="col3"> <r:content part="col3" inherit="true"/> </div> <div id="col4"> <r:content part="col4" inherit="true"/> </div> </div> </div> </r:if_url> <r:unless_url matches="^/$"> <div id="wrapper_content"> <div id="container_content"> <div id="bodycontent"> <r:content part="body" inherit="true"/> </div> <div id="sidebar"> <r:snippet name="sidebar"/> <r:content part="sidebar" inherit="true" /> </div> </div> </div> </r:unless_url> <div id="wrapper_footer"> <div id="container_footer"> <r:snippet name="footer"/> </div> </div> </body> </html> Also a good time to start, Are there any snippet sources of shared snippets and layouts might come handy in the future. On Mar 11, 12:50 pm, rubybox <voorr...@gmail.com> wrote: > I have a pratical problem building my first Radiant site. > > Simple structure is > > - Homepage ( special intro layout with 1 col on top and 4 below ) > - Services ( 2 col layout ) > - Contact (2 col layout ) > > Created 2 layouts named "frontpage" and "normal" > > If I set in Radiant the layout for Home to "frontpage" > I have to manually add the "normal" layout for each childpage below > the homepage, > very unhandy. I only want to make an exception for the frontpage. > > This is a common problem with designing a page where the frontpage has > a distinct different layout then the childpages below the home one. > > Is there some workaround to set the layout that is being used on the > frontpage with some code? > That way I could just leave the Home with layout normal in Radiant, > but Radiant would in that case bypass this setting and force the > "frontpage" layout upon the homepage. > > Hope I make this problem clear like this :P > Anyone knows a solution?
-- Radiant CMS Dev Mailing List Post: radiantcms-dev@googlegroups.com Unsubscribe: radiantcms-dev-unsubscribe@googlegroups.com Group Site: http://groups.google.com/group/radiantcms-dev/
Read More…
I tried to run this with the debuger: ruby -r debug extconf.rb --with-pgsql-include-dir=/usr/include/pgsql -- with-pgsql-lib-dir=/usr/lib/pgsql this block of code in /usr/lib/ruby/1.8/mkmf.rb is where the error happens topdir = File.dirname(libdir = File.dirname(__FILE__)) extdir = File.expand_path("ext", topdir) $extmk = File.expand_path($0)[0, extdir.size+1] == extdir+"/" if not $extmk and File.exist?(Config::CONFIG["archdir"] + "/ruby.h") $hdrdir = $topdir = Config::CONFIG["archdir"] elsif File.exist?(($top_srcdir ||= topdir) + "/ruby.h") and File.exist?(($topdir ||= Config::CONFIG["topdir"]) + "/config.h") $hdrdir = $top_srcdir else abort "can't find header files for ruby." end
it's looking for ruby.h in either: /usr/lib/ruby/1.8/i386-linux /usr/lib/ruby/ and config.h in /usr/lib/ruby/1.8/i386-linux but those files are not there .. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Read More…
I believe the problem is linked to using a sub-uri in production the /dist folder is search at the application root not at the relative url need more inquiries On 11 mar, 15:45, Erwin <yves_duf...@mac.com> wrote: > When running in development env, I don't have this problem, only in > production... > > I have a view in which a js script display a FlowPlayer video player > (+ plugins)... > the flash files are located in the /public/dist folder, ant the > script calls them like that : > > <script> > $f("player", "/dist/flowplayer-3.1.5.swf", { > plugins: { > rtmp: { > url: "/dist/flowplayer.rtmp-3.1.3.swf" > } > openAdStreamer: { > url: '/dist/OpenAdStreamer.swf', > .. > > how should I write the url to work both in dev and prod modes ? > > thanks for your help > > erwin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Read More…
Yeah I made the site_theme extension for a proprietary application. I had no intention on releasing it so it's not really built to satisfy the community needs. I fully plan on re-working it with the suggestions John made, but like he said I think it's a good idea to get more community feed back.
Jim + Scott,
Would you guys like to be added as contributors to my repo? That way we can have a central place to work on this extension, so we don't end up with 3 totally different, versions.
Also I'd really like to find a way to support single site installations, multi_site, and vhosts.
Thanks, Chris On Thu, Mar 11, 2010 at 9:57 AM, [Square Talent] Dirk Kelly <dirk.kelly@squaretalent.com> wrote: I know my biggest problem with layouts is the amount of code repetition, the first extension I ever used was nested_layouts. Saves you defining your html meta etc tags for every layout.
On Thu, Mar 11, 2010 at 10:35 PM, John Long <johnwlong2000@gmail.com> wrote: On Thu, Mar 11, 2010 at 8:08 AM, rubybox < voorruby@gmail.com> wrote: > So what Im interested in is any experienced developer interested in > this? Am I the only one so frustrated by this, or can we get together and > create a working extension for this? I talked to Chris Rankin yesterday about his Site Theme yesterday discussed some modifications to his extension that would make it more flexible in the way that you describe. To me there are two major areas of improvement needed: 1. Making destruction of layouts, pages, and snippets optional 2. Creating a standard template specification that templates can conform to (or not) at the author's discretion The idea behind a standard template specification is that the names of pages, page parts, snippets, and layouts should be consistent across most templates. This would allow a high degree of reusability and make theming much more flexible. Chris was excited about both ideas but could probably use some help with the implementation. Also I think it would be good to get a consensus from the community on what the standard template specification should be. -- John Long http://wiseheartdesign.com http://recursivecreative.com
-- Radiant CMS Dev Mailing List Post: radiantcms-dev@googlegroups.com Unsubscribe: radiantcms-dev-unsubscribe@googlegroups.com Group Site: http://groups.google.com/group/radiantcms-dev/
Read More…
Robert Walker wrote: > Guille San wrote: >> Hi everybody: >> I was trying use dom:loaded, but I read in the Api of prototype that >> this function load all HTML code except the images. My problem is that >> all my web is an image and I want that it were full loaded before the >> webpage shows it, because that I want that it seems like a video and if >> it isn´t fully loaded it doesn´t seem a video. Anyone can help me?? I >> tried using the following: >> <script type="text/javascript"> > >> Event.observe(window, 'load', function() { >> $$('imagen').invoke('hide'); >> }) > > The event "dom:loaded" is added by Prototype specifically so you don't > have to wait for the entire page to fully load. The event get fired just > after the DOM is fully loaded, but before any other page assets are > loaded. This is usually what you want, but not always. If you really > want to wait for the entire page to load then use the window "load" > event which is what you are showing above. > > Also see http://www.ruby-forum.com/topic/205708#new where I explained a > few other problems I saw with your script. > I´m looking that, if I have problems I said to you > I want to also make clear that you must include the Prototype JavaScript > files in order to use any of the Prototype features. Maybe you're doing > that and not showing it here, but just want to make sure you understand > that. I included it time ago, but thanks for the conseil because sometimes I forgot that THANKS -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Read More…
Guille San wrote: > Hi everybody: > I was trying use dom:loaded, but I read in the Api of prototype that > this function load all HTML code except the images. My problem is that > all my web is an image and I want that it were full loaded before the > webpage shows it, because that I want that it seems like a video and if > it isn´t fully loaded it doesn´t seem a video. Anyone can help me?? I > tried using the following: > <script type="text/javascript"> > Event.observe(window, 'load', function() { > $$('imagen').invoke('hide'); > }) The event "dom:loaded" is added by Prototype specifically so you don't have to wait for the entire page to fully load. The event get fired just after the DOM is fully loaded, but before any other page assets are loaded. This is usually what you want, but not always. If you really want to wait for the entire page to load then use the window "load" event which is what you are showing above. Also see http://www.ruby-forum.com/topic/205708#new where I explained a few other problems I saw with your script. I want to also make clear that you must include the Prototype JavaScript files in order to use any of the Prototype features. Maybe you're doing that and not showing it here, but just want to make sure you understand that. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Read More…
What you are facing is the classic image loading issue.
Basically, you need to have - an array with url's for your big images such as picSrc[0] = 'images/big1.jpg'; picSrc[1] = 'images/big3.jpg' - a hidden <div id="waitingPic"> in your page which displays your waiting message When you want to load your big images you call these two lines: $('waitingPic').show() initPics() Here's the code function initPics(){ var ImagePreLoader = Class.create({ callback: null, imageCache: new Array, loaded: 0, processed: 0, noOfImages: 0, initialize: function(images, options) { if (options) { if (options.callback) this.callback = options.callback; } this.noOfImages = images.length; for ( var i = 0; i < images.length; i++ ) this.preload(images[i]); }, preload: function(imgSrc) { var image = new Image; this.imageCache.push(image); Event.observe(image, 'load', this.onload.bindAsEventListener(this), false); Event.observe(image, 'error', this.onerror.bindAsEventListener(this), false); Event.observe(image, 'abort', this.onabort.bindAsEventListener(this), false); image.preloader = this; image.loaded = false; image.src = imgSrc; }, onComplete: function() { this.processed++; if (this.processed==this.noOfImages) { this.callback(this.imageCache, this.loaded); } }, onload: function(e) { this.loaded++; this.onComplete(); }, onerror: function(e) { this.onComplete(); }, onabort: function(e) { this.onComplete(); } }); var imgPreloadCallback = function(imageCache, loaded) { // where: // imageCache is an array of the loaded images // loaded is an int of the number of images that loaded. //doSomethingAfterImagesAreLoaded(); $('waitingPic').hide(); picsPreLoaded = true; } var imgLoader = new ImagePreLoader(picSrc,{callback:imgPreloadCallback}); } Hope this helps. Christophe Le 11 mars 2010 à 16:40, Guille San a écrit : Hi everybody: I was trying use dom:loaded, but I read in the Api of prototype that this function load all HTML code except the images. My problem is that all my web is an image and I want that it were full loaded before the webpage shows it, because that I want that it seems like a video and if it isn´t fully loaded it doesn´t seem a video. Anyone can help me?? I tried using the following: <script type="text/javascript"> function lastSpy() { var target = $('imagen'); if (!target) return false; new Ajax.PeriodicalUpdater(target, 'http://localhost:3000/',{frequency:'0.25'}) } Event.observe(window, 'load', lastSpy, false); Event.observe(window, 'load', function() { $$('imagen').invoke('hide'); }) </script> <div id="imagen" > <%=image_tag("/guarrada/Debug/foto.jpg") %> </div> THANKS!!!!!!!! -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Read More…
Robert Walker wrote: > Guille San wrote: >> <script type="text/javascript"> >> >> function lastSpy() { >> >> var target = $('imagen'); >> >> if (!target) return false; >> new Ajax.PeriodicalUpdater(target, >> ' http://localhost:3000/',{frequency:'1'}) >> >> } >> Event.observe(window, 'load', lastSpy, false); >> document.observe("dom:loaded", function() { >> >> $$('imagen').invoke('hide'); > > I assume what you want is to find the element with id='imagen' and hide > it. That would be: > > $('imagen').hide(); > >> }); >> >> </script> >> <div id="imagen" > >> <%=image_tag("/guarrada/Debug/foto.jpg") %> >> </div> I also just noticed that once you get the hide() working, you have nothing in your script to show it again. You are trying to make an AJAX call to update it's contents every second, but the element would still be hidden. Is that what you intended? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Read More…
Hi everybody: I was trying use dom:loaded, but I read in the Api of prototype that this function load all HTML code except the images. My problem is that all my web is an image and I want that it were full loaded before the webpage shows it, because that I want that it seems like a video and if it isn´t fully loaded it doesn´t seem a video. Anyone can help me?? I tried using the following: <script type="text/javascript"> function lastSpy() { var target = $('imagen'); if (!target) return false; new Ajax.PeriodicalUpdater(target, 'http://localhost:3000/',{frequency:'0.25'}) } Event.observe(window, 'load', lastSpy, false); Event.observe(window, 'load', function() { $$('imagen').invoke('hide'); }) </script> <div id="imagen" > <%=image_tag("/guarrada/Debug/foto.jpg") %> </div> THANKS!!!!!!!! -- Posted via http://www.ruby-forum.com/.
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Read More…
Guille San wrote: > Hi everyone: > > I probe to use the function that Frederick says, but it doesn´t work > because mi image don´t load the new periodical image. Where I´m doing > something wrong?? > > <script type="text/javascript"> > > function lastSpy() { > > var target = $('imagen'); > > if (!target) return false; > new Ajax.PeriodicalUpdater(target, > ' http://localhost:3000/',{frequency:'1'}) > > } > Event.observe(window, 'load', lastSpy, false); > document.observe("dom:loaded", function() { > > $$('imagen').invoke('hide'); This is what you're saying, "Search using CSS selector 'imagen' for all <imagen> tags and invoke 'hide' on each." This tag does not exist in your DOM. I assume what you want is to find the element with id='imagen' and hide it. That would be: $('imagen').hide(); > }); > > </script> > <div id="imagen" > > <%=image_tag("/guarrada/Debug/foto.jpg") %> > </div> Move your JavaScript outside of your page. This technique is designed to be unobtrusive, then your jamming it right back into your page making obtrusive again. Start by putting your script code in the JavaScript file that Rails provides you by default (public/javascripts/application.js). And make sure you include the default script files in your <head> section: <head> ... <%= javascript_include_tag :defaults %> ... </head> This one line will include the necessary Prototype JavaScript files, and also include public/javascripts/application.js for you. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Read More…
I get these errors : gem install pg -- --with-pgsql-include-dir='/usr/include/pgsql' -- with-pgsql-lib-dir='/usr/lib/pgsql' Building native extensions. This could take a while... ERROR: Error installing pg: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb --with-pgsql-include-dir=/usr/include/pgsql -- with-pgsql-lib-dir=/usr/lib/pgsql can't find header files for ruby. Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/ pg-0.9.0 for inspection. Results logged to /usr/lib/ruby/gems/1.8/gems/pg-0.9.0/ext/ gem_make.out
from yum list postgres*, the relevant stuff I have installed is:
Installed Packages postgresql.i686 8.4.2-1.fc12 @updates postgresql-devel.i686 8.4.2-1.fc12 @updates postgresql-libs.i686 8.4.2-1.fc12 @updates postgresql-server.i686 8.4.2-1.fc12 @updates -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Read More…
Hi, Thanks it works better now. But how am i supposed to access my textfield if I am using a get method in my controller? Route: map.resources :products, :member => {:add_ingredient => :post } Controller: <%= text_field_with_auto_complete :product, :ingredient_name,{}, {:url => formatted_ingredients_path(:js), :method => :get, :with => "'search=' + element.value"} %> <%=link_to "Add",:action => "add_ingredient",:id => @product%> Frederick Cheung wrote: > On Mar 11, 12:26�am, Greg Ma <li...@ruby-forum.com> wrote: >> <%=link_to "Add",:action => :add_ingredient,:id => @product %> >> >> The error: >> Unknown action >> No action responded to 30. Actions: add_ingredient, create, destroy, >> edit, index, new, show, and update >> >> the url:http://localhost:3000/products/30/add_ingredient >> > > assuming that you're using map.resources then you need to add > add_ingredient as a member action (or you might decide that it is > preferable to have ingredients as a nested resource of products) > Either way you should really have a GET request that changes the state > of the database > > Fred
-- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Read More…
Hi everyone: I probe to use the function that Frederick says, but it doesn´t work because mi image don´t load the new periodical image. Where I´m doing something wrong?? <script type="text/javascript"> function lastSpy() { var target = $('imagen'); if (!target) return false; new Ajax.PeriodicalUpdater(target, 'http://localhost:3000/',{frequency:'1'}) } Event.observe(window, 'load', lastSpy, false); document.observe("dom:loaded", function() { $$('imagen').invoke('hide'); }); </script> <div id="imagen" > <%=image_tag("/guarrada/Debug/foto.jpg") %> </div> -- Posted via http://www.ruby-forum.com/.
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Read More…
I know my biggest problem with layouts is the amount of code repetition, the first extension I ever used was nested_layouts.
Saves you defining your html meta etc tags for every layout.
On Thu, Mar 11, 2010 at 10:35 PM, John Long <johnwlong2000@gmail.com> wrote: On Thu, Mar 11, 2010 at 8:08 AM, rubybox < voorruby@gmail.com> wrote: > So what Im interested in is any experienced developer interested in > this? Am I the only one so frustrated by this, or can we get together and > create a working extension for this? I talked to Chris Rankin yesterday about his Site Theme yesterday discussed some modifications to his extension that would make it more flexible in the way that you describe. To me there are two major areas of improvement needed: 1. Making destruction of layouts, pages, and snippets optional 2. Creating a standard template specification that templates can conform to (or not) at the author's discretion The idea behind a standard template specification is that the names of pages, page parts, snippets, and layouts should be consistent across most templates. This would allow a high degree of reusability and make theming much more flexible. Chris was excited about both ideas but could probably use some help with the implementation. Also I think it would be good to get a consensus from the community on what the standard template specification should be. -- John Long http://wiseheartdesign.com http://recursivecreative.com
-- Radiant CMS Dev Mailing List Post: radiantcms-dev@googlegroups.com Unsubscribe: radiantcms-dev-unsubscribe@googlegroups.com Group Site: http://groups.google.com/group/radiantcms-dev/
Read More…
Great, awsome you guys rock! So nice to see the enthousiasm, and Im not the only one who love to see this added. A .yml file with theme details, url, author, licensetype would be a good start I guess?. I guess an example theme based on best practices with some usefull snippets and layouts would help a lot of users begining and make Radiant far more adoptable. Im currently working on a flexible way arrange my snippets its fairly easy the xml markup rocks, so I can hopefully migrate fast from wordpress to radiant with a total 12 sites of some customers. Doing such thing by copying snippets to the database would amost be undoable in terms of maintainance and flexibility. On Mar 11, 3:45 pm, "M. Scott Ford" <sc...@vaderpi.com> wrote: > I am not sure that we need a standard for all of those items. > > I was leaning more towards a way to define the assumptions that the theme makes about the existence of such items. (Determining this without an explicit declaration would be even better.) Then when a theme is selected by a user, have the extension create any items that are required but missing, and then warning the user if existing assets are not going to be utilized. The warnings are probably best communicated by copy just above the editor for each affected item as well as a different icon in the list. > > -----Original Message----- > From: "John Long" <johnwlong2...@gmail.com> > Sent: Thursday, March 11, 2010 9:35am > To: radiantcms-dev@googlegroups.com > Subject: Re: [Radiant-Dev] Solving the Radiant theme and template problem > > On Thu, Mar 11, 2010 at 8:08 AM, rubybox <voorr...@gmail.com> wrote: > > So what Im interested in is any experienced developer interested in > > this? Am I the only one so frustrated by this, or can we get together and > > create a working extension for this? > > I talked to Chris Rankin yesterday about his Site Theme yesterday > discussed some modifications to his extension that would make it more > flexible in the way that you describe. > > http://ext.radiantcms.org/extensions/207-site-theme > > To me there are two major areas of improvement needed: > > 1. Making destruction of layouts, pages, and snippets optional > > 2. Creating a standard template specification that templates can > conform to (or not) at the author's discretion > > The idea behind a standard template specification is that the names of > pages, page parts, snippets, and layouts should be consistent across > most templates. This would allow a high degree of reusability and make > theming much more flexible. > > Chris was excited about both ideas but could probably use some help > with the implementation. Also I think it would be good to get a > consensus from the community on what the standard template > specification should be. > > -- > John Longhttp://wiseheartdesign.comhttp://recursivecreative.com > > -- > Radiant CMS Dev Mailing List > Post: radiantcms-dev@googlegroups.com > Unsubscribe: radiantcms-dev-unsubscribe@googlegroups.com > Group Site: http://groups.google.com/group/radiantcms-dev/
-- Radiant CMS Dev Mailing List Post: radiantcms-dev@googlegroups.com Unsubscribe: radiantcms-dev-unsubscribe@googlegroups.com Group Site: http://groups.google.com/group/radiantcms-dev/
Read More…
Hi, I've set up a model as follows class EquipmentPrice < ActiveRecord::Base acts_as_tree :order => "id" ... end which has the following db migration class CreateEquipmentPrices < ActiveRecord::Migration def self.up create_table :equipment_prices do |t| t.integer :id t.string :manufacturer t.string :model t.string :equipment_type t.integer :capacity t.integer :string_size t.string :cost_structure t.string :currency t.decimal :price_each t.decimal :price_bulk t.integer :bulk_quantity t.integer :parent_id t.timestamps end end def self.down drop_table :equipment_prices end end But when I try and run the default test, I get an error message stating ActiveRecord::StatementInvalid: Mysql::Error: Duplicate entry '1' for key 1: INSERT INTO `equipment_prices` (`id`, `manufacturer`, `model`, `equipment_type`, `capacity`, `string_size`, `cost_structure`, `currency`, `price_each`, `price_bulk`, `bulk_quantity`, `parent_id`, `created_at`, `updated_at`) VALUES (1, NULL, NULL, 'PV_subsystem', NULL, NULL, NULL, 'USD', 0.0, 0.0, 1, 0, '2010-03-11 12:14:05', '2010-03-11 12:14:05') I have read in an earlier post that this is because I have parent_id set as the primary key for the table. But when I look at the mysql table definition I see mysql> describe equipment_prices; +----------------+---------------+------+-----+--------- +----------------+ | Field | Type | Null | Key | Default | Extra | +----------------+---------------+------+-----+--------- +----------------+ | id | int(11) | NO | PRI | NULL | auto_increment | | manufacturer | varchar(255) | YES | | NULL | | | model | varchar(255) | YES | | NULL | | | equipment_type | varchar(255) | YES | | NULL | | | capacity | int(11) | YES | | NULL | | | string_size | int(11) | YES | | NULL | | | cost_structure | varchar(255) | YES | | NULL | | | currency | varchar(255) | YES | | NULL | | | price_each | decimal(10,0) | YES | | NULL | | | price_bulk | decimal(10,0) | YES | | NULL | | | bulk_quantity | int(11) | YES | | NULL | | | parent_id | int(11) | YES | | NULL | | | created_at | datetime | YES | | NULL | | | updated_at | datetime | YES | | NULL | | +----------------+---------------+------+-----+--------- +----------------+ 14 rows in set (0.00 sec) which appears to show that id is the primary key, as I would expect. What am I doing wrong here please? Thanks Steve -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Read More…
On 11 March 2010 14:39, Fernando Perez < lists@ruby-forum.com> wrote: >> But it *is* a Membership object... ?:-/ >> > It's a Membership indeed, but in the admin section of my app, I don't > need to recode a specific controller for memberships, they can use the > products_controller which is fine and defining :controller => "products" > won't do the trick as some actions cannot be shared. Makes sense. > #becomes is exactly what I was looking for, I didn't know about this > method and it's not featured in AWDWR 3rd Ed. Kewl. Glad to help. AWDWR is a good book - but it's not all-encompassing... You need to get familiar with navigating the Ruby and Rails API documentation to find the rest of the cool stuff :-) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Read More…
When running in development env, I don't have this problem, only in production... I have a view in which a js script display a FlowPlayer video player (+ plugins)... the flash files are located in the /public/dist folder, ant the script calls them like that : <script> $f("player", "/dist/flowplayer-3.1.5.swf", { plugins: { rtmp: { url: "/dist/flowplayer.rtmp-3.1.3.swf" } openAdStreamer: { url: '/dist/OpenAdStreamer.swf', .. how should I write the url to work both in dev and prod modes ? thanks for your help erwin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Read More…
I am not sure that we need a standard for all of those items. I was leaning more towards a way to define the assumptions that the theme makes about the existence of such items. (Determining this without an explicit declaration would be even better.) Then when a theme is selected by a user, have the extension create any items that are required but missing, and then warning the user if existing assets are not going to be utilized. The warnings are probably best communicated by copy just above the editor for each affected item as well as a different icon in the list. -----Original Message----- From: "John Long" <johnwlong2000@gmail.com> Sent: Thursday, March 11, 2010 9:35am To: radiantcms-dev@googlegroups.com Subject: Re: [Radiant-Dev] Solving the Radiant theme and template problem On Thu, Mar 11, 2010 at 8:08 AM, rubybox <voorruby@gmail.com> wrote: > So what Im interested in is any experienced developer interested in > this? Am I the only one so frustrated by this, or can we get together and > create a working extension for this? I talked to Chris Rankin yesterday about his Site Theme yesterday discussed some modifications to his extension that would make it more flexible in the way that you describe. http://ext.radiantcms.org/extensions/207-site-theme To me there are two major areas of improvement needed: 1. Making destruction of layouts, pages, and snippets optional 2. Creating a standard template specification that templates can conform to (or not) at the author's discretion The idea behind a standard template specification is that the names of pages, page parts, snippets, and layouts should be consistent across most templates. This would allow a high degree of reusability and make theming much more flexible. Chris was excited about both ideas but could probably use some help with the implementation. Also I think it would be good to get a consensus from the community on what the standard template specification should be. -- John Long http://wiseheartdesign.com http://recursivecreative.com -- Radiant CMS Dev Mailing List Post: radiantcms-dev@googlegroups.com Unsubscribe: radiantcms-dev-unsubscribe@googlegroups.com Group Site: http://groups.google.com/group/radiantcms-dev/ -- Radiant CMS Dev Mailing List Post: radiantcms-dev@googlegroups.com Unsubscribe: radiantcms-dev-unsubscribe@googlegroups.com Group Site: http://groups.google.com/group/radiantcms-dev/
Read More…
I'm hiring Ruby on Rails Developers for the Tottenham Court Road area, London. Here's some information: Working for a global online services organisation, the Senior Ruby on Rails Developer will design and develop large web based business applications, products and tools to support the EU business. The Senior Ruby on Rails Developer (Ruby on Rails, OOD, OOP, Agile, SCRUM) will work closely with the business stakeholders to understand business requirements and then design, architect and deliver high quality, high availability web products and tools in a Ruby on Rails environment; support existing applications in Ruby on Rails; function as a team lead in additional to an individual contributor; troubleshoot and resolve issues with current products and tools; assess project risk associated with development activities; provide leadership and guidance to the team and communicate effectively in both verbal (day-to-day discussions, team meetings) and written forms (requirements and design specifications) with local and remote team members. Candidates for the Senior Ruby on Rails Developer (Ruby on Rails, OOD, OOP, Agile, SCRUM) role must have strong objected oriented design (OOD/ OOP) and software design lifecycle experience; web application development experience with Ruby on Rails and ideally some Java; MySQL and/or SQL Server experience and detailed SQL knowledge. Candidates may have worked in any industry such as online new media, retail, telecoms, finance, gaming, video gaming, music, insurance or similar. Please contact Chris Mason chrismason@intelligentpeople.co.uk 01727 736696 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Read More…
|