Re: [Radiant] Multi_Site and Help Extensions for 0.9

2010-02-24 Thread Alexis Masters
Actually, a few weeks ago, there was a version for edge but now, the  
newest version is for 8.0. I downloaded the master, and according to  
the multi_site_extension.rb, it is for version 8.0. Which is odd,  
because I had trouble installing the master version earlier this month  
because it was the edge version. Now I have my first edge version set  
up and multi_site won't install.
~ Alexis
=
Alexis Masters, author
http://www.alexismasters.com
510 234-0027



On Feb 22, 2010, at 7:20 PM, Josh French wrote:

 Only multi_site and help were not 0.9 ready as of Friday night.

 MultiSite should run fine on edge. Were you having a specific  
 problem with it?

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

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


[Radiant] Multi_Site and Help Extensions for 0.9

2010-02-22 Thread Alexis Masters
Hello All,
I have just set up my first 0.9 site with the rc version and I've  
installed my usual stable of extensions without a glitch. Only  
multi_site and help were not 0.9 ready as of Friday night.

Does anyone have a sense of when these might be updated for 0.9? Both  
are fairly crucial for the majority of my clients.
~ Alexis
=
Alexis Masters, author
http://www.alexismasters.com
510 234-0027



On Feb 22, 2010, at 10:33 AM, Leon Miller-Out wrote:

 On Mon, Feb 22, 2010 at 1:03 PM, Erik Ostrom e...@echographia.com  
 wrote:

 Those first two statements look to me like they'd at least make the  
 parts
 show up differently in the admin area.

 Did you commit the changes? (I don't know whether SQLite3 defaults to
 autocommit.)


 I didn't commit them, but I'm pretty sure the default is autocommit.



 Did you restart the server? (Depending on what mode you're running  
 it, this
 might be necessary.)


 Yup.



 On Mon, Feb 22, 2010 at 7:26 AM, Leon Miller-Out  
 l...@singlebrook.com
 wrote:

 Hi, folks! I was trying to rename some parts in one of our sites,  
 and I
 couldn't get the application to show me the new part names. Here's  
 what I
 did:

 sqlite update page_parts set name = 'left' where name = 'body';
 sqlite update page_parts set name = 'right' where name = 'sidebar';
 sqlite update layouts set content = replace(content, 'part=body',
 'part=left');
 sqlite update layouts set content = replace(content,  
 'part=sidebar',
 'part=right');
 (These last two are for the Chronicle extension's versioning table.)
 sqlite update versions set yaml = replace(yaml, 'name: body',  
 'name:
 left');
 sqlite update versions set yaml = replace(yaml, 'name: sidebar',  
 'name:
 right');

 When I loaded up the pages in the admin area, they were still called
 body
 and sidebar instead of left and right. What was I missing?

 Leon

 =
 Leon Miller-Out
 President  CTO, Singlebrook Technology, Inc
 l...@singlebrook.com
 p 607-330-1493
 f 607-697-0457
 516 W. State St. - Suite 100
 Ithaca, NY 14850
 ___
 Radiant mailing list
 Post: Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
 Radiant: http://radiantcms.org
 Extensions: http://ext.radiantcms.org

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

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

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


Re: [Radiant] Multi_Site and Help Extensions for 0.9

2010-02-22 Thread Josh French
  Only multi_site and help were not 0.9 ready as of Friday night.

MultiSite should run fine on edge. Were you having a specific problem with it?

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


[Radiant] multi_site

2009-07-26 Thread Caleb Adam Haye
I am using the multi-site extension, and am having trouble packaging my app
up for deployment.

The following command doesn’t work, because the SVN repo is Gone (410):
svn export
http://svn.radiantcms.org/radiant/tags/rel_0-6-7/extensions/multi_site/vendor/extensions/multi_site

Any idea where it went? or how i can achieve my goal of being able to deploy
my site w/ the multi_site extension encapsulated?
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] multi_site

2009-07-26 Thread john muhl
try `git clone git://github.com/radiant/radiant-multi-site-extension.git`

all the extensions from the old svn repo have been moved to
http://github.com/radiant and almost all 3rd party extension
development has moved to git as well. although if you're trying to use
0.6.7 you may find the versions available on github incompatible it
has after all been over a year since that release.

On Sun, Jul 26, 2009 at 3:13 PM, Caleb Adam
Hayeca...@firecollective.com wrote:
 I am using the multi-site extension, and am having trouble packaging my app
 up for deployment.

 The following command doesn’t work, because the SVN repo is Gone (410):
 svn export
 http://svn.radiantcms.org/radiant/tags/rel_0-6-7/extensions/multi_site/vendor/extensions/multi_site

 Any idea where it went? or how i can achieve my goal of being able to deploy
 my site w/ the multi_site extension encapsulated?
 ___
 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


Re: [Radiant] multi_site

2009-07-26 Thread Caleb Adam Haye
Thanks for the reply, that answers the first part of my question (about
where the src can be found)

So, given the fact that the sources are now on git, what are the steps that
I need to take in order to achieve my goal of being able to deploy my site
w/ the multi_site extension encapsulated? i.e. How do I properly ensure that
extensions are included when I bundle up my radiant git for deployment?

None of the docs on github seem to cover this.

These are the steps I am taking (from github, which are falling short)

rake rails:freeze:gems
rake rails:freeze:edge

rake gems:unpack
rake gems:unpack:dependencies


Next, I add/commit/push the stuff to my git repo
Then, I clone the repo and try to run my app and get the following message:

Could not load extension from file: multi_site_extension.
#NameError: uninitialized constant MultiSiteExtension

That error is appropriate, because the multi_site source is not found in the
vendor/extensions folder.  How do I properly ensure that extensions are
included when I bundle up my radiant git for deployment?

Thank you!

On Sun, Jul 26, 2009 at 2:29 PM, john muhl johnm...@gmail.com wrote:

 try `git clone 
 git://github.com/radiant/radiant-multi-site-extension.git`http://github.com/radiant/radiant-multi-site-extension.git%60

 all the extensions from the old svn repo have been moved to
 http://github.com/radiant and almost all 3rd party extension
 development has moved to git as well. although if you're trying to use
 0.6.7 you may find the versions available on github incompatible it
 has after all been over a year since that release.

 On Sun, Jul 26, 2009 at 3:13 PM, Caleb Adam
 Hayeca...@firecollective.com wrote:
  I am using the multi-site extension, and am having trouble packaging my
 app
  up for deployment.
 
  The following command doesn’t work, because the SVN repo is Gone (410):
  svn export
 
 http://svn.radiantcms.org/radiant/tags/rel_0-6-7/extensions/multi_site/vendor/extensions/multi_site
 
  Any idea where it went? or how i can achieve my goal of being able to
 deploy
  my site w/ the multi_site extension encapsulated?
  ___
  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




-- 
Caleb Adam Haye
ca...@firecollective.com

Fire, Inc.
487 S. Main St
Sebastopol, Ca 95472

office: (707) 701-FIRE
toll-free: (888) 314-FIRE
fax: (888) FAX-7933

The information contained in this message is confidential and intended only
for the use of the individual or entity named above, and may be privileged.
Any unauthorized review, use, disclosure, or distribution is prohibited. If
you are not the intended recipient, please reply to the sender immediately,
stating that you have received the message in error, then please delete this
e-mail. Thank you.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] multi_site extension and mysql error

2009-06-15 Thread Petrik de Heus

Hi Daniel,

I've fixed these problems in a fork:
   http://github.com/p8/radiant-multi-site-extension/tree/master

Your probably want to comment out the following line since a  
previously failed migration already created the column.
Line 3 in vendor/extensions/multi_site/db/ 
003_add_base_domain_to_sites.rb:

add_column :sites, :base_domain, :string

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


Re: [Radiant] multi_site extension and unique login names

2008-12-01 Thread Joe Van Dyk
I'd modify the radiant code.

Joe

On Thu, Nov 27, 2008 at 3:20 PM, Aditya Chadha [EMAIL PROTECTED] wrote:
 Hi folks,

 Just playing around with the multi_site extension and noticed that the login
 field in the users table seems to have a unique validation as well as a
 unique constraint enforced by an index. Not quite sure what the best to get
 around this is, but I would imagine that if you were hosting multiple sites
 you would want the logins to be scoped to site?

 I'm not quite sure what the cleanest way of overriding validations is but
 one way could be to add an :if to the validates_uniquness_of :login in
 user.rb and then override the method that the if calls in the extension.
 Another way would be to use a custom validation. We would obviously have to
 replace the unique index on login with a unique index on login, site_id

 Unfortunately, I can't see a way of leaving the Radiant code alone... the
 validation needs to change.

 Thoughts?

 Cheers,
 Aditya

 --
 Aditya (http://aditya.sublucid.com)

 ___
 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] multi_site extension and unique login names

2008-11-27 Thread Aditya Chadha

Hi folks,

Just playing around with the multi_site extension and noticed that the  
login field in the users table seems to have a unique validation as  
well as a unique constraint enforced by an index. Not quite sure what  
the best to get around this is, but I would imagine that if you were  
hosting multiple sites you would want the logins to be scoped to site?


I'm not quite sure what the cleanest way of overriding validations is  
but one way could be to add an :if to the  
validates_uniquness_of :login in user.rb and then override the method  
that the if calls in the extension. Another way would be to use a  
custom validation. We would obviously have to replace the unique index  
on login with a unique index on login, site_id


Unfortunately, I can't see a way of leaving the Radiant code alone...  
the validation needs to change.


Thoughts?

Cheers,
Aditya

--
Aditya (http://aditya.sublucid.com)

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


Re: [Radiant] Multi_site restrict access to radiant

2008-08-06 Thread Casper Fabricius

Hi Marc,

The multi_site extension has those limitations you mention. I  
especially think #2 is a show stopper in many cases - all users sees  
all sites. It would take some work to tie logins to a specific site,  
but it would greatly enhance the value of the extension.


Cheers,
Casper


On 04/08/2008, at 23:56, Marc Abouchacra wrote:


Hello everybody!

I've recently discover the multi_site extension which appears to be
really interesting.
But there is some things that I still don't know if it is possible and
how to do them.

1-Imagine I have a radiant site called marc.com. I install the
multi-site and then I create site1.marc.com and site2.marc.com. Now I
can manage the pages for the two child site1 and site2, but I can't
manage anymore the page from marc.com.

2-Is it possible to create administrator for each site? For example  
if I

log in to radiant as an admin, I'll see all my site. However I want to
create site-administrator for each site so that they can log in to
radiant and manage the pages of their own site without seeing all the
other site.

Cheers
Marc.
--
Posted via http://www.ruby-forum.com/.
___
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