Including jQuery first
I would like to include jQuery on all pages of my site.I would also like to include a jQuery plugin on some pages.My problem is that scripts included with <% require %> in Layouts/whatever.ss are...
View ArticleRe: PLEASE ANYONE...HELP!!! I Want a silverstripe cms demo for my site please...
thanks for your reply just copied the page to my site Posted to: PLEASE ANYONE...HELP!!! I Want a silverstripe cms demo for my site please : ) | Show Thread | Post Reply
View ArticleRe: Including jQuery first
I'm not sure i understand your problem, but have you been reading: http://doc.silverstripe.org/framework/en/reference/requirementsPosted to: Including jQuery first | Show Thread | Post Reply
View Article.htaccess: RewriteBase takes one argument, the base URL of the per-directory...
When I try to go the admin panel after installing Silverstripe, I'm getting an "Internal Server Error" page.When I look at the error log, I'm seeing the following error: .htaccess: RewriteBase takes...
View ArticleRe: .htaccess: RewriteBase takes one argument, the base URL of the...
What is the content of your .htaccess file?Posted to: .htaccess: RewriteBase takes one argument, the base URL of the per-directory context | Show Thread | Post Reply
View ArticleRe: Porting to live server
Double check your database import / export worked and was for the correct database!Posted to: Porting to live server | Show Thread | Post Reply
View ArticleRe: behat testing setup
OK, so after some investigation I've solved thisProbably those using this module have more experience with composer/testing that I do so the docs on github skip this point as it is a simple little...
View ArticleRe: Empty ClassName is built every time
Thanks this solved the problem. However I needed to change the code a bit. I did'nt get any result with ClassName='' . I used ClassName = 0 instead (since the columns where enums).UPDATE SiteTree SET...
View ArticleRe: .htaccess: RewriteBase takes one argument, the base URL of the...
Willr,Thanks for trying to help me troubleshoot. I was actually able to resolve it. I was using my hosting sites Softaculous functionality to automatically install SilverStripe and something wasn't...
View ArticleRe: Unable to login (login page shown again)
I've tried adding the following to the live _config.php whilst login in:define('SS_ENVIRONMENT_TYPE', 'dev'); SSViewer::set_source_file_comments(true); ini_set('display_errors', 1);...
View Articlepartial caching issue with LastEdited
Hello, inside the SS template i got <% cached Children.max(LastEdited) %> <% loop Children %> <h3>$Title</h3> $Thumbnail <% end_loop %> <% end_cached %>Each sub page...
View ArticleWhite Screen and GridFieldBulkEditingTools
I have successfully installed SS3.0.5, are able to create Pages and Users can login. BUT I can't build. Only white screen appears. I have set SS3 in dev-Mode and the error log shows no error while...
View ArticleRe: partial caching issue with LastEdited
One solution is to subclass Image, then your page can have a relation to that class instead of a relation to image. So:class MyImage extends Image {}class MyPage extends Page { public static $has_one =...
View ArticleRe: partial caching issue with LastEdited
I guess List(MyImage).Max(LastEdited) will force SS to search all 'MyImage' objects in database and get the lastest LastEdited field value as part of the cache key. The problem is: MyPage and MyImage...
View ArticleComposer: Can we get some video/better guides?
Hi,It seems to me that the hardcore devs thinks composer is the way to go for installing and updating Silverstripe. I would really like to understand how it works. But it's so geeky, that it really...
View ArticleRe: partial caching issue with LastEdited
Yep, you can calculate the cache key in your controller: http://doc.silverstripe.org/framework/en/trunk/reference/partial-caching#cache-key-calculated-in-controllerI don't really know the best way to...
View ArticleBypassing Page.ss template
Sorry if this seems like a dense question, but I can't figure it out. I have a particular page type that I want to bypass the default Page.ss template completely and use its own template (i.e. no...
View ArticleRe: partial caching issue with LastEdited
That's what i thought, but then how do you 'aggregate' all the md5 strings? using max,min,avg, or sum is not going to work. I think I just concatenate all the md5 string together to build a large...
View ArticleRe: There are two files containing the "i18n" class
Does anyone have a suitable fix for this? Is this the fault of Silverstripe or of Composer?Posted to: There are two files containing the "i18n" class | Show Thread | Post Reply
View ArticleRe: I'm working on a licence key module
Assuming the DataObject your trying to get is called "LincenseKey", you could create an array from it like so.public function getKeys(){ $licenseKey = LicenseKey::get()->where('ProductDownloadID= '...
View Article