[Radiant] Maxlength attribute not displaying on mailer generated form
Hi there, One of our staff members encountered an interesting behavior when setting up a form for a local activity. They wanted to limit the amount of characters a user can type within the text box. They went ahead and used the maxlength in the following manner: r:mailer:text name=1engraving4x8 id=1engraving4x8 maxlength=13 / However, when looking at the generated page on the browser (View Page Source) the attribute is nowhere to be found. If I go back to edit the page, I¹ll find the attribute where is meant to be placed. In the other hand, if I code this as regular html: input type=text name=1engraving4x8 id=1engraving4x8 maxlength=13 / Then I am able to see it reflected on the page source and the attribute is applied to the form. Any ideas as to why is not displaying when using the mailer form tags? Thanks in advance, Victor ___ 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] Maxlength attribute not displaying on mailer generated form
Thanks John! Victor On 4/29/10 2:18 PM, john muhl johnm...@gmail.com wrote: On Thu, Apr 29, 2010 at 12:04 PM, Jim Gay j...@saturnflyer.com wrote: On Apr 29, 2010, at 11:03 AM, john muhl wrote: On Thu, Apr 29, 2010 at 9:37 AM, Victor Zuniga vzun...@westervillelibrary.org wrote: One of our staff members encountered an interesting behavior when setting up a form for a local activity. They wanted to limit the amount of characters a user can type within the text box. They went ahead and used the maxlength in the following manner: ?r:mailer:text name=1engraving4x8 id=1engraving4x8 maxlength=13 ?/ However, when looking at the generated page on the browser (View Page Source) the attribute is nowhere to be found. If I go back to edit the page, I¹ll find the attribute where is meant ?to be placed. Any ideas as to why is not displaying when using the mailer form tags? the mailer extension only allows you to pass the size, class and id attributes through. i've run into this before and in my fork accept many more attributes. John, I just added you to the mailer repository. Feel free to update it. i've pushed up the changes now. some of the new html5 inputs types are added and most attributes are now allowed (the few i left out didn't seem to make sense in this context). if you're trying to set boolean attributes you'll need to use the long version; e.g. autofocus=autofocus ___ Radia nt 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 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] how to convert to a radiant without breaking incoming links
You might find this tutorial on setting up 301 redirects useful (Apache Nginx): http://tinyurl.com/7anzd9 Victor On 11/18/09 4:13 PM, Sean Cribbs seancri...@gmail.com wrote: I've had great success with Jim's vapor extension. You can set up the redirects to be 301s as well, so you will lose minimal Google rank. Sean dave- wrote: I have a html site that I would like to convert to radiant? There are other people who link to my site and I do not want to break those links. For example: - http://mySite.com http://mysite.com/ or - http://mySite.com/index.html http://mysite.com/index.html or - http://mySite.com/books.html http://mysite.com/books.html How do you suggest I structure the radiant site. The slug for the home page is / but the html://mySite.com /index.html incoming link that worked with apache httpd does not work with radiant. The links to http://mySite.com/books.html always use the .html so I suppose the solution is to change the slug to books.html. ___ 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 ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Subdomain
Hi Mohit, Sorry about the delay on replying to your email. The issue had to do with versioning. Sean, thanks for the hint. I went ahead and checked out tag 0.6.9 and was able to install and run the migrations. So, I have the extension installed and I am about to start the set up. Is there any details I should be aware of? Is there a sample file (virtual host) I can look at. We're using Nginx as our webserver. Thanks for the help, Victor On 6/7/09 3:25 AM, Mohit Sindhwani t...@onghu.com wrote: Victor Zuniga wrote: Hello, A follow up question on the multisite extension. I am trying to install the extension from http://github.com/radiant/radiant-multi-site-extension/tree/master and getting the following error message when running the migrations: ** Invoke production (first_time) ** Execute production ** Invoke environment (first_time) ** Execute environment Could not load extension from file: multi_site_extension. #MissingSourceFile: no such file to load -- application_controller ** Invoke db:migrate:extensions (first_time) ** Invoke environment ** Execute db:migrate:extensions Check the name of the directory to which you installed the extension. It's quite likely that the directory is supposed to called multisite rather than multi_site (which is what it sounds like you named it). See this for help in naming directories: http://wiki.github.com/radiant/radiant/installing-extensions#naming Cheers, Mohit. 6/7/2009 | 3:24 PM. ___ 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
Re: [Radiant] Subdomain
Hello, A follow up question on the multisite extension. I am trying to install the extension from http://github.com/radiant/radiant-multi-site-extension/tree/master and getting the following error message when running the migrations: ** Invoke production (first_time) ** Execute production ** Invoke environment (first_time) ** Execute environment Could not load extension from file: multi_site_extension. #MissingSourceFile: no such file to load -- application_controller ** Invoke db:migrate:extensions (first_time) ** Invoke environment ** Execute db:migrate:extensions Any feedback will be greatly appreciated. Thanks, Victor On 6/2/09 4:07 PM, Chaim Kirby chaim.ki...@childrens.harvard.edu wrote: Victor, The multi-site extension will get you close (http://github.com/radiant/radiant-multi-site-extension/tree/master). You will still need to define the Kids.westervillelibrary.org domain outside of radiant (mongrel config, http.conf etc) but you can use the extension to map a new site in the admin interface to that domain. Chaim Kirby chaim.ki...@childrens.harvard.edu Children's Hospital Informatics Program Victor Zuniga wrote: Hello, This is something it might already be possible and I am just not aware of it. I would like to set up a portion of our main site (/kids) to have its own domain: Kids.westervillelibrary.org However, the site is not big enough to set up a new box for it. I wonder if there¹s a way to create some sort of virtual host from the radiant interface through an extension? Any feedback will be greatly appreciated. Thanks, Victor ___ 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 ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Subdomain
Hello, This is something it might already be possible and I am just not aware of it. I would like to set up a portion of our main site (/kids) to have its own domain: Kids.westervillelibrary.org However, the site is not big enough to set up a new box for it. I wonder if there¹s a way to create some sort of virtual host from the radiant interface through an extension? Any feedback will be greatly appreciated. Thanks, Victor ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Subdomain
Thanks for the suggestion Chaim! I'll look into it. Victor On 6/2/09 4:07 PM, Chaim Kirby chaim.ki...@childrens.harvard.edu wrote: Victor, The multi-site extension will get you close (http://github.com/radiant/radiant-multi-site-extension/tree/master). You will still need to define the Kids.westervillelibrary.org domain outside of radiant (mongrel config, http.conf etc) but you can use the extension to map a new site in the admin interface to that domain. Chaim Kirby chaim.ki...@childrens.harvard.edu Children's Hospital Informatics Program Victor Zuniga wrote: Hello, This is something it might already be possible and I am just not aware of it. I would like to set up a portion of our main site (/kids) to have its own domain: Kids.westervillelibrary.org However, the site is not big enough to set up a new box for it. I wonder if there¹s a way to create some sort of virtual host from the radiant interface through an extension? Any feedback will be greatly appreciated. Thanks, Victor ___ 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 ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Subdomain
Thanks Michael! We're using nginx as our web server. Victor On 6/2/09 4:09 PM, michael starke michael.sta...@hicknhack-software.com wrote: On 02.06.2009, at 22:01, Victor Zuniga wrote: Hello, This is something it might already be possible and I am just not aware of it. I would like to set up a portion of our main site (/kids) to have its own domain: Kids.westervillelibrary.org However, the site is not big enough to set up a new box for it. I wonder if there¹s a way to create some sort of virtual host from the radiant interface through an extension? Any feedback will be greatly appreciated. Thanks, Victor Hello Victor, if you're hosting via apache you can add a alias to point to this location (i guess) setting up a virtual host via apache should not work, as it's going to get a new environment. It's just an educated guess, maybe someone else with in depth apache knowledge can help you by point the precise solution out. Greetings michael ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___m i c h a e l s t a r k e co-founder of HicknHack Software GbR www.hicknhack.com Graphics ___c o n t a c t +49 (170) 3686136 +49 (351) 4045428 cont...@hicknhack.com ___H i c k n H a c k S o f t w a r e G b R maik lathan - andreas reischuck - michael starke hübnerstraße 8 01069 dresden - germany ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant Victor Zuniga Westerville Public Library 126 S. State St. | Westerville, OH 43081 Phone: 614.882.7277 | ext 165 ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Caching twitter updates
Hello, I am hoping someone can point me in the right direction on this. We are using the twitter widget (Javascript) to display updates on our front page. Lately, we have experienced situations where the widget would not display the updates at all. We contacted twitter support and they basically said we need to cache the API responses in our website. I thought that was being cached through the Page Cache built-in on Radiant but maybe I am misunderstanding the two functionalities. Has anyone else experienced this behavior? Any information/feedback you can provide will be appreciated. Thanks, Victor ___ 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 #mailer on confirmation email
I got the mailer extension installed and working. However I am finding that every time a request is sent, the Thank you page url gets a ³#mailer² added to the end. It¹s not a big deal since the Mailer extension itself is working but I would like to know how can I remove it. Also, according to this page: http://github.com/radiant/radiant-mailer-extension/tree/master I should be able to do: from_field: email In order to pass the value of the email form into the mailer part but I keep getting the invalid configuration message on the browser. Any feedback would be appreciated. Thanks, Victor ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Re: Mailer extension oddities
Would you mind sharing the setting? I am experiencing the same redirect issue when testing out the mailer extension. Thanks, Victor On 2/9/09 11:12 AM, john muhl johnm...@gmail.com wrote: Nevermind I found the esoteric mailer config setting that enforces the correct behavior. Is there any reason why the strange behavior described above is the default one? On Sun, Feb 8, 2009 at 10:32 PM, john muhl johnm...@gmail.com wrote: I'm not sure if it has to do with 0.7.0 or the mailer extension in general but I am getting odd redirects. For example, I have a contact page like this http://gist.github.com/60672 When the form submits successfully the user ends gets redirected at http://example.com/contact/thanks#mailer When the form is missing some required fields the user gets redirected to http://example.com/pages/9/mail#mailer Is there something in my configuration causing the #mailer to get tacked on? What is up with that url when the form is missing fields? Are these just side effects of the mailer extension not being completely 0.7.0 compatible? I'm using the latest commit of the mailer extension and the 0.7.0 final release frozen in vendor/radiant. ___ 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
Re: [Radiant] Re: RE: If you love radiant but need ecommerce what's thebestsolution
Going trough the Spree documentation found the following towards the bottom of the page: http://spreehq.org/features Planned Features: We are currently planning on having CMS integrate with existing Rails CMS platforms such as Radiant, Mephisto and Typo. Victor On 11/26/08 4:33 PM, Marcus Blankenship marc...@jeld-wen.com wrote: Well, each to their own. It's much better than substruct (IMHO), but I don't want to start a flame war. -Original Message- From: radiant-boun...@radiantcms.org [mailto:radiant-boun...@radiantcms.org] On Behalf Of Arik Jones Sent: Wednesday, November 26, 2008 1:32 PM To: radi...@lists.radiantcms.org Subject: [Radiant] Re: RE: If you love radiant but need ecommerce what's thebestsolution Marcus Blankenship wrote: Okay, my vote for best eCommerce solution, anywhere, is Magento. (www.magentocommerce.com) I love it very much! ;-) Marcus Yeah, I've worked with Magento before. I hated it. Then again, I hate MOST php-based projects. -- Posted via http://www.ruby-forum.com/. ___ 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 ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Another site using Radiant
Hi Everyone, Just wanted to let you know we went live yesterday. This site being powered by Radiant. Take a look: http://www.westervillelibrary.org Thanks to all the radiant community for the support provided. We¹re happy we made the move. Victor ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Another site using Radiant
Thanks Sean! Victor On 1/9/09 3:45 PM, Sean Cribbs seancri...@gmail.com wrote: Victor, Well done, and congratulations. Sean Victor Zuniga wrote: Hi Everyone, Just wanted to let you know we went live yesterday. This site being powered by Radiant. Take a look: http://www.westervillelibrary.org Thanks to all the radiant community for the support provided. We¹re happy we made the move. Victor ___ 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 ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Need help in adding an extra tag to the RSS reader extension
I am hoping someone on the list can help me. The extension works great for us since it enable the users to plug an rss feed url and displays the content into the site. This is great because the staff don¹t have to worry about manually updating the content for that section. However, in the last couple of days I received a request to display only the image on the feed along with the url. Currently the r:feed:link / will display the title for a particular book with its url: r:feed:items url=http://catalog.westervillelibrary.org/feeds/juvenile_fiction.xml; order=Title ASC limit=5 lir:feed:link //li /ul ul /r:feed:items /ul Is there a way do this for the cover image? We would like to do the same for the cover images. Something like r:feed:CoverImage /. The xml document looks something like this: item titleStar wars : the clone wars : wild space / Karen Miller./title linkhttp://catalog.westervillelibrary.org/record=b1449290*eng/link http://catalog.westervillelibrary.org/record=b1449290*eng description![CDATA[a href=http://catalog.westervillelibrary.org/record=b1449290*eng;img src=http://syndetics.com/index.aspx?isbn=9780345509017/SC.GIFclient=westv; border=0 alt=cover image style=float: left; margin-right: 5px; //a]]The Jedi Knights lead the battle against a powerful droid army of separatists, while Anakin Skywalker mentors his first Padawan, a girl named Ahsoka, learning the skills of a warrior and becoming a hero of the Clone Wars, in a second novelization based on the new television animated series./description guid isPermaLink=false9780345509017 (trade pbk. : acid-free paper)/guid /item Maybe there is a way to accomplish this now and I haven¹t found it yet. I am not a programmer so I am hoping someone with the skills can help me out. Many thanks in advance, Victor ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Re: page_attachments / :secret / #protect_from_forgery error
It seems Rails just patched a CSRF vulnerability yesterday. http://weblog.rubyonrails.com/2008/11/18/potential-circumvention-of-csrf-pro tection-in-rails-2-1 Victor On 11/18/08 11:41 PM, Sean Cribbs [EMAIL PROTECTED] wrote: For some reason, the CSRF protections in Rails require that if you use :active_record_store for sessions, the key given in your config setting must be equivalent to the key given in the call to protect_from_forgery in the controller. One way around this might be to add an after_initialize block like so: config.after_initialize do ActionController::Base.request_forgery_protection_options.update :secret = 'putyourreallylongsha1hashkeyhere' end Sean Steven Line wrote: Geez, I don't know what just happened here, but I stuck this line of code in some obscure file I didn't even know existed and it fixed my problem. I stuck this line of code: protect_from_forgery :secret = 'asdfqwexxcoivswhallelujah!yippee!fqewwel', :except = :index into my radiant-0.6.9/app/controllers/admin/page_controller.rb and the error went away. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant Victor Zuniga Westerville Public Library 126 S. State St. | Westerville, OH 43081 Phone: 614.882.7277 | ext 165 ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Children not displaying
I am still having issues with this strange behavior. I am testing with Firebug and am getting the following message: SiteMap is not defined when('site-map', function(table) { new SiteMap(table) }); Defined on javascripts/admin/admin.js on the radiant app. This was working just fine last week. Only additions to the site were the implementation of Paperclipped and WYM editor. I went ahead and removed the extensions but the behavior still remains. The ability to create and edit pages is still present. We are able to access and edit first level pages but third level pages (e.g Home Page Articles First post) do not display when clicking on the left hand side icon (plus sign). Does radiant keep a limit for third level pages? I have double checked and JavaScript is enabled on the browser (Thanks John for the reminder) Has anybody encounter this behavior? Any feedback will be appreciated. Thanks, Victor On 10/27/08 3:59 PM, john [EMAIL PROTECTED] wrote: By any chance do you have javascript disabled in the web browser you're using to login with? On 2008/10/27, at 13:40, Victor Zuniga wrote: Hi, I am hoping someone can help me. Last Friday, the pages in our app were working properly displaying the children pages contained within some of the internal pages. We logged in today to do some text editing and were not able to see the children pages. When clicking on the Plus sign icon nothing happens ( although I am able to create children pages for any pages). What has changed since then? I installed paperclipped and WYM editor. Any feedback would be appreciated. Victor ___ 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 Victor Zuniga Westerville Public Library 126 S. State St. | Westerville, OH 43081 Phone: 614.882.7277 | ext 165 ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Children not displaying
Hi, I am hoping someone can help me. Last Friday, the pages in our app were working properly displaying the children pages contained within some of the internal pages. We logged in today to do some text editing and were not able to see the children pages. When clicking on the Plus sign icon nothing happens ( although I am able to create children pages for any pages). What has changed since then? I installed paperclipped and WYM editor. Any feedback would be appreciated. Victor ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Paperclipped extension: Default partial not found!
I just installed paperclipped: http://github.com/jomz/paperclipped/tree/master and everything went ok during installation. When I go into Admin I get the following message on the Edit page: `/assets/show_bucket_link' default partial not found! It also alerts of of missing templates when I clicked on the Assets tab. Not sure what I am missing ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] weird regexp results
Hello everyone, I am trying to implement the tinymce extension: http://github.com/danielegozzi/radiant-tinymce_filter/tree/master I am able to see the extension listed on the Extensions section of my test project as well as in the filter dropdown menu when editing a page but not the actual tinymce toolbar. What am I missing? Thanks in advanced, Victor ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant