[Radiant] Which Gallery Extension to use?

2010-05-24 Thread Horst Rischbode

Hello,

I'm still on Radiant 0.8.1 and want to add the gallery extension.

Under http://github.com/pilu/radiant-gallery# I see two branches (0.7.1 
& master). But this versions are not maintained any more. Under 
http://github.com/hairballopolis/radiant-gallery# there are the two 
branches 0.9 & master. Which one fits my version of Radiant?


Regards
Horst


Re: [Radiant] Which Gallery Extension to use? (solved)

2010-05-24 Thread Horst Rischbode
Sorry for writing this before digging deeper into it. I've found the 
right version and all things are up and running.


Horst Rischbode schrieb:

Hello,

I'm still on Radiant 0.8.1 and want to add the gallery extension.

Under http://github.com/pilu/radiant-gallery# I see two branches 
(0.7.1 & master). But this versions are not maintained any more. Under 
http://github.com/hairballopolis/radiant-gallery# there are the two 
branches 0.9 & master. Which one fits my version of Radiant?


Regards
Horst





[Radiant] How to use 0.8.1 and 0.9 on the same machine?

2010-07-10 Thread Horst Rischbode

Hello,

on my development machine, I'm on 0.8.1. Now I want to switch to 0.9. 
But I still need to be able, to support the old version.


How to install 0.9 together with 0.8.1?

Any help would be appreciated!

Horst


Re: [Radiant] How to use 0.8.1 and 0.9 on the same machine?

2010-07-10 Thread Horst Rischbode

Hi Joel,

RVM looks really good! I will give it a try.

Thanks a lot!
Horst

Joel Oliveira schrieb:
The most straightfoward way is to either freeze to edge (see  
http://radiantcms.org/download/) or install RVM -> install your 
preferred flavor of ruby, and create a gemset for your project(s) or 
differing versions of Radiant.


RVM - http://rvm.beginrescueend.com/

- Joel

On Sat, Jul 10, 2010 at 11:54 AM, Horst Rischbode <mailto:ho...@horibo.de>> wrote:


Hello,

on my development machine, I'm on 0.8.1. Now I want to switch to
0.9. But I still need to be able, to support the old version.

How to install 0.9 together with 0.8.1?

Any help would be appreciated!

Horst






[Radiant] Help Extensions fails

2010-07-10 Thread Horst Rischbode

Hi,

I'm now on 0.9.1 and installed the help extension from 
http://github.com/saturnflyer/radiant-help-extension


All tabs work fine. But if I click the help/extensions tab, I get an 
error 404, page not found (|/admin/help/extension)|


Any ideas?

Horst




[Radiant] Problem with Gallery Extension

2010-07-17 Thread Horst Rischbode

Hi,

downloaded and installed the master at 
http://github.com/hairballopolis/radiant-gallery. I've taken simple 
carbon as layout. Created a test page named "Pictures" as gallery. 
Created a first gallery named "Testgallery".


Given that, the tag  inside the page /pictures 
points to /pictures/testgallery as expected.


The tag  inside the testgallery points to
/testgallery/1.jpg/show

instead of
/pictures/testgallery/1.jpg/show

Any ideas, what I am doing wrong?

Thanks for any advice!

Horst


[Radiant] paperclipped & windows?

2010-07-20 Thread Horst Rischbode

Hi,

I'm on a Windows developer machine and trying to get started with 
paperclipped extension. Installation works fine. But upload of imags 
doesn't start the generation of thumbnails, etc.


ImageMagick is installed and in the path. But log says, that 
paperclipped can't find it. Tried to point to ImageMagick via the 
Radiant::Config settings (I use the settings extension).


But the slash/backslash problem hits me. If - in my settings - I declare 
the path as:

c:\program files\imagemagick-6.4.6-q16

the identify command is called like this:
c:\program files\imagemagick-6.4.6-q16/identify

If I declare the path unix-like, the call comes with forward slashes for 
the whole path.


Any ideas, how to avoid this? Without changing to Unix/Mac ;-)

I'm on Radiant 0.9.1 with the following extensions installed:
- settings
- gallery (using mini_magick processor)
- blog_tags
- comments
- ratings

Thanks for any advice

Horst


Re: [Radiant] paperclipped & windows?

2010-07-21 Thread Horst Rischbode

Hi,

this doesn't seem to be a windows issue. Here is the log entry. This 
comes up each time, a thumbnail or icon image should be built.


[paperclip] identify '-format' '%wx%h' 
'C:/DOCUME~1/horibo/LOCALS~1/Temp/stream,3296,0.jpg[0]' 2>NUL
[paperclip] An error was received while processing: 
#C:/DOCUME~1/horibo/LOCALS~1/Temp/stream,3296,0.jpg is not recognized by 
the 'identify' command.>


Any help would be appreciated! Thanks!

Horst

Horst Rischbode schrieb:

Hi,

I'm on a Windows developer machine and trying to get started with 
paperclipped extension. Installation works fine. But upload of imags 
doesn't start the generation of thumbnails, etc.


ImageMagick is installed and in the path. But log says, that 
paperclipped can't find it. Tried to point to ImageMagick via the 
Radiant::Config settings (I use the settings extension).


But the slash/backslash problem hits me. If - in my settings - I 
declare the path as:

c:\program files\imagemagick-6.4.6-q16

the identify command is called like this:
c:\program files\imagemagick-6.4.6-q16/identify

If I declare the path unix-like, the call comes with forward slashes 
for the whole path.


Any ideas, how to avoid this? Without changing to Unix/Mac ;-)

I'm on Radiant 0.9.1 with the following extensions installed:
- settings
- gallery (using mini_magick processor)
- blog_tags
- comments
- ratings

Thanks for any advice

Horst





Re: [Radiant] paperclipped & windows?

2010-07-21 Thread Horst Rischbode

Jim, thanks for pointing at the group. I will try it.

Jim Gay schrieb:

On Wed, Jul 21, 2010 at 4:09 PM, Horst Rischbode  wrote:
  

Hi,

this doesn't seem to be a windows issue. Here is the log entry. This comes
up each time, a thumbnail or icon image should be built.

[paperclip] identify '-format' '%wx%h'
'C:/DOCUME~1/horibo/LOCALS~1/Temp/stream,3296,0.jpg[0]' 2>NUL
[paperclip] An error was received while processing:
#

Any help would be appreciated! Thanks!



It looks like this is an error from Paperclip.
I don't know enough about it and windows to give you any help. You
might want to try the paperclip mailing list
http://groups.google.com/group/paperclip-plugin

  

Horst

Horst Rischbode schrieb:


Hi,

I'm on a Windows developer machine and trying to get started with
paperclipped extension. Installation works fine. But upload of imags doesn't
start the generation of thumbnails, etc.

ImageMagick is installed and in the path. But log says, that paperclipped
can't find it. Tried to point to ImageMagick via the Radiant::Config
settings (I use the settings extension).

But the slash/backslash problem hits me. If - in my settings - I declare
the path as:
c:\program files\imagemagick-6.4.6-q16

the identify command is called like this:
c:\program files\imagemagick-6.4.6-q16/identify

If I declare the path unix-like, the call comes with forward slashes for
the whole path.

Any ideas, how to avoid this? Without changing to Unix/Mac ;-)

I'm on Radiant 0.9.1 with the following extensions installed:
- settings
- gallery (using mini_magick processor)
- blog_tags
- comments
- ratings

Thanks for any advice

Horst

  





  




Re: [Radiant] paperclipped & windows?

2010-07-21 Thread Horst Rischbode

Hi,

installed a completely new instance of Radiant (0.9.1) and took "4. 
Styled Blog Layout" during installation.


This creates - on the /articles page - 2 Archive by Month Links:
July 2010
June 2006

June 2006 works fine, July 2010 fails with Error Message:

StandardTags::TagError in SiteController#show_page
Recursion error: already rendering the `body' part.

Parameters:

{"url"=>["articles",
"2010",
"07"]}


Any ideas, what might be wrong?

Horst


Re: [Radiant] paperclipped & windows?

2010-07-21 Thread Horst Rischbode

William Ross schrieb:

On 21 Jul 2010, at 20:18, Jim Gay wrote:

  

On Wed, Jul 21, 2010 at 4:09 PM, Horst Rischbode  wrote:


Hi,

this doesn't seem to be a windows issue. Here is the log entry. This comes
up each time, a thumbnail or icon image should be built.

[paperclip] identify '-format' '%wx%h'
'C:/DOCUME~1/horibo/LOCALS~1/Temp/stream,3296,0.jpg[0]' 2>NUL
[paperclip] An error was received while processing:
#

Any help would be appreciated! Thanks!
  

It looks like this is an error from Paperclip.
I don't know enough about it and windows to give you any help. You
might want to try the paperclip mailing list
http://groups.google.com/group/paperclip-plugin




That error usually means that imagemagick can't be found, which again is 
usually because only a restricted path is available to your application. In 
that case the easy fix is to set Paperclip.options[:command_path] in an 
initializer. You get the same thing under passenger, and for that I use this:

	Paperclip.options[:command_path] = IMAGE_MAGICK_PATH 


So that IMAGE_MAGICK_PATH can be set differently for each environment.

will
  
Will, thanks for that. The call of 'identify' changes and includes the 
correct path. The error messages remain the same. Trying to call 
identify from the command line succeeds. Call with my test image 
delivers the expected results... Strange...


Horst



[Radiant] Gallery Extension & EXIF Data?

2010-09-01 Thread Horst Rischbode

 Hi,

I'm on Radiant 0.9.1 and use the actual master of the gallery extension. 
I want to display the EXIF Data (model, aperture,...) of my fotos. I can 
see, that the exif data is loaded within the extension. Is it accessible 
through a radius tag?


Thanks for any advice!

Horst


[Radiant] How to use the toggle effect on pages?

2010-09-10 Thread Horst Rischbode

 Hi,

I want to show (and be able to hide it again) a div on user's demand. I 
want to appear it similar to the 'less' & 'more' attributes behaviour of 
the edit page view.


I'm not familar with haml, so I don't understand, how to get this 
working on my gallery pages. Please be patient...


Can anybody point out, which JS libraries to include and how to build up 
a simple example with html?


Thanks for any advice!

Horst



Re: [Radiant] How to use the toggle effect on pages?

2010-09-10 Thread Horst Rischbode

 Wes, Thanks a lot! That's it what I was looking for!

Am 10.09.2010 20:55, schrieb Wes Gamble:
You may want to check out jQuery, which allows you to do effects like 
this.


See: http://api.jquery.com/category/effects/ for the jQuery API 
documentation on the show() and hide() methods.

Download: http://docs.jquery.com/Downloading_jQuery
Tutorials: http://docs.jquery.com/Tutorials

Given:


 This content will be shown/hidden.


You would use something like

$('.x').show() to show it and $('x').hide() to hide it.

Good luck,
Wes

On 9/10/10 3:32 PM, Horst Rischbode wrote:

 Hi,

I want to show (and be able to hide it again) a div on user's demand. 
I want to appear it similar to the 'less' & 'more' attributes 
behaviour of the edit page view.


I'm not familar with haml, so I don't understand, how to get this 
working on my gallery pages. Please be patient...


Can anybody point out, which JS libraries to include and how to build 
up a simple example with html?


Thanks for any advice!

Horst






[Radiant] undefined method when calling archive month index

2010-09-20 Thread Horst Rischbode

 Hi,
I'm on 0.9.1 and will use radiant as a blog. I've created an Archive 
Month Index and want to use it like this:





">format="%B %Y" />





The links are generated correctly but when I click on any of them, I get 
an error:


NoMethodError in SiteController#show_page
undefined method `>' for nil:NilClass
...
Parameters:
{"url"=>["articles",
"2010",
"09"]}

What am I doing wrong? Any help would be appriciated!

Best Regards
Horst


Re: [Radiant] undefined method when calling archive month index

2010-09-20 Thread Horst Rischbode

 Hi Jim,

installed extensions:

blog_tags
paperclipped
gallery
comments
ratings
settings

I've started with the styled blog layout. I'm building my own layout on 
top of that. All extensions work as expected.


The structure for articles, month index, etc. was not changed. The 
monhly index pages are called from /articles/.


This is part of the trace:

|D:/projects/1009_horibo_production/vendor/radiant/vendor/rails/activesupport/lib/active_support/whiny_nil.rb:52:in
 `method_missing'
D:/projects/1009_horibo_production/vendor/extensions/blog_tags/lib/blog_tags.rb:38:in
 `tag:previous'
D:/projects/1009_horibo_production/vendor/radiant/lib/radiant/taggable.rb:33:in 
`send'
D:/projects/1009_horibo_production/vendor/radiant/lib/radiant/taggable.rb:33:in 
`render_tag'
D:/projects/1009_horibo_production/vendor/radiant/app/models/page_context.rb:10:in
 `initialize'
D:/projects/1009_horibo_production/vendor/radiant/vendor/radius/lib/radius/context.rb:62:in
 `call'
D:/projects/1009_horibo_production/vendor/radiant/vendor/radius/lib/radius/context.rb:62:in
 `render_tag'
D:/projects/1009_horibo_production/vendor/radiant/vendor/radius/lib/radius/context.rb:93:in
 `stack'
D:/projects/1009_horibo_production/vendor/radiant/vendor/radius/lib/radius/context.rb:61:in
 `render_tag'
...

As You can see, the previous tag of blog_tags extension is called (which seems 
to be wrong) and raises this error. This is how I have included
the blog tags in my layout:


   
  
«   
  »
   


It seems, like the regex matches, even if the url doesn't contain 3 numbers for 
year, month and date...

Any idea?


|




Am 20.09.2010 20:48, schrieb Jim Gay:

On Mon, Sep 20, 2010 at 4:40 PM, Horst Rischbode  wrote:

  Hi,
I'm on 0.9.1 and will use radiant as a blog. I've created an Archive Month
Index and want to use it like this:




">




The links are generated correctly but when I click on any of them, I get an
error:

NoMethodError in SiteController#show_page
undefined method `>' for nil:NilClass
...
Parameters:
{"url"=>["articles",
"2010",
"09"]}

What am I doing wrong? Any help would be appriciated!

Best Regards
Horst


Can you provide more details about the error? And more details about
your extensions, and radius tags used.







[Radiant] regexpr problem

2010-09-21 Thread Horst Rischbode

 Hi,

this is really strange. In my pages, I have the following code:


# do something brilliant


This regexpr matches to:
/articles/2010/08/
/articles/2010/08/07/xyz

All tests with several online regexpr matchers match the second url 
only, which I would expect for my code, too.


I'm on Windows with MySQL and Ruby 1.8.6 with Radiant 0.9.1 installed.

Any idea, what's going wrong?

Horst


Re: [Radiant] regexpr problem

2010-09-26 Thread Horst Rischbode

 Hi Jim,

I use this construction within my layout to check, if I am on an article 
page or some kind of index pages. Some things only should be shown on 
single article pages (rating, next/previous page,). This is the way, 
which is given by the blog_tags extension.


Is there any other way, to check, if I am on a single article page?

Thanks for any advice!

Horst

Am 26.09.2010 19:15, schrieb Jim Gay:

On Tue, Sep 21, 2010 at 4:50 PM, Horst Rischbode  wrote:

  Hi,

this is really strange. In my pages, I have the following code:


# do something brilliant


This regexpr matches to:
/articles/2010/08/
/articles/2010/08/07/xyz

All tests with several online regexpr matchers match the second url only,
which I would expect for my code, too.

I'm on Windows with MySQL and Ruby 1.8.6 with Radiant 0.9.1 installed.

Any idea, what's going wrong?

Horst


Here's the problem with if_url: it uses this to check the url

  unless tag.locals.page.url.match(regexp).nil?

Notice that it's checking the page.url and not the request path. That
should probably be changed (and well-tested patches are always
welcome).

So it's not checking the actual request, it's checking the current
page's url attribute. I'm just quickly looking at this but I would
think it wouldn't match either of those paths.

What are you trying to achieve? And are you using the
ArchiveMonthIndexPage type for a separate page or just checking the
url on individual articles?






Re: [Radiant] regexpr problem

2010-09-27 Thread Horst Rischbode

 Hi,

I've found a workaround in the blog layouts which come with radiant:

matches="-archives/$">




These checks together match single articles only. But I really would 
prefer the check of r:if_url against the request path and not against 
the page.url attribute.


Best Regards
Horst

Am 26.09.2010 20:40, schrieb Horst Rischbode:

 Hi Jim,

I use this construction within my layout to check, if I am on an 
article page or some kind of index pages. Some things only should be 
shown on single article pages (rating, next/previous page,). This 
is the way, which is given by the blog_tags extension.


Is there any other way, to check, if I am on a single article page?

Thanks for any advice!

Horst

Am 26.09.2010 19:15, schrieb Jim Gay:
On Tue, Sep 21, 2010 at 4:50 PM, Horst Rischbode  
wrote:

  Hi,

this is really strange. In my pages, I have the following code:


# do something brilliant


This regexpr matches to:
/articles/2010/08/
/articles/2010/08/07/xyz

All tests with several online regexpr matchers match the second url 
only,

which I would expect for my code, too.

I'm on Windows with MySQL and Ruby 1.8.6 with Radiant 0.9.1 installed.

Any idea, what's going wrong?

Horst


Here's the problem with if_url: it uses this to check the url

  unless tag.locals.page.url.match(regexp).nil?

Notice that it's checking the page.url and not the request path. That
should probably be changed (and well-tested patches are always
welcome).

So it's not checking the actual request, it's checking the current
page's url attribute. I'm just quickly looking at this but I would
think it wouldn't match either of those paths.

What are you trying to achieve? And are you using the
ArchiveMonthIndexPage type for a separate page or just checking the
url on individual articles?









[Radiant] Solved: Windows & paperclipped extension

2010-10-23 Thread Horst Rischbode

Hi,

after long investigation, I now have found the solution to get running 
the paperclipped extension on my Windows developer machine. For those of 
You, who are in the same situation (developing under Windows, deploying 
to *ix) this may be helpful. I had to fix all 3 errors to get it working.


All errors have the same impact: Paperclipped can't find ImageMagick 
(even if it is installed in Your PATH) and brings up error messages in 
log while uploading images like:


[paperclip] identify '-format' '%wx%h' 
'C:/DOCUME~1/horibo/LOCALS~1/Temp/stream,3296,0.jpg[0]' 2>NUL
[paperclip] An error was received while processing: 
#C:/DOCUME~1/horibo/LOCALS~1/Temp/stream,3296,0.jpg is not recognized by 
the 'identify' command.>


1. Install ImageMagick in a path without spaces
For some reason, paperclip won't find it, if the path to ImageMagick 
contains spaces (e.g. "C:\Program Files\ImageMagick\"). Don't forget to 
update Your PATH.


2. Give paperclip the path to ImageMagick
Even if in Your PATH, paperclip won't find ImageMagick. I put the 
following code in my /config/environments/development.rb:

Paperclip.options[:command_path] = "C:/Programs/ImageMagick-6.4.6-Q16/"

3. Avoid calling ImageMagick with single quotes
This is a long known issue with the paperclip plugin, which still isn't 
fixed in the master tree. The bug fix still works on *ix systems.


Apply the following patch to 
/vendor/extensions/paperclipped/vendor/plugins/paperclip/lib/paperclip.rb at 
line 133:


- option.split("'").map{|m| "'#{m}'" }.join("\\'")
+ option.split("'").map{|m| "\"#{m}\""}.join("\\'")

Enjoy!

Horst



[Radiant] paperclipped & DRY

2010-10-23 Thread Horst Rischbode

Hi,

I want to use this code within a page several times with different 
orientations (image_left/image_right) and different ids:







I tried to be DRY by using the parameterized_snippets extension and put 
this code into a snippet:


">
" size="normal" />
" />
" 
/>



and call it from the page like:



But this doesn't work. The ID and orientation is resolved correctly. But 
the r:assets tags are not resolved and appear as plain text in the page.


Is it possible to use the attached assets of a page within a snippet?

If not, is there any other way to avoid repeating the same code several 
times?


Best Regards
Horst



Re: [Radiant] paperclipped & DRY

2010-10-24 Thread Horst Rischbode
Thanks Steven for pointing at the Backdoor extension. Seems to do, what 
I am looking for.


@Wes: I've tried to figure out, where the radius tags of paperclipped 
are declared. But I couldn't find the right place. And Backdoor seems to 
give back the flexibility, I've missed so far.


Best Regards
Horst

Am 24.10.2010 04:29, schrieb Steven Southard:

Hold up!  If you add the Backdoor extension you can use this:


  @parent_url = ''
  ""


...


On Oct 23, 2010, at 2:38 PM, Wes Gamble wrote:


From "Basic Usage" at http://github.com/radiant/radiant/wiki/Radius-Tags

"As the || example above shows, it is possible to nest 
Radius tags *within* other Radius tags, so long as they are separate 
elements. However, *using a Radius tag as the the attribute of 
another Radius tag is /NOT ALLOWED/*. For example:


|...
^ DON'T DO THIS, it breaks! ^|

Now you’re probably wondering, “How can I use variables or constants 
within the attributes of a Radius tag?” The answer is that you can’t."


What you could do is write a custom tag to output this entire set of 
HTML - see 
http://github.com/radiant/radiant/wiki/Adding-Custom-Radius-Tags for 
more details.


Wes


On 10/23/10 3:22 PM, Horst Rischbode wrote:

Hi,

I want to use this code within a page several times with different 
orientations (image_left/image_right) and different ids:







I tried to be DRY by using the parameterized_snippets extension and 
put this code into a snippet:


">
" size="normal" />
" 
/>
/>" />



and call it from the page like:



But this doesn't work. The ID and orientation is resolved correctly. 
But the r:assets tags are not resolved and appear as plain text in 
the page.


Is it possible to use the attached assets of a page within a snippet?

If not, is there any other way to avoid repeating the same code 
several times?


Best Regards
Horst








Re: [Radiant] paperclipped & DRY

2010-10-25 Thread Horst Rischbode

Hi,
Backdoor doesn't seem to be the solution :-(

I want the id of the following statement to be variable:


So I have to use something like that:




It seems, that first the radius tags are evaluated. Than, I have the 
same problem like before: nested tags, which are not allowed (and possible).


Horst


Am 24.10.2010 20:38, schrieb Horst Rischbode:
Thanks Steven for pointing at the Backdoor extension. Seems to do, 
what I am looking for.


@Wes: I've tried to figure out, where the radius tags of paperclipped 
are declared. But I couldn't find the right place. And Backdoor seems 
to give back the flexibility, I've missed so far.


Best Regards
Horst

Am 24.10.2010 04:29, schrieb Steven Southard:

Hold up!  If you add the Backdoor extension you can use this:


  @parent_url = ''
  ""


...


On Oct 23, 2010, at 2:38 PM, Wes Gamble wrote:


From "Basic Usage" at http://github.com/radiant/radiant/wiki/Radius-Tags

"As the || example above shows, it is possible to nest 
Radius tags *within* other Radius tags, so long as they are separate 
elements. However, *using a Radius tag as the the attribute of 
another Radius tag is /NOT ALLOWED/*. For example:


|...
^ DON'T DO THIS, it breaks! ^|

Now you’re probably wondering, “How can I use variables or constants 
within the attributes of a Radius tag?” The answer is that you can’t."


What you could do is write a custom tag to output this entire set of 
HTML - see 
http://github.com/radiant/radiant/wiki/Adding-Custom-Radius-Tags for 
more details.


Wes


On 10/23/10 3:22 PM, Horst Rischbode wrote:

Hi,

I want to use this code within a page several times with different 
orientations (image_left/image_right) and different ids:







I tried to be DRY by using the parameterized_snippets extension and 
put this code into a snippet:


">
" size="normal" />
" 
/>
/>" />



and call it from the page like:



But this doesn't work. The ID and orientation is resolved 
correctly. But the r:assets tags are not resolved and appear as 
plain text in the page.


Is it possible to use the attached assets of a page within a snippet?

If not, is there any other way to avoid repeating the same code 
several times?


Best Regards
Horst










[Radiant] Ratings Extension uninitialized constant error

2011-01-19 Thread Horst Rischbode

Hi,

trying to install saturnflyers version of ratings extension. I'm on 
Radiant 0.9.1. The form is displayed, but if I push any of the buttons, 
I get an uninitialized constant error:


--
NameError in RatingsController#create

uninitialized constant RatingsExtension::ResponseCache
--

The error is generated while excuting line 22 of ratings_extension.rb in 
vendor/extensions/ratings in 'add_rating'.


Any advice would be appreciated!

Horst



[Radiant] Error installing rc2

2011-06-26 Thread Horst Rischbode

Hi,

I'm on Ubuntu with Ruby 1.9.2 and installed Radiant 1.0 rc2 without 
errors. Installation of a new instance succeeds as well.


If I do

rake development/production db:bootstrap

the migrations seem to work (no error messages at console or in log) but 
the behaviour of template selection is strange:


Select a database template:
[1-0]: 1
You must choose one of []

I use sqlite3. The database files are generated and seem to contain all 
the tables. Can anyone point me in the right direction?


Horst



[Radiant] problems with gallery extension and radiant 1.0.1

2012-08-05 Thread Horst Rischbode

Hello,

I made a fresh install of Radiant 1.0.1 and added the Gallery Extension 
(https://github.com/hairballopolis/radiant-gallery). Gallery Extension 
seems to conflict with the built in asset manager. Plugin attachment_fu 
must be in plugin-directory for Gallery Extension.


Here is what I get when I try to create an asset from admin interface:

/!\ FAILSAFE /!\  2012-08-05 15:37:30 +0200
  Status: 500 Internal Server Error
  can't convert nil into Integer

/home/horibo/projects/horibo_neu/vendor/plugins/attachment_fu/init.rb:7:in 
`sprintf'

/home/horibo/projects/horibo_neu/vendor/plugins/attachment_fu/init.rb:7:in 
`make_tmpname'

/home/horibo/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/tmpdir.rb:132:in 
`create'

/home/horibo/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/tempfile.rb:134:in 
`initialize'

/home/horibo/.rvm/gems/ruby-1.9.2-p290@radiant10/gems/rack-1.1.3/lib/rack/utils.rb:547:in 
`new'

/home/horibo/.rvm/gems/ruby-1.9.2-p290@radiant10/gems/rack-1.1.3/lib/rack/utils.rb:547:in 
`block in parse_multipart'

/home/horibo/.rvm/gems/ruby-1.9.2-p290@radiant10/gems/rack-1.1.3/lib/rack/utils.rb:525:in 
`loop'

/home/horibo/.rvm/gems/ruby-1.9.2-p290@radiant10/gems/rack-1.1.3/lib/rack/utils.rb:525:in 
`parse_multipart'

/home/horibo/.rvm/gems/ruby-1.9.2-p290@radiant10/gems/rack-1.1.3/lib/rack/request.rb:268:in 
`parse_multipart'

/home/horibo/.rvm/gems/ruby-1.9.2-p290@radiant10/gems/rack-1.1.3/lib/rack/request.rb:146:in 
`POST'

[...]

As far as I understand the asset manager uses Paperclipped. But it seems 
to call attachment_fu?


Did anybody succeed in installing Gallery Extension on Radiant 1.0.1? 
Any hints what I am doing wrong?


Thanks in advance
Horst


Re: [Radiant] problems with gallery extension and radiant 1.0.1

2012-09-04 Thread Horst Rischbode

Jim, thanks for your reply!

Gallery Extension uses plugin attachment_fu which runs into naming 
conflicts with paperclip. I've started to work on switching to paperclip 
for the extension. But still a lot of work to do... And still not sure, 
if it is easier and cleaner to build a new extension, which uses 
something like Juicebox as baseline...


Good news to hear about Radiant 1.1 and its new features! Thanks for 
your work!


Horst

Am 29.08.2012 18:04, schrieb Jim Gay:

I don't have any experience with the Gallery extension.

Does it expect that an asset manager will exist or does it do that itself?
You can tell radiant 1.0 to ignore the clipped extension by adding it
to config.ignored_extensions
Radiant 1.1 removes extensions from being loaded by default and
requires that you explicitly add them yourself.

On Sun, Aug 5, 2012 at 12:07 PM, Horst Rischbode  wrote:

Hello,

I made a fresh install of Radiant 1.0.1 and added the Gallery Extension
(https://github.com/hairballopolis/radiant-gallery). Gallery Extension seems
to conflict with the built in asset manager. Plugin attachment_fu must be in
plugin-directory for Gallery Extension.

Here is what I get when I try to create an asset from admin interface:

/!\ FAILSAFE /!\  2012-08-05 15:37:30 +0200
   Status: 500 Internal Server Error
   can't convert nil into Integer

/home/horibo/projects/horibo_neu/vendor/plugins/attachment_fu/init.rb:7:in
`sprintf'

/home/horibo/projects/horibo_neu/vendor/plugins/attachment_fu/init.rb:7:in
`make_tmpname'
 /home/horibo/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/tmpdir.rb:132:in
`create'

/home/horibo/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/tempfile.rb:134:in
`initialize'

/home/horibo/.rvm/gems/ruby-1.9.2-p290@radiant10/gems/rack-1.1.3/lib/rack/utils.rb:547:in
`new'

/home/horibo/.rvm/gems/ruby-1.9.2-p290@radiant10/gems/rack-1.1.3/lib/rack/utils.rb:547:in
`block in parse_multipart'

/home/horibo/.rvm/gems/ruby-1.9.2-p290@radiant10/gems/rack-1.1.3/lib/rack/utils.rb:525:in
`loop'

/home/horibo/.rvm/gems/ruby-1.9.2-p290@radiant10/gems/rack-1.1.3/lib/rack/utils.rb:525:in
`parse_multipart'

/home/horibo/.rvm/gems/ruby-1.9.2-p290@radiant10/gems/rack-1.1.3/lib/rack/request.rb:268:in
`parse_multipart'

/home/horibo/.rvm/gems/ruby-1.9.2-p290@radiant10/gems/rack-1.1.3/lib/rack/request.rb:146:in
`POST'
[...]

As far as I understand the asset manager uses Paperclipped. But it seems to
call attachment_fu?

Did anybody succeed in installing Gallery Extension on Radiant 1.0.1? Any
hints what I am doing wrong?

Thanks in advance
Horst







Re: [Radiant] Is there a list of which radiant works with which raisl and which ruby etc?

2015-09-06 Thread Horst Rischbode
Don't know, if anyone has a valid list. Below my findings on Ubuntu 
14.04 LTS. As far as I figured out you will have to deal with rails 
2.3.17 and it's dependencies as well, before you can start using radiant.


Nothing I would use for a fresh install of any cms that should go to 
production but for me it has worked for years now. Hope this is of any 
interest.


Regards
Horst

---
rvm rubies

=> ruby-1.9.3-p551 [ x86_64 ]
   ruby-2.1.5 [ x86_64 ]
 * ruby-2.2.0 [ x86_64 ]

# => - current
# =* - current && default
#  * - default
---

And Gemfile:

---
source :rubygems

gem 'rake', '10.0.2'
gem 'aws-sdk-v1'

# If you make any changes in this file, please run `bundle install`.
# If new versions of your installed gems are available, run `bundle update`

gem "radiant", "~> 1.1.3"
gem "compass-rails", "~> 1.0.3"

# alternatively, in development
# gem "radiant", :path => "/path/to/radiant/root"

# Uncomment to support CoffeeScript with a JS runtime (used in the 
Sheets extension)

# gem "execjs"
# And you may need one of these:
# gem "mustang" # Google V8 for Ruby
# gem "therubyracer" # Google V8 for Ruby
# gem "therubyrhino" # Mozilla Rhino for JRuby
# gem "johnson" # Mozilla SpiderMonkey for Ruby

# SQLite is the default database connection but only suitable for local use
# gem "sqlite3", "~> 1.3.5"

# To use MySQL
# gem "mysql", "~> 2.8.1"
gem "activerecord-mysql2-adapter", "~> 0.0.3"
gem "mysql2", "0.2.18"

# Postgres
# gem "pg", "~> 0.11.0"

# IBM DB2
# gem "db2", "~> 2.6.2"

# SQL Server
# gem "tiny_tds"
# gem "activerecord-sqlserver-adapter", "~> 3.1.0"

# Default Extensions
gem "radiant-archive-extension", "~> 1.0.7"
gem "radiant-clipped-extension", "~> 1.1.0"
gem "radiant-debug-extension",   "~> 1.0.2"
gem "radiant-exporter-extension","~> 1.1.0"
gem "radiant-markdown_filter-extension", "~> 1.0.2"
gem "radiant-sheets-extension",  "~> 1.1.0"
gem "radiant-snippets-extension","~> 1.1.0"
gem "radiant-site_templates-extension",  "~> 1.0.4"
gem "radiant-smarty_pants_filter-extension", "~> 1.0.2"
gem "radiant-textile_filter-extension",  "~> 1.0.4"


# Language packs
# gem "radiant-dutch_language_pack-extension","~> 1.0.0"
# gem "radiant-french_language_pack-extension",   "~> 1.0.0"
# gem "radiant-german_language_pack-extension",   "~> 1.0.0"
# gem "radiant-italian_language_pack-extension",  "~> 1.0.0"
# gem "radiant-japanese_language_pack-extension", "~> 1.0.0"
# gem "radiant-russian_language_pack-extension",  "~> 1.0.0"

# A standard gem extension
# gem "radiant-example-extension", :version => "~> 1.0.0"
gem "radiant-parameterized_snippets-extension", "~> 1.0.1"

# Your own forked extension
# gem "radiant-modified-extension", :git => "git://github.com/your/fork.git"

# A local extension in development
# gem "radiant-new-extension", :path => "/path/to/extension/root"

# Gems you would like to have in your development environment
# group :development do
#   gem "wirble"
# end

# If you're running tests or specs
# group :test do
#   gem "cucumber-rails",   "~> 0.3.2"
#   gem "database_cleaner", "~> 0.6.5"
#   gem "webrat",   "~> 0.7.3"
#   gem "rspec-rails",  "~> 1.3.3"
#   gem "sqlite3",  "~> 1.3.4"
#   gem "ZenTest",  "4.6.0"
# end
---


Am 03.09.2015 04:06, schrieb Anton Aylward:
I'm having awful problems getting a combination that works, be it on 
Ubuntu or Suse.


I can't get a version/cobination where radiant builds a application 
tree with ubuntu and I can't get rake to work with the version I get 
loaded with Suse.


Its very frustrating.
--

---
You received this message because you are subscribed to the Google 
Groups "Radiant CMS" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to radiantcms+unsubscr...@googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.


--

--- 
You received this message because you are subscribed to the Google Groups "Radiant CMS" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to radiantcms+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.