Youtube HD Block

Permalink
OK so I took the Youtube block and tried to modify it to work with the HD viewer, but when I try and add it, it says installed but it never actually installs

All I did was delete the db file, edit the view and change the icon, and change the controller name. Any ideas why this is not working.

I have attached the block.

1 Attachment

 
aaron replied on at Permalink Reply 1 Attachment
Here is a screen shot of what is happening, I tiried on 2 computers.
aaron replied on at Permalink Reply
bump
Remo replied on at Permalink Reply
Remo
You're using a table that's actually part of a core block?!!!

You should definitely use your own table to be independent!

Create db.xml!
aaron replied on at Permalink Reply
I just assumed since it was holding the same info I could store it in the same location... I ended up just making a template for it.
Remo replied on at Permalink Reply
Remo
that actually makes more sense..

And no, never share tables.. What if the core team updates the tables due to some improvments? It would break your code.. Not the safest way of software development.