Hello group!
I am eager to try Radiant 0.8, but every time I try to set up a site with it, I have so much trouble that I revert back to 0.7.1. I have found where others are having the same problem I am having but cannot find a solution anywhere.

Can someone kindly help me figure this out? Here's a link to a post that clearly states the problem:
http://lists.radiantcms.org/pipermail/radiant/2009-July/013327.html

Thanks very much,
~ Alexis
=================
Alexis Masters, author
http://www.alexismasters.com
510 234-0027



On Aug 8, 2009, at 10:00 AM, radiant-requ...@radiantcms.org wrote:

Send Radiant mailing list submissions to
        radiant@radiantcms.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.radiantcms.org/mailman/listinfo/radiant
or, via email, send a message with subject or body 'help' to
        radiant-requ...@radiantcms.org

You can reach the person managing the list at
        radiant-ow...@radiantcms.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Radiant digest..."


Today's Topics:

  1. Re: Search, 0.8.0 and Sqlite3 (Rafael Carvalho)
  2. Re: Problem unsolved: Multiple languages for content (exitseven)
  3. Warning: already initialized constant (Pablo Barboza)
  4. route_handler extension - what can I do when there's no
     parameters? (Rafael Carvalho)
  5. Re: Problem unsolved: Multiple languages for content
     (Haselwanter Edmund)
  6. Re: Problem with language_transliterate & mailer extension
     (exitseven)


----------------------------------------------------------------------

Message: 1
Date: Fri, 7 Aug 2009 14:02:29 -0300
From: Rafael Carvalho <rafaelmcarva...@gmail.com>
Subject: Re: [Radiant] Search, 0.8.0 and Sqlite3
To: radiant@radiantcms.org
Message-ID:
        <346df7c10908071002p16f36aa3sf6038f6a70c1b...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

2009/8/7 Jim Gay <j...@saturnflyer.com>


That work is a fork of adsmart's branch which adds some migrations to
select whether or not an individual page part is searchable.
http://github.com/adsmart/radiant-search-extension/tree/master


I liked it with "searchable option", but I had some problems with this
branch. Your's works fine.
So, I prefer wait until you update your branch.

Thanks for made It.

--
Rafael Carvalho


------------------------------

Message: 2
Date: Fri, 7 Aug 2009 19:18:31 +0200
From: exitseven <exitse...@gmail.com>
Subject: Re: [Radiant] Problem unsolved: Multiple languages for
        content
To: radiant@radiantcms.org
Message-ID:
        <bb6728e00908071018u10a73b7ao5072597c9400c...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hey John,

thanks for the hint. At a first sight this seems to work pretty good.

Thanks!!
rainer

On Thu, Aug 6, 2009 at 10:15 PM, john muhl<johnm...@gmail.com> wrote:
could you just ask your snippet to give the right urls?

<r:if_url matches='^/de'>
<r:navigation urls="home: /de/home | ueberuns: /de/ueber_uns/ |
kontakt: /de/kontakt/">
</r:if_url>
<r:if_url matches='^/en'>
<r:navigation urls="home: /en/home | aboutus: /en/about_us/ | contact:
/en/contact/">
</r:if_url>

still some duplication but much less and duplicating layouts

On Thu, Aug 6, 2009 at 2:06 PM, exitseven<exitse...@gmail.com> wrote:
Hey again,

sorry, I'm still looking around for a solution. I stumbled over an old
post of someone having the same problem
(http://www.ruby-forum.com/topic/133019). He writes exactly about what
I need. But besides I am unable to install the Language Redirect
extension, it is not exactly what I need.

I have to page trees:

1) /de/page
2) /en/page

The /de-tree is working fine. The user should now be able to hit a
link "English version" on the site and should then get to the
/en-tree-contents.

So far not a problem. The user gets to for example /en/home. But from
now on he should only get contents from the /en-tree:

/en/home/
/en/about_us
/en/contact
/en/...

I use a snippet to render the menu:
<r:navigation urls="home: /de/home | ueberuns: /de/ueber_uns/ |
kontakt: /de/kontakt/">

Do I have to double every layout I have into an /en- and an
/de-version? I thought there is propably some extension that
automatically routes every /de-request to the /en-tree if the user
requested the english version of the site one time by clicking the
"English version" link.

Hopefully you understand the problem and there is an answer somewhere outside...

Best wishes,
rainer
_______________________________________________
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



------------------------------

Message: 3
Date: Fri, 7 Aug 2009 17:43:11 -0300
From: Pablo Barboza <pablo.u...@gmail.com>
Subject: [Radiant] Warning: already initialized constant
To: radiant@radiantcms.org
Message-ID:
        <960f262b0908071343h263abafap19d7fcf6fb6e7...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi everybody,
I'm new to radiant.

When I tried to access the radiant the web server (webrick, mongrel or thin)
always display this messages:

warning: already initialized constant IMAGE
warning: already initialized constant VIDEO
warning: already initialized constant AUDIO
warning: already initialized constant SWF
warning: already initialized constant PDF
warning: already initialized constant MOVIE

I have this extensions: archive, help, paperclipped, markdownfilter, ray,
rbac_base, rbac_assets, rbac_page_edit, rbac_settings, settings,
simple-password, textile-filter, tinymce-filter.

all of them installed by ray extension, unless, the extensions that already
came with radiant.

I also have this gems: cgi_multipart_eof_fix (2.5.0) columnize (0.3.1)
daemons (1.0.10) eventmachine (0.12.8) fastthread (1.0.7) gem_plugin (0.2.3)
linecache (0.43) markcatley-responds-to-parent (1.0.20090521) mongrel
(1.1.5) rack (1.0.0) rack-cache (0.5) radiant (0.8.0) rake (0.8.7) RedCloth (4.2.2) ruby-debug (0.10.3) ruby-debug-base (0.10.3) sqlite3-ruby (1.2.4)
thin (1.2.2)

And I'm running the radiant in a Fedora 10 server.

Well, I know this mime_types are set up in paperclipped, more specifically
in vendor/extensions/paperclipped/app/models/asset.rb

"class Asset < ActiveRecord::Base
 Mime::Type.register 'image/png', :image, %w[image/png image/x-png
image/jpeg image/pjpeg image/jpg image/gif]
 Mime::Type.register 'video/mpeg', :video, %w[video/mpeg video/mp4
video/ogg video/quicktime video/x-ms-wmv video/x-flv]
 Mime::Type.register 'audio/mpeg', :audio, %w[audio/mpeg audio/ogg
application/ogg audio/x-ms-wma audio/vnd.rn-realaudio audio/x-wav]
 Mime::Type.register 'application/x-shockwave-flash', :swf
 Mime::Type.register 'application/pdf', :pdf
 Mime::Type.register Mime::SWF.to_s, :movie, Mime::VIDEO.all_types"

But if I comment this section, this message is showed
"load_missing_constant': uninitialized constant Mime::IMAGE"
if I uncomment, appears the opositive "already initialized constant ".

I also tried to change the version of paperclip, using a fork by Will
Spanner (http://github.com/spanner/paperclipped/tree/master), because He has changed some files (including the asset.rb). You can see at commit "refactored mime-type registration<http://github.com/spanner/paperclipped/commit/c4f2d35a741bc2a99770be502af1146d0a7687eb >
".

Someone can help me fix this messages? Anything is helpful xD

p.s. I'm a Brazilian Guy, so... sorry about my bad english ^^,
--
-----------------------------------------
Pablo Barboza Cardoso


------------------------------

Message: 4
Date: Fri, 7 Aug 2009 22:04:34 -0300
From: Rafael Carvalho <rafaelmcarva...@gmail.com>
Subject: [Radiant] route_handler extension - what can I do when
        there's no      parameters?
To: radiant@radiantcms.org
Message-ID:
        <346df7c10908071804r28412f65od4bbc62fea727...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi,

I was searching ways to pass parameters by the url, and found this
extensios:
http://github.com/johnhampton/radiant-route-handler-extension/tree/master

It seems very useful, but I have a question... what can I do if don't pass
any parameters?
Because it returns:

You have a nil object when you didn't expect it!
You might have expected an instance of ActiveRecord::Base.
The error occurred while evaluating nil.[]

In this case, I would like to ignore tags that contains terms between _*:
and :_*
How can I proceed?

Thank you very much.


--
Rafael Carvalho


------------------------------

Message: 5
Date: Sat, 8 Aug 2009 09:36:49 +0200
From: Haselwanter Edmund <edm...@haselwanter.com>
Subject: Re: [Radiant] Problem unsolved: Multiple languages for
        content
To: radiant@radiantcms.org
Message-ID: <1b903ab4-5f1b-462d-8c5c-0997528cb...@haselwanter.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes


Hi, I have another question concerning languages:


On Thu, Aug 6, 2009 at 10:15 PM, john muhl<johnm...@gmail.com> wrote:
could you just ask your snippet to give the right urls?

<r:if_url matches='^/de'>
<r:navigation urls="home: /de/home | ueberuns: /de/ueber_uns/ |
kontakt: /de/kontakt/">
</r:if_url>
<r:if_url matches='^/en'>
<r:navigation urls="home: /en/home | aboutus: /en/about_us/ |
contact:
/en/contact/">
</r:if_url>

Is it possible to tell a page a language for rendering <r:date/> ?

I tried to set a default language for the whole rails app in
environment.rb (defaulting to :de)

but

1) It did not change the <r:date/> behaviour
2) It did break the admin area (I guess for the config option to be
able to set the published date)

cu edi

--
DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/





------------------------------

Message: 6
Date: Sat, 8 Aug 2009 18:27:33 +0200
From: exitseven <exitse...@gmail.com>
Subject: Re: [Radiant] Problem with language_transliterate & mailer
        extension
To: radiant@radiantcms.org
Message-ID:
        <bb6728e00908080927w773aab74ye17d483138740...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hey,

thanks for the hint. This is what I have now:

config.extensions = [ :reorder, :page_attachments, :mailer, :all ]

The problem is, that mailer is listed under extensions, but I can not
select the page type "mailer" from the dropdown menu on a page.
"mailer" is not listed as it should.

Any ideas?

rainer

On Fri, Aug 7, 2009 at 10:17 AM, <subsor...@gmail.com> wrote:
I'm not familiar with the extension you are having problems with but until someone else helps out have you tried specifying the extensions load order
in environment.rb?


On 7 Aug 2009, at 08:12, exitseven wrote:

Good Morning,

I have the language_transliterate extension
(git://github.com/kranthi/language_transliterate_local.git) installed
and it worked fine until I git cloned the mailer extension. Now
everything I type gets somehow translated into arabic characters. And
there is usually a dropdown called "Type in" provided by this
extension, where you can choose the language you are typing in. But
this dropdown is empty now. As soon as I move the "mailer" dir out of
the extensions dir language_transliterate is working again.

Any hint so solve this problem?

Thank you,
rainer
_______________________________________________
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

End of Radiant Digest, Vol 41, Issue 9
**************************************

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

Reply via email to