Hi!

Thanks for your quick response. I did some "researching" here, and
just found out that with my setup (Radiant gem 0.6.3, Ruby 1.8.6 on a
Windows XP machine), if I do a regular "radiant site", then "rake
radiant:freeze:edge" (goes to revision 580), I get a weird thing when
editing a page: all the parts' tabs are duplicated! You can see it
here: http://marceloalvim.com/double_parts.jpg. Oh, I also ran rake
radiant:update and rake radiant:update:javascripts. I'm not sure when
I should use those, but I thought it would be better do it than not.

The "Blog" title was edited by me, but other than that, this came from
a regular db:bootstrap. I checked the database, and it had no
duplicated parts associated with the same page.

So I tested it again, cleaning the database and checking out radiant
from revision 575 of the trunk. Again, rake radiant:update and rake
radiant:update:javascripts. No duplicated parts, and I was able to add
and remove parts perfectly. Next step with this setup: installing
Shards. I checked out shards from the latest revision of trunk, and
voilá, the behavior I told you in the first email: upon creating a
part, the error in javascript (as caught by firebug) and the rendering
of the partial with no layout. Whew!

Now, for the last test of all (just to be sure), I tested radiant edge
WITH shards! :)
Result: TRIPLE page part tabs, PLUS the error when adding one. Ok,
this one was just not fair. ;)

So, does anyone have any idea of why might that be happening? Does it
happen to someone else? Am I doing something wrong?

Thanks,
Marcelo.

On 11/6/07, Mohit Sindhwani <[EMAIL PROTECTED]> wrote:
> Marcelo Alvim wrote:
> > Hi, guys.
> >
> > I am currently trying out Radiant, and I have the intention of writing
> > an admin extension to it. It seems to me that this is easier/better
> > using the Shards extension, so I used Piston to import shards (from
> > the trunk, revision 571, which seems to be the latest) to
> > vendor/extensions/shards.
> >
> > I also have Radiant imported from the trunk (revision 575), using
> > Piston, to vendor/radiant.
> >
> > I am not using any other extensions, and even so I made sure, on
> > environment.rb, that shards was loaded before anything else.
> >
> > Now, when I try to add a page part to a page, what happens is the following:
> > 1) I click on the green plus sign on the far right
> > 2) The little window pops up, and I write the name of my page part
> > 3) FireBug reports an error (the console output is here:
> > http://pastie.caboo.se/114928)
> > 4) Radiant goes to /admin/ui/pages/part/add, where it renders
> > "admin/page/_part", with no layout. The log can be seen here:
> > http://pastie.caboo.se/114925
> > 5) Upon going back to the admin interface, no page parts were added.
> >
> > Does anyone have a clue on why this is happening?
> >
> > Thanks,
> > Marcelo Alvim.
>
> Sorry, I just noticed that you say that you are not using any other
> extensions.  Can you confirm that it works fine without Shards?
>
> Cheers,
> Mohit.
> 11/7/2007 | 3:21 PM.
>
>
> _______________________________________________
> Radiant mailing list
> Post:   [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to