Re: [Radiant] import_export patches for user errors (and extensions)

2007-09-05 Thread Will Green
Disregard this. I needed to alter 
vendor/extensions/import_export/lib/exporter.rb, line 3, to specify 
which models to export. After adding PageAttachment to the end of the 
list (there has *got* to be a better, more Rails-esque way to do this), 
my page_attachment records are now exported.

I have yet to try importing with this fix in place, though.

Will Green wrote:
> After closer inspection, it appears that the applied patches are causing 
>   my page_attachments to be neither exported nor imported (probably 
> because they aren't exported!).
> 
> Giovanni, since you added a priority field to the extension_meta table, 
> must I now assign a priority to each extension in order for them to be 
> processed at all?
> 

-- 
Will Green

Find out why this email is 5 sentences or less at http://five.sentec.es/
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] multilanguage

2007-09-05 Thread mark . a . brand
thanks, good. we are ok with the admin interface in english, but just to
need  maintain content in several languages.



On 06/09/07, John W. Long <[EMAIL PROTECTED]> wrote:
>
> mark.a.brand wrote:
> > Wondering if radiant is suitable out of the box for a multi-language
> site.
>
> Out of the box? No. If you are fine with the admin interface being in
> English and want to maintain several branches of your site in different
> languages, the LanguageRedirectExtension will do the trick. Otherwise,
> you can try the Jargon branch, but it's half-baked at the moment.
>
> --
> John Long
> http://wiseheartdesign.com
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] multilanguage

2007-09-05 Thread John W. Long
mark.a.brand wrote:
> Wondering if radiant is suitable out of the box for a multi-language site.

Out of the box? No. If you are fine with the admin interface being in 
English and want to maintain several branches of your site in different 
languages, the LanguageRedirectExtension will do the trick. Otherwise, 
you can try the Jargon branch, but it's half-baked at the moment.

--
John Long
http://wiseheartdesign.com
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Accessing sessions?

2007-09-05 Thread John W. Long
Travis Bell wrote:
> This has been mentioned a couple of time it seems but we are finding  
> it next to impossible to create and use new  sessions with Radiant.
> 
> Is this on purpose or something that wasn't quite realized until  
> after the extension abilities were released?

It's intentionally turned off. Radiant not really designed for Web sites 
that support user sessions. Several people have attempted to fix this 
problem, but I'm not sure of the results. I'd recommend that you search 
the list.

--
John Long
http://wiseheartdesign.com
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] import_export patches for user errors (and extensions)

2007-09-05 Thread Will Green
After closer inspection, it appears that the applied patches are causing 
  my page_attachments to be neither exported nor imported (probably 
because they aren't exported!).

Giovanni, since you added a priority field to the extension_meta table, 
must I now assign a priority to each extension in order for them to be 
processed at all?

-- 
Will Green

Find out why this email is 5 sentences or less at http://five.sentec.es/
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Getting 0.6.2 working on Dreamhost

2007-09-05 Thread Damien McKenna
After getting Radiant running on a Windows server using  
mongrel_cluster I figured getting it running on a Linux host would be  
easy.  Pah.

I'm attempting to run this on Dreamhost and I *think*, but I'm not  
certain, that the site is basically timing out.

I went through the instructions from the wiki but when I attempt to  
view the site I get the following:

---
# Logfile created on Wed Sep 05 19:59:05 -0700 2007 by logger.rb/1.5.2.9
[05/Sep/2007:19:59:05 :: 24151] starting
[05/Sep/2007:19:59:05 :: 24151] Dispatcher failed to catch: private  
method `split' called for nil:NilClass (NoMethodError)
   /usr/lib/ruby/1.8/cgi.rb:897:in `parse'
   /home/myuser/.gems/gems/radiant-0.6.2/vendor/rails/actionpack/lib/ 
action_controller/cgi_ext
/raw_post_data_fix.rb:45:in `initialize_query'
   /usr/lib/ruby/1.8/cgi.rb:2274:in `initialize'
   /usr/lib/ruby/1.8/fcgi.rb:594:in `new'
   /usr/lib/ruby/1.8/fcgi.rb:594:in `each_cgi'
   /home/myuser/.gems/gems/radiant-0.6.2/vendor/rails/railties/lib/ 
fcgi_handler.rb:141:in `process_each_request!'
   /home/myuser/.gems/gems/radiant-0.6.2/vendor/rails/railties/lib/ 
fcgi_handler.rb:55:in `process!'
   /home/myuser/.gems/gems/radiant-0.6.2/vendor/rails/railties/lib/ 
fcgi_handler.rb:25:in `process!'
   public/dispatch.fcgi:31
almost killed by this error
---

When I run public/dispatch.fcgi I get the following:

---
[arrow]$ public/dispatch.fcgi
Loaded suite public/dispatch.fcgi
Started

Finished in 0.000218 seconds.

0 tests, 0 assertions, 0 failures, 0 errors
---

Note that it actually took about three seconds, not the 0.000218s it  
said.

Anyone have any ideas on what to try?

Thanks.

-- 
Damien McKenna - Husband, father, geek.
[EMAIL PROTECTED] - http://www.mc-kenna.com/
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] multilanguage

2007-09-05 Thread mark . a . brand
oops - in previous email forgot subject.

-- Forwarded message --
From: mark. a. brand <[EMAIL PROTECTED]>
Date: 06-Sep-2007 12:50
Subject: [Radiant] (no subject)
To: radiant@lists.radiantcms.org

hi:

Wondering if radiant is suitable out of the box for a multi-language site.

cheers
mark
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] (no subject)

2007-09-05 Thread mark . a . brand
hi:

Wondering if radiant is suitable out of the box for a multi-language site.

cheers
mark
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Radiant for blogs

2007-09-05 Thread Guido Sohne
On 9/4/07, Aitor Garay-Romero <[EMAIL PROTECTED]> wrote:
> I would like to know your experiences with Radiant for a blog.  I have
> taken a look to the blog related extensions available, and my feeling is
> that they are too immature.
>
> Does anyone of you own a blog powered by Radiant?

Yes. But it's not a blog in the sense where it doesn't accept
comments. I like it that way - it's my personal space, not my reader's
personal space :-)

See http://sohne.net

-- G.
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Accessing sessions?

2007-09-05 Thread Travis Bell
Hey guys,

This has been mentioned a couple of time it seems but we are finding  
it next to impossible to create and use new  sessions with Radiant.

Is this on purpose or something that wasn't quite realized until  
after the extension abilities were released?

Thanks!

--
Travis Bell
[EMAIL PROTECTED]





___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Columnize extension

2007-09-05 Thread Mark Fischer
Has anyone written a columnize extension that will take content, and  
split it into columns in a flow in the layout?  I need to make that  
happen in an easy way for a new website, and am looking for a slick  
way to automate it so that the columns are split at the right place.
-Mark
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] I added the page_attachments plugin and the site stopped

2007-09-05 Thread Andrea Otto
Nothing... I've tried all I can do...

Nothing... It doesn't work! :(

In Italy it's 1AM :D I need to sleep (a lot!)

bYe!
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] I added the page_attachments plugin and the site stopped

2007-09-05 Thread Andrea Otto
The server is apache with fcgi for rails apps...

[EMAIL PROTECTED] [~/indiaandmore]$ ruby public/dispatch.fcgi
Loaded suite public/dispatch.fcgi
Started

Finished in 0.000223 seconds.

0 tests, 0 assertions, 0 failures, 0 errors
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] I added the page_attachments plugin and the site stopped

2007-09-05 Thread Sean Cribbs
Hmm... that /is/ strange.  You said FCGI, but are you using Apache, 
lighttpd, nginx, Litespeed?  I'm wondering if it has to do with the 
environment established by the webserver.  Also, have you tried running:

ruby public/dispatch.fcgi

If you get a 500 error and not an error stacktrace, your FCGI and 
Radiant is configured correctly for the user you are logged in as.

Sean

Andrea Otto wrote:
> I'm going to be crazy!!! :D
>
> [EMAIL PROTECTED] [~]$ irb -rubygems
> irb(main):001:0> require 'image_science'
> => true
> irb(main):002:0> ImageScience
> => ImageScience
> irb(main):003:0>
>
>
> But the application crash... it works only if I deactivate it in mySQL.
> I'd like to give you ssh access :D
>   

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] I added the page_attachments plugin and the site stopped

2007-09-05 Thread Andrea Otto
I'm going to be crazy!!! :D

[EMAIL PROTECTED] [~]$ irb -rubygems
irb(main):001:0> require 'image_science'
=> true
irb(main):002:0> ImageScience
=> ImageScience
irb(main):003:0>


But the application crash... it works only if I deactivate it in mySQL.
I'd like to give you ssh access :D
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] I added the page_attachments plugin and the site stopped

2007-09-05 Thread Sean Cribbs
Andrea,

Your production log says that essentially, the PageAttachment class 
couldn't be loaded.  This usually indicates a failure to load any 
required files within the context of page_attachment.rb.  Since there 
are no explicit requires inside the file, it must be in attachment_fu 
(the has_attachment call).  This probably means that the user your FCGI 
process runs as cannot require any of your image libraries 
(ImageScience, MiniMagick, RMagick).  In the case of ImageScience, it 
may be that it cannot write to the FCGI user's ~/.ruby_inline directory 
to compile the code.  If possible, run this as your FCGI user:

irb -rubygems
 >> require 'image_science'
 >> ImageScience

If it worked, you should get no error.

Sean

Andrea Otto wrote:
> Sean Cribbs wrote:
>   
>> Thanks, Andrea.  That email wasn't directed at you specifically, but
>> thank you.
>>
>> For #7, production.log and fastcgi.crash.log if available.  A pastie
>> would be best (http://pastie.caboo.se).
>>
>> Sean
>> 
>
> Hi Sean,
> I tried to deactivate page_attachments via MySQL. I have put "enabled" 
> to 0 in extension schema. And my app started correctly. So I went to 
> radiant extensions administration page and I tried to reactivate 
> page_attachments. After press "update" it crash :D
>
> lasts lines of production.log: http://pastie.caboo.se/94274
> lasts lines of fastcgi.crash.log: http://pastie.caboo.se/94277 (it seams 
> nothing relevant)
>   

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] I added the page_attachments plugin and the site stopped

2007-09-05 Thread Andrea Otto
Sean Cribbs wrote:
> Thanks, Andrea.  That email wasn't directed at you specifically, but
> thank you.
> 
> For #7, production.log and fastcgi.crash.log if available.  A pastie
> would be best (http://pastie.caboo.se).
> 
> Sean

Hi Sean,
I tried to deactivate page_attachments via MySQL. I have put "enabled" 
to 0 in extension schema. And my app started correctly. So I went to 
radiant extensions administration page and I tried to reactivate 
page_attachments. After press "update" it crash :D

lasts lines of production.log: http://pastie.caboo.se/94274
lasts lines of fastcgi.crash.log: http://pastie.caboo.se/94277 (it seams 
nothing relevant)
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] I added the page_attachments plugin and the site stopped

2007-09-05 Thread Sean Cribbs
Thanks, Andrea.  That email wasn't directed at you specifically, but 
thank you.

For #7, production.log and fastcgi.crash.log if available.  A pastie 
would be best (http://pastie.caboo.se).

Sean
> 1) last version of both Radiant (0.6.2) and ruby (1.8.6)
> 2) I don't froze radiant because is the last available
> 3) It's a HostingRails account... so I have a lot of Gem. All the 3 
> image manipulation required are installed.
> 4) FCGI
> 5) Sorry... I don't know :D I'm newbie linux user, how can I check it 
> via SSH?
> 6) MySQL 5
> 7) Wich? production.log?
> 8) aggregations, gallery and reorder extensions. Last is 
> page_attachments
>
> There's a unistall procedure eventually? Or I have to reinstall from a 
> clean radiantcms gem?
> thanks!
>   

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] I added the page_attachments plugin and the site stopped

2007-09-05 Thread Andrea Otto
> 1) Which version of Radiant and Ruby you are using
> 2) Whether you froze Radiant or not, and to what
> 3) Any other gems or libraries you have installed
> 4) What app-server is being used (Mongrel, FCGI, LSAPI)
> 5) What operating system you are running on (distribution, version, etc)
> 6) Which database you use
> 7) Relevant contents of a log file, or a backtrace dump
> 8) What extensions you have installed
> 9) Anything else peculiar about your environment

1) last version of both Radiant (0.6.2) and ruby (1.8.6)
2) I don't froze radiant because is the last available
3) It's a HostingRails account... so I have a lot of Gem. All the 3 
image manipulation required are installed.
4) FCGI
5) Sorry... I don't know :D I'm newbie linux user, how can I check it 
via SSH?
6) MySQL 5
7) Wich? production.log?
8) aggregations, gallery and reorder extensions. Last is 
page_attachments

There's a unistall procedure eventually? Or I have to reinstall from a 
clean radiantcms gem?
thanks!
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] import_export patches for user errors (and extensions)

2007-09-05 Thread Giovanni Intini
Since this is the second time this week someone had problems with the
import_export extension, I will post my patches.

Use them at your own risk, they have been tested only by Andrea Franz,
Will Green and me. I won't post them to the dev site until I have the
time to really look into them and clean 'em up.

Good luck,
Giovanni :)
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] I added the page_attachments plugin and the site stopped

2007-09-05 Thread Sean Cribbs
Everyone,

Please, when you post a problem with page_attachments or any other 
extension, please provide as much information as possible.  These can 
include:

1) Which version of Radiant and Ruby you are using
2) Whether you froze Radiant or not, and to what
3) Any other gems or libraries you have installed
4) What app-server is being used (Mongrel, FCGI, LSAPI)
5) What operating system you are running on (distribution, version, etc)
6) Which database you use
7) Relevant contents of a log file, or a backtrace dump
8) What extensions you have installed
9) Anything else peculiar about your environment

I can help you better if you provide this information.

Sean
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] import_export errors in importing users

2007-09-05 Thread Ramie Blatt
Hi there,

I'm trying to use import_export (a really useful extension if I could get it
to work)and have seen that a number of people have experienced an error
similar to this one, regarding importing users:

Creating Users...FAILED
rake aborted!
User expected, got Fixnum

I've read Luca Erzegovesi's post on the subject:
http://lists.radiantcms.org/pipermail/radiant/2007-June/005083.html

but his workaround doesn't work for me. Is there any plan to fix this bug or
should we look for alternatives to the import_export extension?

Thanks
Ramie


Here's the full trace after successfuly exporting the data, using the
command:

$ rake --trace production db:import TEMPLATE=export.tml

** Invoke production (first_time)
** Execute production
** Invoke environment (first_time)
** Execute environment
** Invoke db:import (first_time)
** Invoke db:remigrate (first_time)
** Invoke environment
** Execute db:remigrate
This task will destroy any data in the database. Are you sure you want to
continue? [yn] y
== AddOptimisticLocking: reverting

-- remove_column(:pages, :lock_version)
   -> 0.0029s
-- remove_column(:layouts, :lock_version)
   -> 0.0023s
-- remove_column(:snippets, :lock_version)
   -> 0.0020s
-- remove_column(:users, :lock_version)
   -> 0.0018s
== AddOptimisticLocking: reverted (0.0094s)
===

== RenameConfigDefaultPartsKey: reverting
=
== RenameConfigDefaultPartsKey: reverted (0.0081s)


== AddNotesFieldToUser: reverting
=
-- remove_column("users", "notes")
   -> 0.0016s
== AddNotesFieldToUser: reverted (0.0018s)


== CreateExtensionMeta: reverting
=
-- drop_table("extension_meta")
   -> 0.0046s
== CreateExtensionMeta: reverted (0.0048s)


== RenameTypeColumnOnPageToClassName: reverting
===
-- rename_column("pages", "class_name", "type")
   -> 0.0014s
== RenameTypeColumnOnPageToClassName: reverted (0.0016s)
==

== MergeBehaviorsAndPages: reverting
==
-- rename_column(:pages, :type, :behavior_id)
   -> 0.0013s
== MergeBehaviorsAndPages: converting class names back to behavior names
==
== MergeBehaviorsAndPages: reverted (0.0042s)
=

== AddContentTypeFieldToLayout: reverting
=
-- remove_column("layouts", "content_type")
   -> 0.0016s
== AddContentTypeFieldToLayout: reverted (0.0020s)


== AddVirtualColumnToPageAgain: reverting
=
-- remove_column("pages", "virtual")
   -> 0.0019s
== AddVirtualColumnToPageAgain: reverted (0.0021s)


== RemoveVirtualColumnFromPage: reverting
=
-- add_column("pages", "virtual", :boolean, {:default=>false, :null=>false})
   -> 0.0058s
== RemoveVirtualColumnFromPage: reverted (0.0060s)


== IntegerColumnsToBoolean: reverting
=
== IntegerColumnsToBoolean: saving User data
==
-- remove_column("users", "admin")
   -> 0.0023s
-- add_column("users", "admin", :integer, {:default=>0, :null=>false,
:limit=>1})
   -> 0.0062s
== IntegerColumnsToBoolean: restoring User data
===
== IntegerColumnsToBoolean: saving User data
==
-- remove_column("users", "developer")
   -> 0.0025s
-- add_column("users", "developer", :integer, {:default=>0,
:null=>false, :limit=>1})
   -> 0.0059s
== IntegerColumnsToBoolean: restoring User data
===
== IntegerColumnsToBoolean: reverted (0.0608s)


== AddVirtualColumnToPage: reverting
==
-- remove_column("pages", "virtual")
   -> 0.0019s
== AddVirtualColumnToPage: reverted (0.0020s)
=

== RenameFilterColumn: reverting
==
-- rename_column(:page_parts, :filter_id, :filter)
   -> 0.0013s
-- rename_column(:snippets, :filter_id, :filter)
   -> 0.0014s
== RenameFilterColumn: reverted (0.0031s)
=

== RenameBehaviorColumn: reverting

-- rename_column(:pages, :behavior_id, :behavior)
   -> 0.0013s
== RenameBehaviorColumn: reverted (0.0014s)
===

== InsertInitialData: reverting
===
== InsertInitialData: reverted (0.s)
==

== CreateRadiantTables: reverting
=
-- drop_table("pages")
   -> 0.0041s
-- drop_table("page_parts")
   -> 0.0047s
-

Re: [Radiant] Published -> Copy/Move -> Draft

2007-09-05 Thread Dominic

>
>> Is it possible to easily set copied or moved pages to have a status
>> of Draft, despite the original pages setting?
>
> Not yet...but I can add another menu to choose the new page status...
> something like:
> - The same
> - Hidden
> - ...
>

That would be fantastic. =)

> ...and if you are copying the whole tree of a page? you need to apply
> the selected status
> to all page in the tree?

Mmm, I hadn't thought about that, so whatever is easiest ;) -but that  
would make sense.


Cheers
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Page status Hidden, what does it really do?

2007-09-05 Thread Travis Bell
Hey guys,

Quick question about the "Hidden" status.

What does it do?

Cheers,

--
Travis Bell
[EMAIL PROTECTED]





___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Published -> Copy/Move -> Draft

2007-09-05 Thread Andrea Franz
> Firstly thank you to Andrea Franz for this great extension.

Thank you very much :P

> Is it possible to easily set copied or moved pages to have a status
> of Draft, despite the original pages setting?

Not yet...but I can add another menu to choose the new page status...
something like:
- The same
- Hidden
- ...

...and if you are copying the whole tree of a page? you need to apply
the selected status
to all page in the tree?
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Published -> Copy/Move -> Draft

2007-09-05 Thread Dominic
Hi all,

Firstly thank you to Andrea Franz for this great extension.

Is it possible to easily set copied or moved pages to have a status  
of Draft, despite the original pages setting?

Could I change this:

 new_page = Page.create(
   :title => new_title, :slug => new_slug, :breadcrumb =>  
new_title, :class_name => page.class_name,
   :status_id => page.status_id, :parent_id =>  
new_parent.id, :layout_id => page.layout_id
 )

  to something like:

   :status_id => 1

?

I don't have access to a test server at the mo, or much time, so  
thanks for any advice.


Cheers
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] I added the page_attachments plugin and the site stopped

2007-09-05 Thread Andrea Otto
Sean Cribbs wrote:
> Do you have any other extensions installed? Do you have ImageScience,
> MiniMagick or RMagick?
> 
> Sean

Hi Sean,
I have the same problem!

0.6.2 so I don't freeze.
page_attach is the last I added, all works great before...

My Hosting is HostingRails.
I have aggregations, gallery and reorder extensions installed.
I have all of three image-manipulation gems installed.

Any suggestion?

thanks!
Andrea
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Quotes in JavaScript string are converted to HTML entities

2007-09-05 Thread Jonathan Métillon
Aitor Garay-Romero wrote:
>I suppose that having the Javascript in a different snippet and including
> it in the original snippet won't work since the textile filter will be
> applied to all the complete snippet output.  I'm right?
>
> /AITOR
You are :-)

Jonathan
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Quotes in JavaScript string are converted to HTML entities

2007-09-05 Thread Aitor Garay-Romero
   I suppose that having the Javascript in a different snippet and including
it in the original snippet won't work since the textile filter will be
applied to all the complete snippet output.  I'm right?

/AITOR

On 9/5/07, Jonathan Métillon <[EMAIL PROTECTED]> wrote:
>
>
> >
> > Let me correct : when I posted my message about snippets, I did not
> > actually test it because I already had converted all my form to pure
> > HTML and simply deactivated Textile filter.
> >
> > But now I have another form, which is still using Textile. And I
> > included my snippet, containing the JavaScript. And the JavaScript is
> > again f***d up! So I added the ... tag and it
> > looks better, but one character remains converted: it's & (the
> > ampersand) that is converted to &
> >
> > And I really need it because I can't use the JavaScript AND operator
> > (&&)! Do you know how to stop Textile from escaping the ampersand?
> >
> > Thank you.
> >
> > Jonathan
> >
> >
> >
> > Have you tried wrapping the code in a CDATA tag?  Textile might ignore
> that.
> >
> > Sean
> Hi Sean,
>
> I just tried and the 

Re: [Radiant] Radiant for blogs

2007-09-05 Thread Mohit Sindhwani
+1: very much looking forward to it!


Cheers,
Mohit.
9/5/2007 | 4:15 PM.

Aitor Garay-Romero wrote:
>Looking forward to it!
>
>/AITOR
>
> On 9/4/07, Glenn Gillen <[EMAIL PROTECTED]> wrote:
>   
>> Aitor,
>>
>> I'm making mine live at the moment now I've finally got my hosting
>> sorted out. I've got a range of extensions I've made to make it work
>> that I'll be making available once it's all finished, hopefully by
>> the end of this week. I'll post to the list once it's done.
>>
>> Regards,
>>
>> Glenn
>>
>> On 04/09/2007, at 7:11 PM, Aitor Garay-Romero wrote:
>>
>> 
>>> Hi!,
>>>
>>>  I would like to know your experiences with Radiant for a
>>> blog.  I have
>>> taken a look to the blog related extensions available, and my
>>> feeling is
>>> that they are too immature.
>>>
>>>  Does anyone of you own a blog powered by Radiant?
>>>
>>>  /AITOR
>>> ___
>>> Radiant mailing list
>>> Post:   Radiant@lists.radiantcms.org
>>> Search: http://radiantcms.org/mailing-list/search/
>>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>>   
>> ___
>> Radiant mailing list
>> Post:   Radiant@lists.radiantcms.org
>> Search: http://radiantcms.org/mailing-list/search/
>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>
>> 
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
>
>   


___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Quotes in JavaScript string are converted to HTML entities

2007-09-05 Thread Jonathan Métillon

>
> Let me correct : when I posted my message about snippets, I did not 
> actually test it because I already had converted all my form to pure 
> HTML and simply deactivated Textile filter.
>
> But now I have another form, which is still using Textile. And I 
> included my snippet, containing the JavaScript. And the JavaScript is 
> again f***d up! So I added the ... tag and it 
> looks better, but one character remains converted: it's & (the 
> ampersand) that is converted to &
>
> And I really need it because I can't use the JavaScript AND operator 
> (&&)! Do you know how to stop Textile from escaping the ampersand?
>
> Thank you.
>
> Jonathan
>
>
>
> Have you tried wrapping the code in a CDATA tag?  Textile might ignore that.
>
> Sean
Hi Sean,

I just tried and the 

Re: [Radiant] Radiant for blogs

2007-09-05 Thread Aitor Garay-Romero
   Looking forward to it!

   /AITOR

On 9/4/07, Glenn Gillen <[EMAIL PROTECTED]> wrote:
>
> Aitor,
>
> I'm making mine live at the moment now I've finally got my hosting
> sorted out. I've got a range of extensions I've made to make it work
> that I'll be making available once it's all finished, hopefully by
> the end of this week. I'll post to the list once it's done.
>
> Regards,
>
> Glenn
>
> On 04/09/2007, at 7:11 PM, Aitor Garay-Romero wrote:
>
> > Hi!,
> >
> >  I would like to know your experiences with Radiant for a
> > blog.  I have
> > taken a look to the blog related extensions available, and my
> > feeling is
> > that they are too immature.
> >
> >  Does anyone of you own a blog powered by Radiant?
> >
> >  /AITOR
> > ___
> > Radiant mailing list
> > Post:   Radiant@lists.radiantcms.org
> > Search: http://radiantcms.org/mailing-list/search/
> > Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant