[Radiant] Deployment
Hi ! I'm trying to understand how to deploy the content from Radiant's development environment to the production environment. I'd like to do it with Capistrano and GIT. The main trouble is not in just the first deploy, but also the sequential ones. Is there a way to automate the deployment using Capistrano and GIT. When little changes need to be done, and new content has been added to the production side, I will have differences between the databases, it will be solved just with a db dump? Which is the right process I should follow to make a coherent and well structured deployment of a Radiant based website? (including database and extensions). If you have sources to provide, experience, will be great :) Thanks very much, -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
[Radiant] User Model
Hi! How are you? Hope you've all spent a great weekend! I'm finishing another website based in Radiant, and this time I should assign to a new user an editors role. I wonder how to create a new role in the user model, as long as Developer or Administrator default permissions are too much in this case. I was checking this how to[1], but if anyone is able to explain it a bit clearer, or to provide another resource, would be very helpful!! Thanks very much, -- Paula [1]. http://wiki.github.com/radiant/radiant/accessing-radiants-user-model-2 ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
[Radiant] Troubles adding page tabs
Hi, I'm willing to add new page parts in page, to add no-map or extend, or mailer configurations, but I've found out that the script attached to the little icon + on the right side of the Page edit section, does not work. I've older versions of radiant installed, and it works perfectly. I've tried in several browsers, and even though I can remove the tabs, I'm not able to create them. I've installed for this new project the newest Radiant version, is there any trouble? What can I do to fix it? Thanks, -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Troubles adding page tabs
Have you run rake radiant:update ? This should copy the new javascript files to your public/javascripts directory. Is it possible that you have an extension installed which might be causing this problem? -- Jim Gay j...@saturnflyer.com ___ Yes, I've run rake radiant:update, but nothing. Sounds weird. It may be as you said, perhaps one of the extensions. I'll try to figure out which one is causing troubles and let you know. Thanks very much, -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Volunteers Needed! Extension Registry Maintainers
On Friday, February 5, 2010, John W. Long m...@johnwlong.com wrote: Howdy folks, I just deployed a change this evening that will allow me to give admin rights to users of the extension registry. Users with admin rights have the ability to edit or delete any extension. If you would be interested in helping maintain the extension registry please contact me directly. I am looking for a couple of people who can make sure that extensions added to the registry have good descriptions, accurate URLs, screenshots, etc... who are willing to make a commitment to spend an hour or two every few weeks looking over entries for new extensions and maintaining the old entries. You need should have experience installing extensions and enjoy writing and editing. If you are looking for a way to give back to the community this is a fantastic way to get involved! Special thanks to Michael Hale for helping me implement this feature. -- John Long http://wiseheartdesign.com http://recursivecreative.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
[Radiant] Comments Extension
Hello! I'm having issues with the Comments extensions. When adding the snippet comment to my layout I get this error message: undefined method `author_url’ for nil:NilClass undefined method `author’ for nil:NilClass undefined method `author_url’ for nil:NilClass said on undefined method `created_at’ for nil:NilClass : undefined method `content_html’ for nil:NilClass undefined method `approved?’ for nil:NilClass undefined method `approved?’ for nil:NilClass I've not installed Askimet, I read somewhere it may be the trouble? The fact is that I'm posting comments, approving them in the Comments tab and then I cannot watch them anywhere in the website. Which snippet is made for that purpose? If anyone had this issue, would be great to get an idea! By the way I keep trying! Thanks veryy much, -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Comments / Page Attachments extensions troubles
Hello! I was trying to install, again, comments extensions. The fact is that I keep having this error message: Could not load extension from file: page_attachments_extension. #MissingSourceFile: no such file to load -- application rake aborted! uninitialized constant Sanitize I've tried to fix it adding require 'sanitize' in comment.rb and config.gem in environment.rb Any clues? Thanks very much, -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Blog extension usage
On Tue, Nov 17, 2009 at 1:30 PM, Jim Gay j...@saturnflyer.com wrote: Admittedly, I've needed to add more details for a while. Set Radiant::Config['blog.location.configurable?'] = 'true' and you can add a home location for each user's blog (used to generate the new blog post links on Dashboard You may also set Radiant::Config['blog.location.default'] to something generic so that every user creates posts on the same blog (such as /team/blog or whatever is appropriate for you). Originally I was going to bundle in the Comments extension as well, but I pulled it out because I wanted to avoid the inevitable questions about what to do if you already had Comments installed. And I was looking into pulling in the Blog Tags extension (which I may still do for the time_ago_in_words tag). http://wiki.github.com/radiant/radiant/blog-tags-extension I've been considering pulling in the whole thing because there is something nice about the brevity of using r:next instead of r:siblings:next but having both might be a bit confusing. I just pushed up some docs, so pull the latest. http://github.com/saturnflyer/radiant-blog-extension/commit/cbd5641e01d357d82a61f9ce7a415807ec61f0c3 -- Jim Gay http://www.saturnflyer.com Jim, it's great to receive your comments. Thanks very much to the whole list for all the efforts! I'll keep reading for further improvements. -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Blog extension usage
Thanks very much Andrew, maybe it's all about sibling tags extensions! I've implemented my blog using Archives but I'd love to make it using just the Blog extension. Perhaps I should make a mix of both ? On Tue, Nov 17, 2009 at 12:11 PM, Andrew Neil andrew.jr.n...@googlemail.com wrote: The README is a bit sparse for the blog extension. As it says: The Blog ... is a conglomeration of multiple extensions and new features. It includes my 'sibling_tags' extension, which provides tags for linking to next/previous articles. Documentation for the sibling tags extension can be found on it's own project page: http://github.com/nelstrom/radiant-sibling-tags-extension I'm not sure about the other extensions which are bundled in to the blog extension. Hope this helps, Drew -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Blog extension usage
Hello! Does anybody knows if there's a document which explains the blog extension usage? I didn´t found it at the documentation stored at git. Thanks very much, -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Mailer extension
Hello! I'm trying to process two forms placed in the same page with Mailer extension. Should I create 2 mailer extended pages? I'm differentiating the forms using different id's, is it the right way? Thanks very much! -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Multilingual...
Hello! I've trying to solve an error with the Multilingual Extension. It seems that anything I write inside r:available repeats twice in the selection list (where users select the language they prefer). Any ideas? Here it goes the code... select onchange=location.href=this.value; r:language_selection r:current option selected=selected value=r:url /r:language_name //option /r:current r:available optionEspañol/option /r:available r:unavailable /r:unavailable /r:language_selection /select Any help would be really appreciated, my best regards, -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Troubles with mailer extension
Hello! I'm trying to build a contact form using the Mailer extension. I've followed step by step the documentation, but I can't find the way. When clicking at Submit form, it do not deliver the message and forward to this path /pages/84/mail#mailer I'm using 2 forms inside the same Page. One called form1 and the other form2. Is it the right way of doing it? I've a page called mail, with 2 page parts: mailer and email Mail r:mailer:form name='form' fieldset legendEnter your contact information and message./legendbr label class=yournameYour name span class=bg-k*/span r:text name='name' class='input'//labelbr label class=yourcompanyYour Company span class=bg-k*/span r:text name='company' class='input'//labelbr labelYour E-mail r:text name='email' class='input'//labelbr labelYour message span class=bg-k*/span r:textarea name='message' class='textarea' //labelbr input type=submit value=Send class=formboton /fieldset /r:mailer:form Mailer subject: Contact from website from_field: email recipients: - paulamari...@gmail.com Email from: r:mailer:get name='name'/ company: r:mailer:get name='company'/ email: r:mailer:get name='email'/ message: r:mailer:get name='message'/ and the configuration .rb is properly configured. Any clues? Thanks very much! -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Troubles with mailer extension
On Mon, Oct 26, 2009 at 1:04 PM, john muhl johnm...@gmail.com wrote: On Mon, Oct 26, 2009 at 9:37 AM, Travis D. Warlick, Jr. warli...@operissystems.com wrote: You should be using the following tag syntax for the form fields: r:mailer:text name=name / See the Usage section here: http://github.com/radiant/radiant-mailer-extension not true. everything inside r:mailer:form is already in the r:mailer... namespace so r:mailer:form r:mailer:text... is exactly the same as r:mailer:form r:text... (this is pretty much true of all radius tags) On Oct 26, 2009, at 9:26 AM, María Paula Mariani wrote: I'm trying to build a contact form using the Mailer extension. I've followed step by step the documentation, but I can't find the way. When clicking at Submit form, it do not deliver the message and forward to this path /pages/84/mail#mailer that url suggest you haven't set `Radiant::Config['mailer.post_to_page?'] = true`. see http://wiki.github.com/radiant/radiant/mailer-extension i also see that you're trying to send to an @gmail.com address so i'm guessing that you're using the gmail smtp server; if that's the case and you're running ruby 1.8.6 you'll need to install the action_mailer_tls rails plugin. if none of that helps could you provide more details on your setup. action mailer config, smtp provider, ruby version, radiant version etc. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant Hi! Thanks very much for your answers! I've tried using this format r:mailer:text name=name / but I keep having the same troubles. I've added `Radiant::Config['mailer.post_to_page?'] = true` to the environment.rb file, to the very last line, and made again the deploy. Now the URL I see after submitting is /pages/71/mail#mailer, should I set a thank_you page? We are running ruby 1.8.6, I will install the plugin suggested. By the way, a mailer section for multiple recipients should look this way? Mailer subject: Contact from website from_field: email recipients: - paulamari...@gmail.com - anot...@gmail.com paulamari...@gmail.com - n...@name paulamari...@gmail.com.com paulamari...@gmail.com Thanks very much! -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Multilingual pages extension
Hello! I'm having some troubles with the Multilingual Pages extension this time. I've placed a language selector from the available tags that look like this: select onchange=location.href=this.value; r:language_selection r:current option selected=selected value=r:url /r:language_name //option /r:current r:available option value=r:url /r:language_name //option /r:available r:unavailable /r:unavailable /r:language_selection /select The problem is that the available languages that are being displayed, at first sight are coming from all the Slugs I wrote sometime. Spanish is being displayed twice. Any clues? suggestions? My Home page is not multilingual. It's slug is / English redirects to /lang-en and Spanish to /lang-es Thanks very much! -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Troubles with mailer extension
2009/10/26 María Paula Mariani paulamari...@gmail.com i also see that you're trying to send to an @gmail.com address so i'm guessing that you're using the gmail smtp server; if that's the case and you're running ruby 1.8.6 you'll need to install the action_mailer_tls rails plugin. Hi! I've installed the action_mailer_tls gem, should I include it this way before the Action Mailer SMTP configuration require 'smtp_tls' or it is not needed? Thanks very much, -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Backup
On Tue, Sep 8, 2009 at 6:17 AM, john muhl johnm...@gmail.com wrote: it depends on how what sort of database you're using. if it's sqlite you can simply zip up the entire radiant project and call that a backup. if it's mysql or something else you can use that db's dump/import tools plus a zip file of the radiant project to create a backup. version control also works well for rolling back the project directory (and database if you're using sqlite). 2009/9/7 María Paula Mariani paulamari...@gmail.com: Hello! I'd like to know which is the best way to freeze or to make a backup of my project made in Radiant. I'd like to try some extensions and I'd like to have a backup just in case something goes wrong. How is the best way to restore the project and database (from a backup)? Thanks very much! -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant Hi! Thanks very much for your help. I wonder if rake db:schema:dump would help to make a mysql backup. I think it just works for deployment. I wonder if there is some explanation about backups between the documentation, I couldn't find any at least at GIT repository. I've also found this resource: http://blog.radixhound.com/2008/4/28/backing-up-radiant-cms-using-sqlite3 but I don't know if it will work for a mysql database. Considering this, I've made a .tar.gz of my whole radiant directory, including /config. I would like to make that db:dump (which is the correct command?) to create the db backup but I don't know which command is it and which is the name of the database radiant is creating per default when we create a project. Your help will be truly appreciated! Thanks very much, Paula -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Backup
Hello! I'd like to know which is the best way to freeze or to make a backup of my project made in Radiant. I'd like to try some extensions and I'd like to have a backup just in case something goes wrong. How is the best way to restore the project and database (from a backup)? Thanks very much! -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Error Page_Attachments
Hello! I'm trying to fix some mistakes I got after installing the Page Attachments extensions required for the Blog extension. From the /admin, when I try to add a child page, or watch the code of an existing page it displays this error: ActiveRecord::StatementInvalid in Admin/pages#edit Showing vendor/extensions/page_attachments/app/views/admin/pages/_attachments_box.html.erb where line #5 raised: Mysql::Error: Table 'radiant_production.page_attachments' doesn't exist: SHOW FIELDS FROM `page_attachments` Extracted source (around line #5): 2: div class=toolbar 3: %= image_tag('admin/plus.png', :alt = 'Add') % 4: /div 5: h3Attachments (span id=attachment_count%= @page.attachments.count %/span)/h3 6: 7: %= javascript_tag var auth_token = '#{form_authenticity_token}'; % 8: % unless @page.attachments.count.zero? % Trace of template inclusion: /usr/lib/ruby/gems/1.8/gems/radiant-0.8.0/app/views/admin/pages/_fields.html.haml, /usr/lib/ruby/gems/1.8/gems/radiant-0.8.0/app/views/admin/pages/edit.html.haml RAILS_ROOT: /home/priani/radiant I've done de db migration, but nothing happens. Thanks very much for your help! -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Error Page_Attachments
On Mon, Aug 31, 2009 at 4:40 PM, Jim Gay j...@saturnflyer.com wrote: 2009/8/31 María Paula Mariani paulamari...@gmail.com: Hello! I'm trying to fix some mistakes I got after installing the Page Attachments extensions required for the Blog extension. Page Attachments is in no way required for the Blog extension. Do you mean *you* or *your project* requires it? From the /admin, when I try to add a child page, or watch the code of an existing page it displays this error: ActiveRecord::StatementInvalid in Admin/pages#edit Showing vendor/extensions/page_attachments/app/views/admin/pages/_attachments_box.html.erb where line #5 raised: Mysql::Error: Table 'radiant_production.page_attachments' doesn't exist: SHOW FIELDS FROM `page_attachments` Extracted source (around line #5): 2: div class=toolbar 3: %= image_tag('admin/plus.png', :alt = 'Add') % 4: /div 5: h3Attachments (span id=attachment_count%= @page.attachments.count %/span)/h3 6: 7: %= javascript_tag var auth_token = '#{form_authenticity_token}'; % 8: % unless @page.attachments.count.zero? % Trace of template inclusion: /usr/lib/ruby/gems/1.8/gems/radiant-0.8.0/app/views/admin/pages/_fields.html.haml, /usr/lib/ruby/gems/1.8/gems/radiant-0.8.0/app/views/admin/pages/edit.html.haml RAILS_ROOT: /home/priani/radiant I've done de db migration, but nothing happens. Have you done it on the appropriate database? rake db:migrate:extensions vs. rake production db:migrate:extensions Thanks very much for your help! -- Paula -- Jim Gay http://www.saturnflyer.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant Jim, you were right, with rake production db:migrate:extensions the problem was solved :-) I was doing it somewhere else! Thanks very much! -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant