Re: [Radiant] extending

2007-02-09 Thread Jacob Burkhart
bueller wrote:
> So i am trying to make a way to list the previous articles in a list
> format not by date or month but simply by order published, also be able
> to break that up into multiple pages (page one is 12 articles page 2 is
> 12 and so on) in a dynamic fashion.  I have tried to modify the
> 
> tag to accept a passed variable that tells it what the current offset is
> but that has been to no avail i dont care if its by passing a variable
> or by using tags or making a new behavior i just want a simple page that
> lists all my articles in order dynamically allocating how many articles
> can be viewed per page

have you tried mucking with definition of the r:children tag?

are you using trunk or mental?

-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] New Extension for Mental!

2007-02-09 Thread Jacob Burkhart
I have completed version 001 of my extension.

It is available at: http://jotapajaro.com/dump/page_attributes.zip

Be sure to read the README to install, there are some things I wasn't
able to do perfectly with the extensions system so I've detailed a few
small changes to make to radiant core in order to support my extension.

These changes reflect a need for some sort of mechanism extensions can
use to alter the page edit screen. (They are NOT changes I'm suggesting
for checkin to mental or trunk)


-- Details of the features of my extension. --

This extension adds an "Attributes" tab to the edit screen of every
page.  You can add named attributes of different types and assign them
values, and then do things based on these attributes with r:tags.


The available attributes are:

UploadedFilePageAttribute:

Allows you to upload files for a specific page, and then reference them
with the tags:




StringPageAttribute

Allows you to define content in short strings in addition to page parts.
can be referenced with that tag:



BooleanPageAttribute

Allows you to add a named checkbox to particular page, then
check/uncheck it to control the output of these tags:

...
...


PageLinkPageAttribute

Allows you to specify the url of another page on the site. (Or select
the url from an auto-completer after typing in a portion of the page's
name)

You can then reference linked pages with the tag:


...


-- More Features --


I have also added a thing called "Inherit From Page" to this Attributes
tab.  Specifying a page in this box helps to eliminate some duplication
of code.  During page rendering, if a page part referenced by a tag is
not found for a particular page, then the "inherits from page" link is
followed and that page part if retrieved from the parent if available.




If you are looking through my source, please note that there are more
features I intend to provide with this extension, and they are not all
fully implemented or explained in this release.  (But, also they
shouldn't break anything else...)


I look forward to a discussion with the Radiant Core team about what
could be done to both Radiant and my Extension in order to support it
without the hacks explained in the README.


thanks,

Jacob

-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] get params from page_context.rb

2007-02-09 Thread bueller
is there anyway to extend a tag to get the params passed to the page?

-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] extending

2007-02-09 Thread bueller
So i am trying to make a way to list the previous articles in a list
format not by date or month but simply by order published, also be able
to break that up into multiple pages (page one is 12 articles page 2 is
12 and so on) in a dynamic fashion.  I have tried to modify the

tag to accept a passed variable that tells it what the current offset is
but that has been to no avail i dont care if its by passing a variable
or by using tags or making a new behavior i just want a simple page that
lists all my articles in order dynamically allocating how many articles
can be viewed per page

-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] .png images in AssetManager

2007-02-09 Thread Daniel Sheppard
The png images in the part_attachments extension are in the 
vendor/extensions/part_attachments/images directory - you need to copy those to 
the public/images directory manually.
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

[Radiant] .png images in AssetManager

2007-02-09 Thread Michael Jones
I was just demoing the a new site I did to my client.

When showing the AssetManager he was unable to see the 'New Asset'  or
the 'Remove Asset' buttons, turns out he was using IE (I don't know
the version) but was unable to see the .png images.

I see someone mentioned this a while ago:

"> 2) the new-asset.png in /images.  I imagine this just got left out
> of the extension, but I don't know how it will get from the
> extension to the /images directory."

http://lists.radiantcms.org/pipermail/radiant/2006-November/002527.html

But I didn't see a resolution, has anyone else experienced this?
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Need someone to confirm a bug with sqlite3 and mental

2007-02-09 Thread John W. Long
Sean Cribbs wrote:
> We will probably re-freeze the mental branch to 1.2.2 if this issue 
> persists.

Let's do that.

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


Re: [Radiant] Need someone to confirm a bug with sqlite3 and mental

2007-02-09 Thread Luis Lavena
On 2/9/07, Sean Cribbs <[EMAIL PROTECTED]> wrote:
>
>  We will probably re-freeze the mental branch to 1.2.2 if this issue
> persists.
>

Sean,

Its confirmed, will persist... AFAIK, 1.2.x prior 1.2.2 will show
this, didn't test with 1.1.x branch, but the sqlite adapter inside AR
changed just in the 1.2.x branch (and will not be backported).



>
>  Luis Lavena wrote:
>  On 2/8/07, Ben Johnson <[EMAIL PROTECTED]> wrote:
>
>
>  I've been trying to get this working for two days now. If I get myself
> a copy of mental (both from the Gem and from SVN) and try to use
> sqlite3 as my database, the rake db:bootstrap script doesn't seem to
> create a user.
>
> It doesn't report any errors, or problems, it just says it's complete
> and then won't log in. A look at the database contents reveals that
> the admin user simply wasn't created. This happens when I accept the
> default settings and when I specify a username and password.
>
> When using MySQL, the user is in the database and I can log in without
> error.
>
> Can anyone reproduce this?
>
>
>  Ben, any version of sqlite3 over 3.3.7 will show this issue, until you
> update sqlite3-ruby to 1.2.1 and re-freeze rails to 1.2.2 (the bundled
> rails into Radiant shows the bug as listed in the Riding Rails blog:
>
> http://weblog.rubyonrails.org/2007/2/6/rails-1-2-2-sqlite3-gems-singular-resources
>
> This is shown on Win32 and Linux as well, after update, you could use
> sqlite3 3.3.12 if you want without these issues.
>
> HTH,
>
>
>
>
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:
> http://lists.radiantcms.org/mailman/listinfo/radiant
>


-- 
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Need someone to confirm a bug with sqlite3 and mental

2007-02-09 Thread Sean Cribbs
We will probably re-freeze the mental branch to 1.2.2 if this issue 
persists.


Sean

Luis Lavena wrote:

On 2/8/07, Ben Johnson <[EMAIL PROTECTED]> wrote:
  

I've been trying to get this working for two days now. If I get myself
a copy of mental (both from the Gem and from SVN) and try to use
sqlite3 as my database, the rake db:bootstrap script doesn't seem to
create a user.

It doesn't report any errors, or problems, it just says it's complete
and then won't log in. A look at the database contents reveals that
the admin user simply wasn't created. This happens when I accept the
default settings and when I specify a username and password.

When using MySQL, the user is in the database and I can log in without error.

Can anyone reproduce this?




Ben, any version of sqlite3 over 3.3.7 will show this issue, until you
update sqlite3-ruby to 1.2.1 and re-freeze rails to 1.2.2 (the bundled
rails into Radiant shows the bug as listed in the Riding Rails blog:

http://weblog.rubyonrails.org/2007/2/6/rails-1-2-2-sqlite3-gems-singular-resources

This is shown on Win32 and Linux as well, after update, you could use
sqlite3 3.3.12 if you want without these issues.

HTH,

  


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