What's the best way to remove the old version module... table dropping??
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
- Previous 10 entries
- 1
- 2
- Page 33(current)
- 4
- 5
- 6
- Next 10 entries
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.
http://www.christinafrench.com/video/
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
Change this
$data['SmallThumbnail'] = new ArrayData(array(
'URL' => Convert::raw2xml((string)$thumbnailObjs[0]['url']),
'Width' => (int)$thumbnailObjs[0]['width'],
'Height' => (int)$thumbnailObjs[0]['height'],
));
to
$data['SmallThumbnail'] = new ArrayData(array(
'URL' => Convert::raw2xml((string)$thumbnailObjs[0]['url']),
//'Width' => (int)$thumbnailObjs[0]['width'],
//'Height' => (int)$thumbnailObjs[0]['height'],
'Width' => 100,
'Height' => 80,
));
Tell me if that works for you.
Jeramie,
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.
bettsaj,
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.
- Previous 10 entries
- 1
- 2
- Page 33(current)
- 4
- 5
- 6
- Next 10 entries