Meta tags for 0.6.4

Do meta tags work in 0.6.4? I’m new to radiant and i’m trying to figure
out how radiant works.

I’ve found
http://dev.radiantcms.org/svn/radiant/tags/rel_0-6-4/extensions/ with
the list of extensions.

but that does not contain the meta tags extension that I found here:

http://wiki.radiantcms.org/Thirdparty_Extensions

I’m fairly new to RoR

Jasper

Hey there Jasper, I developed the Meta Tags extension and it works just
fine under 0.6.4.

As to the repository at http://dev.radiantcms.org/svn… That’s a
special set of extensions that is stored in the Radiant Subversion
Repository (not sure what gets you in that list – I’m guessing you need
to be a member of the radiant core team of developers). The rest of us
mere mortals :wink: host our stuff wherever we have server space.

Anyway, if you look at the list on the Thirdparty Extensions page
(http://wiki.radiantcms.org/Thirdparty_Extensions), you’ll see that it’s
broken into three sections:

  1. Extensions from the Radiant Subversion Repository (this includes
    the …/rel_0-6-4/extensions/ you found)
  2. Extensions from the Ruby-Lang Subversion Repository (not sure if
    those are radiant extensions or whether some are actually rails
    plugins)
  3. Other Extensions (that’s the rest of us - and sorry, there’s not a
    good system to identify which extensions are compatible with which
    versions of radiant I’m afraid)

I hope that helps. Welcome to the party.

-Chris

Thanks Chris,

I will check it out.

Also I will keep notes on my first development of a website. I’ve found
lots of info on extensions. Layout building info seems sparse I’ll
contribute.

I’m not new to CMS’s, I’ve done a number of sites on drupal so i’m
getting my bearings. I like the natural content organization of the cms.

I’ve went through the install ok on my site with site5. In the end i’ve
downloaded the entire install rather then the gem install. The admin
kept reporting that I had version 0.6.1.

I do have 3 questions, maybe you can help me get directly to the info

  1. how can I construct a contact form, it that the mailer extension?
  2. does any of the editors (tinymce, fckeditor or wym) work with images
    uploads?
  3. can a user role be added of a “member” to the site?

Jasper

btw the wiki seems to be inaccessible alot. Any idea why?

Chris P. wrote:

Hey there Jasper, I developed the Meta Tags extension and it works just
fine under 0.6.4.

As to the repository at http://dev.radiantcms.org/svn… That’s a
special set of extensions that is stored in the Radiant Subversion
Repository (not sure what gets you in that list – I’m guessing you need
to be a member of the ragreatdiant core team of developers). The rest of us
mere mortals :wink: host our stuff wherever we have server space.

Anyway, if you look at the list on the Thirdparty Extensions page
(http://wiki.radiantcms.org/Thirdparty_Extensions), you’ll see that it’s
broken into three sections:

  1. Extensions from the Radiant Subversion Repository (this includes
    the …/rel_0-6-4/extensions/ you found)
  2. Extensions from the Ruby-Lang Subversion Repository (not sure if
    those are radiant extensions or whether some are actually rails
    plugins)
  3. Other Extensions (that’s the rest of us - and sorry, there’s not a
    good system to identify which extensions are compatible with which
    versions of radiant I’m afraid)

I hope that helps. Welcome to the party.

-Chris

Please don’t take my answers as gospel - but I hope they help. Perhaps
some others could offer some helpful insight here…

See answers below:

Jasper Kooij wrote:

I’ve went through the install ok on my site with site5. In the end i’ve
downloaded the entire install rather then the gem install. The admin
kept reporting that I had version 0.6.1.

I do have 3 questions, maybe you can help me get directly to the info

  1. how can I construct a contact form, it that the mailer extension?

Yes, the mailer extension is the one I’ve heard of most (though never
used). Others may be able to chime in with additional solutions (and
which ones work with the most recent version of Radiant).

I’ve been talking with an individual on the core team about a more
general forms solution for Radiant but that is still in early
pre-alpha.

  1. does any of the editors (tinymce, fckeditor or wym) work with images
    uploads?

There are a couple of image upload solutions out there and there are
several content editor extensions too. I’d go to the content editor
extension developers directly about adding in images directly. Seems
like someone mentioned the capability (though I’m not sure if the
solution was publicly available).

Anyone else here?

  1. can a user role be added of a “member” to the site?

Radiant isn’t really geared that way - though you could extend it to do
so. There was a recent discussion on this (try searching the mailing
list for “Role Based Access Control”). I think the consensus was that
membership and admin users are separate things (and the former are up to
you to build).

Jasper

btw the wiki seems to be inaccessible alot. Any idea why?

No idea - been seeing that too.

-Chris

Jasper Kooij wrote:

/usr/bin/rake:17:Warning: require_gem is obsolete. Use gem instead.
(in /home/jasperko/wisconsindells)
rake aborted!
uninitialized constant ApplicationController

what am i doing wrong?

Hmm. Are you using any other extensions (your command migrates all
extensions)?

Other than that, In my local development environment, I have a working
Radiant 0.6.4 with the page_meta extension. The only reference to
“require_gem” that I can find is in config/boot.rb on line 28.

Can any of your core guys offer any insight here?

-Chris

Use the --trace option with rake to figure out on what file/line the
command is failing, then paste the results to us.

Sean

Thanks Chris,

ok specific questions about the page_meta extension:

I’ve got it down to install on site5 hosting, I’ve got the extension
installed using svn

after the rake production db:migrate:extensions I get:

rake production db:migrate:extensions
/usr/bin/rake:17:Warning: require_gem is obsolete. Use gem instead.
(in /home/jasperko/wisconsindells)
rake aborted!
uninitialized constant ApplicationController

what am i doing wrong?

Chris P. wrote:

Please don’t take my answers as gospel - but I hope they help. Perhaps
some others could offer some helpful insight here…

See answers below:

Jasper Kooij wrote:

I’ve went through the install ok on my site with site5. In the end i’ve
downloaded the entire install rather then the gem install. The admin
kept reporting that I had version 0.6.1.

I do have 3 questions, maybe you can help me get directly to the info

  1. how can I construct a contact form, it that the mailer extension?

Yes, the mailer extension is the one I’ve heard of most (though never
used). Others may be able to chime in with additional solutions (and
which ones work with the most recent version of Radiant).

I’ve been talking with an individual on the core team about a more
general forms solution for Radiant but that is still in early
pre-alpha.

  1. does any of the editors (tinymce, fckeditor or wym) work with images
    uploads?

There are a couple of image upload solutions out there and there are
several content editor extensions too. I’d go to the content editor
extension developers directly about adding in images directly. Seems
like someone mentioned the capability (though I’m not sure if the
solution was publicly available).

Anyone else here?

  1. can a user role be added of a “member” to the site?

Radiant isn’t really geared that way - though you could extend it to do
so. There was a recent discussion on this (try searching the mailing
list for “Role Based Access Control”). I think the consensus was that
membership and admin users are separate things (and the former are up to
you to build).

Jasper

btw the wiki seems to be inaccessible alot. Any idea why?

No idea - been seeing that too.

-Chris

Well, it’s clear that the error is being triggered by my extension. And
Sean C. was nice enough to point out that I need:
require_dependency ‘application’
in my extension initialization for the fancy stuff I’m adding to core
components.

So I’ve updated my extension and uploaded this new version to my
repository here:
https://secure.svnrepository.com/s_swanki/open/radiant/extensions/page_meta/tags/v0.1.6/

Try that and tell me if that works (feel free to just email me off-list
if we need to do more digging).

-Chris

I only have the 0.6.4 install of radiant this extension page_meta:

Here is the trace:

-jailshell-3.00$ rake production db:migrate:extensions --trace
/usr/bin/rake:17:Warning: require_gem is obsolete. Use gem instead.
(in /home/jasperko/wisconsindells)
** Invoke production (first_time)
** Execute production
** Invoke environment (first_time)
** Execute environment
rake aborted!
uninitialized constant ApplicationController
/home/jasperko/wisconsindells/vendor/rails/activerecord/lib/…/…/activesupport/lib/active_support/dependencies.rb:266:in
load_missing_constant' /home/jasperko/wisconsindells/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:452:inconst_missing’
/home/jasperko/wisconsindells/vendor/rails/activerecord/lib/…/…/activesupport/lib/active_support/dependencies.rb:464:in
const_missing' /home/jasperko/wisconsindells/app/controllers/admin/abstract_model_controller.rb:1 /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
/home/jasperko/wisconsindells/vendor/rails/activerecord/lib/…/…/activesupport/lib/active_support/dependencies.rb:495:in
require' /home/jasperko/wisconsindells/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:342:innew_constants_in’
/home/jasperko/wisconsindells/vendor/rails/activerecord/lib/…/…/activesupport/lib/active_support/dependencies.rb:495:in
require' /home/jasperko/wisconsindells/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:104:inrequire_or_load’
/home/jasperko/wisconsindells/vendor/rails/activerecord/lib/…/…/activesupport/lib/active_support/dependencies.rb:248:in
load_missing_constant' /home/jasperko/wisconsindells/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:452:inconst_missing’
/home/jasperko/wisconsindells/app/controllers/admin/page_controller.rb:1
/usr/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in require' /home/jasperko/wisconsindells/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:495:inrequire’
/home/jasperko/wisconsindells/vendor/rails/activerecord/lib/…/…/activesupport/lib/active_support/dependencies.rb:342:in
new_constants_in' /home/jasperko/wisconsindells/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:495:inrequire’
/home/jasperko/wisconsindells/vendor/rails/activerecord/lib/…/…/activesupport/lib/active_support/dependencies.rb:104:in
require_or_load' /home/jasperko/wisconsindells/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:248:inload_missing_constant’
/home/jasperko/wisconsindells/vendor/rails/activerecord/lib/…/…/activesupport/lib/active_support/dependencies.rb:452:in
const_missing' /home/jasperko/wisconsindells/vendor/extensions/page_meta/page_meta_extension.rb:6:inactivate’
/home/jasperko/wisconsindells/lib/radiant/extension.rb:39:in activate' /home/jasperko/wisconsindells/lib/radiant/extension_loader.rb:118:inactivate’
/home/jasperko/wisconsindells/lib/radiant/extension_loader.rb:106:in
activate_extensions' /home/jasperko/wisconsindells/lib/radiant/extension_loader.rb:97:inactivate_extensions’
/home/jasperko/wisconsindells/lib/radiant/extension_loader.rb:42:in
run' /home/jasperko/wisconsindells/config/../lib/radiant/initializer.rb:45:ininitialize_extensions’
/home/jasperko/wisconsindells/config/…/lib/radiant/initializer.rb:38:in
after_initialize' /home/jasperko/wisconsindells/config/../vendor/rails/railties/lib/initializer.rb:118:inprocess’
/home/jasperko/wisconsindells/config/…/vendor/rails/railties/lib/initializer.rb:47:in
run' /home/jasperko/wisconsindells/config/../lib/radiant/initializer.rb:34:inrun’
/home/jasperko/wisconsindells/config/…/config/environment.rb:12
/usr/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in require' /home/jasperko/wisconsindells/vendor/rails/railties/lib/tasks/misc.rake:3 /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:inexecute’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in execute' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:ininvoke’
/usr/lib/ruby/1.8/thread.rb:135:in synchronize' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:ininvoke’
/home/jasperko/wisconsindells/config/…/lib/tasks/environments.rake:10
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in execute' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:inexecute’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in invoke' /usr/lib/ruby/1.8/thread.rb:135:insynchronize’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in invoke' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:intop_level’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:instandard_exception_handling’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:inrun’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:inrun’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
/usr/bin/rake:18