[Radiant] Images again

2007-06-05 Thread Johan Rönnblom
Hi again I've followed the discussion about using page attachments for images with great interest, and finally we got it working too. However, because you can't reference attachments from snippets or layouts, this doesn't really seem like a good solution for images that reoccur throughout a

Re: [Radiant] Images again

2007-06-05 Thread Andrea Franz
Il giorno 05/giu/07, alle ore 09:46, Johan Rönnblom ha scritto: Hi again I've followed the discussion about using page attachments for images with great interest, and finally we got it working too. However, because you can't reference attachments from snippets or layouts, this

Re: [Radiant] Images again

2007-06-05 Thread Johan Rönnblom
Andrea Franz wrote: I use Gallery extension to do that...I usually create a gallery called Layout and I set it as hidden, so it doesn't appear in the galleries list page. Ok. It seems the Gallery extension relies on having a lot of stuff installed though. Presumably the web root is in

Re: [Radiant] Page_Attachments

2007-06-05 Thread Sharon Clift
I am testing on two local machines will full admin rights. I have been doing more testing this morning and found that it seems to work intermittently, sometimes a file will upload and sometimes nothing seems to happen, although if I keep trying long enough I usually win! Also if I select several

Re: [Radiant] Images again

2007-06-05 Thread Sean Cribbs
Johan Rönnblom wrote: Hi again I've followed the discussion about using page attachments for images with great interest, and finally we got it working too. However, because you can't reference attachments from snippets or layouts, this doesn't really seem like a good solution for images

Re: [Radiant] Images again

2007-06-05 Thread David Minor
On Jun 5, 2007, at 9:05 AM, Sean Cribbs wrote: Your only option with page attachments for site-wide images is to attach them to the root page. The current method for finding attachments is to search the current page and then the parent pages recursively. Sean that's a cool trick, but

[Radiant] unable to log in with default username

2007-06-05 Thread Chris Konovaliv
Very new to this, but...Ive got radiant installed and running on a mediatemple grid server (rails container) but I am unable to log in to the admin section with the default username and password. Any advise on how to rectify this problem is much appreciated. Thanks, Chris

Re: [Radiant] unable to log in with default username

2007-06-05 Thread Aitor Garay-Romero
I had the same problem and solved it with this: http://dev.radiantcms.org/radiant/wiki/HowToResetYourPassword But i remember having to do something more than that. /AITOR On 6/5/07, Chris Konovaliv [EMAIL PROTECTED] wrote: Very new to this, but...Ive got radiant installed and

Re: [Radiant] Using a Rails plugin in Radiant extensions

2007-06-05 Thread Andrew O'Brien
Ah yes, the activation method -- that's probably a better place than the top of the file... My tests are passing, so things seem to be working better. One problem I'm having though is that it seems to be initializing constants twice. E.g.:

Re: [Radiant] Images again

2007-06-05 Thread Sean Cribbs
Yes, they are. A layout is never rendered without an associated page, so all the tags within a layout refer to that page when applicable. Sean David Minor wrote: On Jun 5, 2007, at 9:05 AM, Sean Cribbs wrote: Your only option with page attachments for site-wide images is to attach

[Radiant] Nested archives

2007-06-05 Thread Earl Chew
I'd like to create a what might be called a nested archive: + Server Maintenance Archive ++ Web Server Archive Post 1.1 Post 1.2 ++ Email Server Archive +++ Post 2.1 +++ Post 2.2 Browsing to Server Maintenance would show me the latest articles in all the subtrees (say Post 1.1 and Post

Re: [Radiant] Using a Rails plugin in Radiant extensions

2007-06-05 Thread Sean Cribbs
You might try wrapping your plugin initialization code in a block like so: unless defined?(VALID_PREPOSITIONS) # init.rb contents goes here end Any constant defined in the plugin should do, including any class. Sean Andrew O'Brien wrote: Ah yes, the activation method -- that's probably a

Re: [Radiant] Images again

2007-06-05 Thread Keith Bingman
What are the core plans for a new image manager? I have one I wrote, there is Sean's and then the Gallery extension, but it seems like there should be some sort of official plugin. None these (mine for sure!) are really ready for prime time or all they all that they could be. This seems to

Re: [Radiant] Images again

2007-06-05 Thread Sean Cribbs
The scope of 0.7 has not changed, but we have a lot of enhancements yet to do to 0.6, IMO. One major thing is the discovery and installation of extensions, half of which I wrote at RailsConf. Asset management is an issue that I think everyone wants a different solution for. I primarily

[Radiant] Observers in extensions

2007-06-05 Thread Andrew O'Brien
Is there a good way to add an ActiveRecord observer through and extension's activate method? I'm guessing the standard way (adding it to the config in environment.rb) won't work since the extension hasn't loaded yet. Thanks, Andrew ___ Radiant mailing

[Radiant] page_attachments stupid question?

2007-06-05 Thread Andrew Gruner
OK, I've got page_attachments installed and can upload files. My question is, after uploading, how do I link to it from the page it's attached to? I don't see the link to the actual file, only the thumbnail. Am I still missing something? Thanks. ___

Re: [Radiant] Page_Attachments

2007-06-05 Thread David Piehler
I'm suddenly getting this same error with a PDF file I am trying to attach. Other files (PDF, JPG, and TXT) have worked fine up until this point and can be attached to the page, just not this specific PDF. -- Posted via http://www.ruby-forum.com/.

Re: [Radiant] page_attachments stupid question?

2007-06-05 Thread David Piehler
Click the Available Tags link on the Page Edit screen. It shows you all the tags related to attachments. Examples: r:attachment:link name=myfile.pdf / r:attachment:link name=myfile.pdfClick here to download!/r:attachment:link And lots more. -- Posted via http://www.ruby-forum.com/.

Re: [Radiant] Observers in extensions

2007-06-05 Thread Sean Cribbs
Andrew, You might be able to just 'mention' the class in the activate method so it gets loaded. Then your observer would have to have an observe call in its class. Not sure if that will actually work, but it's worth a try. Sean Andrew O'Brien wrote: Is there a good way to add an

Re: [Radiant] page_attachments stupid question?

2007-06-05 Thread Andrew Gruner
Aha! I knew I was missing something easy. Thanks! On 6/5/07, David Piehler [EMAIL PROTECTED] wrote: Click the Available Tags link on the Page Edit screen. It shows you all the tags related to attachments. Examples: r:attachment:link name=myfile.pdf / r:attachment:link name=myfile.pdfClick

Re: [Radiant] 3 level deep navigation tags

2007-06-05 Thread Sean Cribbs
Dave, Check back through the mailing-list archives for information about the sitemap snippet. It does most of what you want. @Marty Haught - would you be willing to share the working code for the if_ancestor tag? I haven't looked at it in a while. Sean dave4c03 wrote: I would like to

[Radiant] add_attachment is not defined

2007-06-05 Thread Jonathan Métillon
Hi, I just installed the page_attachments Extension following the new tutorial at http://dev.radiantcms.org/radiant/wiki/InstallingPageAttachments I froze Radiant to edge, updated everything, and restarted the web server and processes. When I open a page from the admin, I see the Attachments (0)

Re: [Radiant] add_attachment is not defined

2007-06-05 Thread Sean Cribbs
Try 'rake radiant:extensions:page_attachments:update' again. That's the task that copies the appropriate CSS and JS to the public directory. Sean Jonathan Métillon wrote: Hi, I just installed the page_attachments Extension following the new tutorial at

Re: [Radiant] add_attachment is not defined

2007-06-05 Thread Jonathan Métillon
On 6/6/07, Sean Cribbs [EMAIL PROTECTED] wrote: Try 'rake radiant:extensions:page_attachments:update' again. That's the task that copies the appropriate CSS and JS to the public directory. Sean Files were not readable by web server, I forgot to set the appropriate permissions after rake

Re: [Radiant] Images again

2007-06-05 Thread Daniel Sheppard
What are the core plans for a new image manager? I have one I wrote, there is Sean's and then the Gallery extension, but it seems like there should be some sort of official plugin. None these (mine for sure!) are really ready for prime time or all they all that they could be. This

Re: [Radiant] Images again

2007-06-05 Thread d n
Just to add: in the context of the broader discussion, I'd agree that Radiant needs a stable plugin for basic image handling. For my own needs, the Gallery Extension, with the cropping feature in my previous message, would cover most situations. *DN What are the core plans for a new

Re: [Radiant] Images again

2007-06-05 Thread Matt Bauman
My biggest gripe with most online photo management apps is that even if you have access to the server via FTP, you must individually select each file to upload. I can see Radiant excelling in this capacity with well designed rake tasks for whatever image extension takes the lead in this

Re: [Radiant] 3 level deep navigation tags

2007-06-05 Thread dave4c03
I got a *undefined tag `if_ancestor_or_self'. *I found your email at http://lists.radiantcms.org/pipermail/radiant/2006-September/001968.html. Is the code in your email all that is required to define the if_ancestor_or_self tag? On 6/5/07, Sean Cribbs [EMAIL PROTECTED] wrote: Dave, Check