What's the best way to remove the old version module... table dropping??
BUMP!... sorry... any ideas how you remove a module??
To remove a module, simply remove the folder and then run a dev/build. If you need more detailed instructions, check the Silverstripe docs.
Ok.... I've removed the old module, run a dev/build and that seemed to remove all the old lines from the database. i then downloaded the youtubeservice2 file, renamed it to just youtubeservice and re-uploaded.
run dev/build, and it's re-installed the module fine. I still have the formatting issues though on the page.
HELP!!... Any one got any ideas?
looks like the youtubeservice.php file isnt passing the proper thumbnail size. Go to that file under the module >code folder open it and go to line 343
$data['SmallThumbnail'] = new ArrayData(array( 'URL' => Convert::raw2xml((string)$thumbnailObjs['url']), 'Width' => (int)$thumbnailObjs['width'], 'Height' => (int)$thumbnailObjs['height'], ));
$data['SmallThumbnail'] = new ArrayData(array( 'URL' => Convert::raw2xml((string)$thumbnailObjs['url']), //'Width' => (int)$thumbnailObjs['width'], //'Height' => (int)$thumbnailObjs['height'], 'Width' => 100, 'Height' => 80, ));
Tell me if that works for you.
Thanks.. That worked a treat. You may want to up issue your latest release to include this line in the file, as it seems to be a requirement of this release of SS.
On a second note though, is there a way of increasing the size of the font of both the link and the text body?.... or would this be controlled by the template?
I still can't figure out what needs to be changed to increase the font size on the video page. i've run a check using Firebug and it's telling me that it's the layout.ss file in the template/wine/ directory. There must be something overriding this in the video template or CSS file as all the other pages are fine, it's just that page that has incredibly small font.
To change the fonts settings, you will need to edit the css file and define the settings you want there. I believe the titles are a H6 and the text is just a paragraph. The module has a css file called Youtubemodule.css or something to that extent. Create you changes there. If all you see is the layout.ss files in firebug, odds are you aren't inspecting the right element or didn't scroll down far enough on the right side to see the css portion. If you need some more help with formatting, there are some pretty good guides under the docs for silverstripe.
Hopefully this helps you get moving in the right direction.