Re: [Radiant] Another question - Entering metadata

2006-09-04 Thread Bryan
I got it working using the original files from the mail list.

Thanks,

Bryan

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


Re: [Radiant] Another question - Entering metadata

2006-09-01 Thread jeroen janssen
The style part should go in the options hash, so it should probably  
be like this:

%= text_area page, keywords, { :style = width: 100%; height:  
5em;'}  %




On Sep 1, 2006, at 7:26 AM, Bryan wrote:

 I received the following error when I made the changes suggested.

 I am new to Ruby on Rails.  Any ideas what is causing this?

 Thanks,

 Bryan

 Using Radiant 0.5.2

 Showing app/views/admin/page/new.rhtml where line #82 raised:

 compile error
 script/../config/../app/views/admin/page/new.rhtml:82: parse error,
 unexpected tASSOC, expecting ')'
   = 'width: 100%; height: 5em;' ).to_s); _erbout.concat /td\n
 ^
 Extracted source (around line #82):

 79:   tr
 80:   tdlabel for=page_keywordsKeywords/label/td
 81:   td class=field%= text_area page, keywords, :style
 82:   = 'width: 100%; height: 5em;' %/td
 83:   /tr
 84:   tr
 85:   tdlabel for=page_descriptionDescription/label/td
 Trace of template inclusion: /app/views/admin/page/new.rhtml

 RAILS_ROOT: script/../config/..

 Application Trace | Framework Trace | Full Trace
 #{RAILS_ROOT}/app/views/admin/page/new.rhtml:176:in `compile_template'
 app/controllers/admin/page_controller.rb:30:in `edit'

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

___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Another question - Entering metadata

2006-08-29 Thread Jake Liddell








Hi all,



Another question that Im sure people will want to do
if theyre creating commercial sites with Radiant:



When I click on the More link on a standard
edit page, I can change the slug and the breadcrumb. I would also like to
enter a description and keywords  these would then get included into my
header as metadata for the page  at the moment I have to just define the
header for the whole site (or have multiple header snippets for site sections),
but if I want to give myself every chance of being found on the search engines
for the right things, I need to customize on a per-page level.



Anyone else want to do this? If people were
interested, this could be an enhancement? If someone was prepared to
point me in the right direction, Id have a go myself when I have the
time.



(On a separate, more trivial note, it would be nice to have
the More expanded by default, to remind people to fill the boxes
in  it would also be nice to make the boxes mandatory, so you cant
save a new page without them  otherwise authors are always going to
forget at some point.)





Cheers,

Jake.














--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.6/428 - Release Date: 25/08/2006
 
___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Another question - Entering metadata

2006-08-29 Thread Sean Cribbs
Jake,You're probably better off creating page parts for each of those metadata items, and then again using the r:content .../ tag to insert their values into your template. The more link/dropdown is primarily for system-specific-and-critical stuff, whereas page metadata like keywords and descriptions are really content.
Sean Cribbsseancribbs.comOn 8/29/06, Jake Liddell [EMAIL PROTECTED]
 wrote:














Hi all,



Another question that I'm sure people will want to do
if they're creating commercial sites with Radiant:



When I click on the "More" link on a standard
edit page, I can change the slug and the breadcrumb. I would also like to
enter a description and keywords – these would then get included into my
header as metadata for the page – at the moment I have to just define the
header for the whole site (or have multiple header snippets for site sections),
but if I want to give myself every chance of being found on the search engines
for the right things, I need to customize on a per-page level.



Anyone else want to do this? If people were
interested, this could be an enhancement? If someone was prepared to
point me in the right direction, I'd have a go myself when I have the
time.



(On a separate, more trivial note, it would be nice to have
the 'More' expanded by default, to remind people to fill the boxes
in – it would also be nice to make the boxes mandatory, so you can't
save a new page without them – otherwise authors are always going to
forget at some point.)





Cheers,

Jake.














--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.6/428 - Release Date: 25/08/2006
 

___Radiant mailing listRadiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Another question - Entering metadata

2006-08-29 Thread Nathan Wright
I agree with Sean on this, but if you *really* want to insert them
into the more section it's pretty easy to get this setup. I did it
for a client when I thought the concept of adding page parts might be
a little too difficult for them. Let me know and I'll see if I can
work up a diff for you.

On 8/29/06, Sean Cribbs [EMAIL PROTECTED] wrote:
 Jake,

 You're probably better off creating page parts for each of those metadata
 items, and then again using the r:content .../ tag to insert their values
 into your template.  The more link/dropdown is primarily for
 system-specific-and-critical stuff, whereas page metadata like keywords and
 descriptions are really content.

 Sean Cribbs
 seancribbs.com


 On 8/29/06, Jake Liddell [EMAIL PROTECTED]  wrote:
 
 
 
 
 
 
  Hi all,
 
 
 
  Another question that I'm sure people will want to do if they're creating
 commercial sites with Radiant:
 
 
 
  When I click on the More link on a standard edit page, I can change the
 slug and the breadcrumb.  I would also like to enter a description and
 keywords – these would then get included into my header as metadata for the
 page – at the moment I have to just define the header for the whole site (or
 have multiple header snippets for site sections), but if I want to give
 myself every chance of being found on the search engines for the right
 things, I need to customize on a per-page level.
 
 
 
  Anyone else want to do this?  If people were interested, this could be an
 enhancement?  If someone was prepared to point me in the right direction,
 I'd have a go myself when I have the time.
 
 
 
  (On a separate, more trivial note, it would be nice to have the 'More'
 expanded by default, to remind people to fill the boxes in – it would also
 be nice to make the boxes mandatory, so you can't save a new page without
 them – otherwise authors are always going to forget at some point.)
 
 
 
 
 
  Cheers,
 
  Jake.
 
 
 
 
 
 
 
 
  --
  No virus found in this outgoing message.
  Checked by AVG Free Edition.
  Version: 7.1.405 / Virus Database: 268.11.6/428 - Release Date: 25/08/2006
 
 
  ___
  Radiant mailing list
  Radiant@lists.radiantcms.org
  http://lists.radiantcms.org/mailman/listinfo/radiant
 
 
 


 ___
 Radiant mailing list
 Radiant@lists.radiantcms.org
 http://lists.radiantcms.org/mailman/listinfo/radiant





-- 
Nathan
___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Another question - Entering metadata

2006-08-29 Thread Dave Crossland
On 29/08/06, Nathan Wright [EMAIL PROTECTED] wrote:
 Let me know and I'll see if I can
 work up a diff for you.

I'd also be interested in this :-)

-- 
Regards,
Dave
___
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant