Hey Roman,

I'm far from being a Radiant expert, but I ran into the same issue.
I'm not 100% sure anymore how I fixed it, but one issue was the
"admin" namespace. Starting at a certain Rails version, the generator
doesn't let you use admin as a prefix anymore.
So what I did was just built a normal controller without the admin
prefix and put this in the _extension.rb file:

define_routes do |map|
  map.resources :links, :path_prefix => '/admin'
end

Maybe that'll point you in the right direction.

- Johannes

On Tue, Jan 20, 2009 at 9:43 AM, Roman Marszalek <ro...@drlogic.co.uk> wrote:
> Hi All,
>
> I've also tried this
>
> 1) from scratch on another machine. i.e. gem install radiant all the
> way through to running the extension.
>
> 2) on my hosting account with Joyent on Radiant 0.6.8 and same error.
>
> Can someone confirm that it works for them at least?
>
> Thanks,
>
> Roman
>
> On Mon, Jan 19, 2009 at 5:20 PM, Roman Marszalek <ro...@drlogic.co.uk> wrote:
>> Just to make sure I wasn't making any typos, I found the tutorial
>> extension on github
>>
>> http://github.com/radiant/radiant-link-roll-extension/tree/master
>>
>> I donwloaded this and ran everything again and I get exactly the same
>> issue, i.e.
>>
>> "Missing template admin/link/edit.html.erb in view path"
>>
>> If anyone has any ideas that 'd be wonderful.
>>
>> Thanks,
>>
>> Roman
>>
>> On Mon, Jan 19, 2009 at 3:59 PM, Roman Marszalek <ro...@drlogic.co.uk> wrote:
>>> Hi,
>>> I'd like to write my own custom tags. As a start I've been following
>>> the following tutorial
>>> http://wiki.radiantcms.org/Creating_Radiant_Extensions
>>>
>>> When I enter the admin interface, go to the "Links" tab and the click
>>> the "New" link I get the following message
>>>
>>> "Template is missing
>>>
>>> Missing template admin/link/edit.html.erb in view path
>>> /Users/roman/work/custom_tags/vendor/extensions/link_roll/app/views:/usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.9/app/views"
>>>
>>> I don't know why it's trying to go to admin/link/edit.html.erb rather
>>> than admin/links/edit.html.erb
>>>
>>> I've double-checked everything including the define_routes do |map|
>>> bit in the main rb file.
>>>
>>> Any ideas - I'm doing the tut with radiant 0.6.9
>>>
>>> Thanks,
>>>
>
> --
> Roman Marszalek
> Managing Director
> mobile: +44 7786 262 002
> email: supp...@drlogic.co.uk
>
> telephone: 0800 345 7844 (+44 20 7014 3634)
> Our lines are open from 9am to 6pm Monday to Friday
>
> Doctor Logic Limited
> Mac Support for London
> http://drlogic.co.uk
>
> * Dr Logic Backup *
> Backup for Britain
> http://drlogicbackup.co.uk
>
> * Dr Logic Training *
> In partnership with Academy Class
> http://training.drlogic.co.uk
>
>
> Registered in England and Wales. Company No. 04947299.
> Registered Office: 2nd Floor 145-157 St John Street, London EC1V 4PY
> VAT Reg. No. GB848448189
>
> _______________________________________________
> Radiant mailing list
> Post:   Radiant@radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>



-- 
http://blog.springenwerk.com
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to