[Radiant] Default Blog Site CSS

2006-12-06 Thread Chris O'Meara
Hi everyone,

I recently installed Radiant from trunk and chose the styled blog  
database setup.  I noticed on IE 6 the sidebar gets pushed to the  
bottom of the page.  Before I dig into the CSS to fix it I thought  
I'd ask if anyone has already done the work and is willing to share.   
Anyone?

Thanks,
Chris

___
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] Translating Radiant: Looking for an Update

2006-12-06 Thread Edwin V.
John W. Long wrote:
> Sean Cribbs wrote:
>> IIRC, the translation on ruby-lang.org was done by hand and uses the 
>> language-redirect behavior to direct visitors to the correct "half" of 
>> the site.
> 
> And the admin section of the Ruby-Lang site is still in English.
> 
> Someone created a patch at one point to integrate this into Radiant, but
> I haven't done anything about it because I don't plan to support
> multiple languages for the admin until after 1.0.
> 
> --
> John Long
> http://wiseheartdesign.com

I think localization is very important if you want to use Radiant for
business. I'm really looking forward to translate Radiant in Dutch so I
can use it for the websites of my customers. The only problem is that
they need/want a Dutch admin interface.

My experience with the localization plugin of Thomas Fuchs is very good.
(http://mir.aculo.us/2005/10/03/ruby-on-rails-i18n-revisited)
Implementing this in Radiant wouldn't be that much work. Besides that,
the plugin is very simple and straightforward, which makes it perfect
for this application.

Edwin

-- 
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] quiero extender radiant

2006-12-06 Thread javier barcena

gracias... esa era la duda.
estamos en contacto.
saludos.

2006/12/6, Luis Lavena <[EMAIL PROTECTED]>:


On 12/6/06, javier barcena <[EMAIL PROTECTED]> wrote:
> Hoal gracais si todo eso lo estudie ya ..
>  ahora necesito y quiero extender radiantcms ..
>  y segun sean cribbs me dijo que ... use script/generator extension
> mi_extension
>  pero m iradiant n otiene la misma extructura que la del site de branch
>  que radiant descargo.?
>  tengo el 5.2.2
>
[snip]
>

Lo que tenes es el zip o tgz del ultimo release (0.5.2)

Lo que necesitas es bajar con svn el "mental" branch:

svn co http://dev.radiantcms.org/svn/radiant/branches/mental/radiant
radiant-mental

De ahí tendrás disponibles el extension generator, para poder crear
tus extensiones.

Saludos

--
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi
___
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] quiero extender radiant

2006-12-06 Thread Luis Lavena
On 12/6/06, javier barcena <[EMAIL PROTECTED]> wrote:
> Hoal gracais si todo eso lo estudie ya ..
>  ahora necesito y quiero extender radiantcms ..
>  y segun sean cribbs me dijo que ... use script/generator extension
> mi_extension
>  pero m iradiant n otiene la misma extructura que la del site de branch
>  que radiant descargo.?
>  tengo el 5.2.2
>
[snip]
>

Lo que tenes es el zip o tgz del ultimo release (0.5.2)

Lo que necesitas es bajar con svn el "mental" branch:

svn co http://dev.radiantcms.org/svn/radiant/branches/mental/radiant
radiant-mental

De ahí tendrás disponibles el extension generator, para poder crear
tus extensiones.

Saludos

-- 
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi
___
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] quiero extender radiant

2006-12-06 Thread javier barcena

Hoal gracais si todo eso lo estudie ya ..
ahora necesito y quiero extender radiantcms ..
y segun sean cribbs me dijo que ... use script/generator extension
mi_extension
pero m iradiant n otiene la misma extructura que la del site de branch
que radiant descargo.?
tengo el 5.2.2

saludos

El día 6/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> escribió:


Javier,

Para extender Radiant tienes que entender que es Ruby, como funciona Ruby
on Rails y algo sobre SQL. Radiant fué hecho utilizando Ruby on Rails.
Comienza por ahí. Si no sabes nada de ello pues no podrás hacer mucho.

Jose.

> hoal atodos buenos dias deseo extender radiant. y no tengo data
suficiente
> sobre este tema..
> Les agradezco  su colaboracion.
> ___
> 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] How do you confine a search to a certain page and its children?

2006-12-06 Thread Michael Moscow
Hi, I ended up removing the search behavior altogether. And used this  
little 'fake' javascript search engine I found. You have to actually  
set up an xml file for it to search. Its a pain in the rear but It  
was a last resort solution because I had invested too many hours into  
the project already. If you're interested check it out:

http://www.tipue.com/products/tipueJS/

Its open source, quick and easy to set up. (this is an non-biased  
review of it since I am in no way affiliated with them)



On Dec 6, 2006, at 10:47 AM, Todd McGrath wrote:

>> Mike Moscow wrote:
>>> I'm using the search behavior modified by john for ruby-lang. How  
>>> would I
>> go
>>> about restricting the search to just a certain page and it  
>>> children. So
>> that it
>>> could only return results from that page and its children.
>>
>> As that behavior just does a "like" query on the pages and page_parts
>> table there is not an easy way to constrain it. You may be able to
>> modify it to discard any matches that do not have a certain page in
>> their ancestors, but I don't know of any way to make this happen  
>> with sql.
>>
>
> I'm interested in restricted search results as well.  Please post  
> back to the
> list if you come up with some ideas.   I'll do the same.
>
> Todd M
>

___
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] How do you confine a search to a certain page and its children?

2006-12-06 Thread Todd McGrath
> Mike Moscow wrote:
> > I'm using the search behavior modified by john for ruby-lang. How would I
> go
> > about restricting the search to just a certain page and it children. So
> that it
> > could only return results from that page and its children.
> 
> As that behavior just does a "like" query on the pages and page_parts 
> table there is not an easy way to constrain it. You may be able to 
> modify it to discard any matches that do not have a certain page in 
> their ancestors, but I don't know of any way to make this happen with sql.
> 

I'm interested in restricted search results as well.  Please post back to the
list if you come up with some ideas.   I'll do the same.

Todd M
___
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] Use of external DB and related data

2006-12-06 Thread Silvano Stralla
Il giorno 06/dic/06, alle ore 16:28, David Peoples ha scritto:

> Yes, its possible to store the code elsewhere, such as in text  
> files on
> disk. The behavior I wrote has a tag to do that as well. I just  
> decided
> storing and editing all of it in one place (the CMS database) was the
> simplest solution.

It's just a question of taste: I don't like Radiant users can view a  
mix of Radiant tags and Ruby code when composing pages. Anyway, I  
think your solution can be very handy in many cases.

> You mentioned in your original note the need to require authentication
> for a section of your planned site. That is a feature I want too,  
> but I
> don't know how to do it yet. If you find a solution, please post it  
> back
> to this mailing list so I can see how you did it.

It could take me a while: I've just started to work on the graphic  
design of the site. It will probably go online sometimes between  
january and february: I would post my solution here when I'll have  
something working.

> David

Silvano
___
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] Use of external DB and related data

2006-12-06 Thread David Peoples
Silvano Stralla wrote:
> Hi David,
> 
> Il giorno 05/dic/06, alle ore 22:43, David Peoples ha scritto:
> 
>> ===
>> Here is a behavior to run Ruby code in a Radiant web page:
> 
> I don't think I'll have to put ruby code in page parts, but I'm happy  
> to know that I could.

Yes, its possible to store the code elsewhere, such as in text files on 
disk. The behavior I wrote has a tag to do that as well. I just decided 
storing and editing all of it in one place (the CMS database) was the 
simplest solution.

You mentioned in your original note the need to require authentication 
for a section of your planned site. That is a feature I want too, but I 
don't know how to do it yet. If you find a solution, please post it back 
to this mailing list so I can see how you did it.

David

-- 
David Peoples  [EMAIL PROTECTED]
The Touring Cyclist  http://www.touringcyclist.com
11816 St. Charles Rock Road, Bridgeton, MO 63044
tel: 314-739-4648  fax: 314-739-4972
___
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] More newbie question: easy way to link from one article to another?

2006-12-06 Thread jlopez
B.,

Chack out Sean Cribb's next and previous tags.

http://seansantry.com/projects/blogtags/

Thay are very helpful.

Jose.

> I am using (until I get my head around this better) the example site as
> a starting point.
>
> I have added a bunch of articles, and I find as I've been working that I
> very commonly would like to link from one article back or forwards to
> another.
>
> Is there any simpler way than the using a URL along the lines of
> /articles/year/month/date/title format, which is a bit to keep track of?
>
> Thanks in advance.
>
> B.
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> ___
> 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] quiero extender radiant

2006-12-06 Thread jlopez
Javier,

Para extender Radiant tienes que entender que es Ruby, como funciona Ruby
on Rails y algo sobre SQL. Radiant fué hecho utilizando Ruby on Rails.
Comienza por ahí. Si no sabes nada de ello pues no podrás hacer mucho.

Jose.

> hoal atodos buenos dias deseo extender radiant. y no tengo data suficiente
> sobre este tema..
> Les agradezco  su colaboracion.
> ___
> 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] Using the Mailer Behaviour for Radiant on Textdrive

2006-12-06 Thread Sean Cribbs
Peter,

That's a wonderful How-To!  Could you add it to the Wiki 
(http://dev.radiantcms.org/radiant/wiki/HowTos)?

Sean Cribbs
seancribbs.com

Peter Burgess wrote:
> Hi Everyone,
>
>
> I was having a problem getting the very cool Mailer Behavior to work  
> on Radiant CMS installation on my Textdrive shared hosting account. I  
> talked to John and he was very kind to help me get this working. So I  
> am going to repay that kindness and send directions of how to  
> accomplish at the request of John to the mailing list. So here it goes:
>
> 1. Install Radiant. (Do a search on how to do this for TextDrive.  
> There are very good instructions on how to do this)
>
> 2. Using a terminal app, go to the Radiant root address. Something  
> like: domains/domain-name.com/web/radiant
>
> 3. Now you will want to install the behavior. Type in the terminal:  
> script/plugin install http://mattmccray.com/svn/rails/plugins/ 
> radiant_mailer_behavior/
>
> 4. After the install is done you need to insert the behavior into the  
> environment.rb by typing this in the terminal: sed -i ''  
> 's/, :action_mailer//' config/environment.rb
>
> 5. Now go to your favorite ftp program and locate your  
> environment.rb, which will be located in the config directory in the  
> root of your radiant install. Edit the environment.rb file and add  
> this to the bottom of it (select what is between the #'s):
>
> #
>
> ActionMailer::Base.server_settings = {
>:address  => "mydomain.com",
>:port  => 25,
>:domain  => 'mydomain.com',
>:user_name  => "username",
>:password  => '',
>:authentication  => :login
> }
>
> #
>
> Change "mydomain", "username", and "" to reflect your server  
> settings. Keep the quotes. The mydomain.com would be the domain you  
> installed Radiant on and the username and password are your Textdrive  
> settings.
>
> Save the environment.rb file.
>
> 6. Now since you edited the environment.rb file you will need to  
> restart your rails app(which of course is Radiant)
>
> 7. Open your browser and point it to your site's Radiant login. (ie:  
> mydomain.com/admin) and then login
>
> 8. Create a page named: Contact. Once you are in the Contact page,  
> create a part and name it config. Add this in the config part (select  
> what is between the #'s):
>
> ##
>
> mailers:
>contact:
>  subject: From Contact Form
>  from: [EMAIL PROTECTED]
>  redirect_to: /contact/thank-you/
>  recipients:
>- [EMAIL PROTECTED]
>
> ##
>
> Change [EMAIL PROTECTED] to your email address.
>
> 9. Now click on the body tab while you are still in the Contact page  
> and add this code to it (select what is between the #'s):
>
> ##
>
> 
>
>   Name:
>  
>   Message:
>  
>   
> 
>
> ###
>
>
> Select "Mailer" from the behavior list. Click "Create Page"
>
> 10. Now add a child page to Contact and name it "thank-you". This  
> will be the page your mailer form will redirect when it is submitted.  
> NOTE: you can name it whatever you want. Just make sure you update it  
> in the config part of the Contact page.
>
> 11. And that should do it! Point your browser to the Contact page and  
> test your form.
>
> I hope everything works for you and that I explained it to the point  
> it was easy and understandable. I'm not a programmer so I am not 100%  
> sure of what some of this coding even means except for the obvious.  
> So I won't be much help for trouble-shooting. If you do have trouble  
> though, ask around the forums. There are many people out there  
> willing to help.
>
>
> ___
> 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] doesnt' work with mine

2006-12-06 Thread jlopez
Hi John,

I don't have the mailer working. Can't figure it out yet. What I've done
is 1) Installesd php form generator http://phpformgen.sourceforge.net/
2) Generated my contact form.
3) Embedded the html form on a Radiant page.

I'll use this solution on the meantime while I get the mailer working.

Jose.

> Jose Jose wrote:
>> Hi John,
>>
>> I had the same problem. I tried to update my page_context.rb manually
>> and
>> it didn't work. It was only when I simply replaced my page_context.rb
>> with
>> the one posted at the radiant trunk that I got it right.
>>
>> http://dev.radiantcms.org/radiant/browser/trunk/radiant/app/models/page_context.rb
>>
>> Jose.
>
>
>
> Thanks Jose, for the tips. Now it works with mine too after replacing
> the file, and now stuck up with the contact form in radiant. i dont know
> how to configure the mailer behavior. Any help...
>
> rgds
> john aneston
>
> --
> 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 mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Use of external DB and related data

2006-12-06 Thread Silvano Stralla
Hi David,

Il giorno 05/dic/06, alle ore 22:43, David Peoples ha scritto:

> I've done a similar project, displaying live data from an external
> database in a site managed by Radiant. Here are some details.  
> (Apologies
> in advance to all the Rails/Ruby gurus for any gaffes in this code.)

Knowing that it's possible (and it seems easy) is a big thing. :-)

> ===
> Here is a behavior to run Ruby code in a Radiant web page:

I don't think I'll have to put ruby code in page parts, but I'm happy  
to know that I could.

> Your models need a different database connection from the one set  
> up by
> Radiant, without disturbing the Radiant connection. There are various
> ways to do this, but here is the method I'm using. Set up an
> intermediate class that descends from ActiveRecord::Base, like so:
>
>class Mybase < ActiveRecord::Base
>  self.abstract_class = true # <-- Important. Done so
>  # ActiveRecord doesn't think descendants of Mybase are
>  # doing single table inheritance.
>end
>
>Mybase.establish_connection(
>  # put new connection info here ...
>)
>
> Then make all your models descend from Mybase.

That's similar to what I had in mind.

Thank you for your useful information,
Silvano
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant