Quantcast
Channel:
Browsing all 4235 articles
Browse latest View live
↧

Re: has_one with a dataobject

This pickerfield module seems to be able to handle has_one relations: https://github.com/briceburg/silverstripe-pickerfieldPosted to: has_one with a dataobject | Show Thread | Post Reply

View Article


Re: Some issues

Now that you mention - I've seen this happen a couple of days ago (version 3.1.5). Never noticed it in older versions before and I hought it was just a one time glitch... It may be a bug of some sorts,...

View Article


Not really SS related but sort of maybe

Hi SS Folks!Forgive me if this is not really SS related but I figured someone here would know and I am at a loss. I have built a site with SS and on it I have a page:www.mysite.com/about-meWhat I would...

View Article

Re: index.php showing up

I had the similar issue, style we not applied, removing the index.php solved my problem.Thanks everyonePosted to: index.php showing up | Show Thread | Post Reply

View Article

Image may be NSFW.
Clik here to view.

Re: Problem with 'uncached' inside a Layout?

This is slightly annoying I was following the approach of caching the entire page content on a page by page basis (in Page.ss) and then adding nested <% cached %> blocks with stricter/more common...

View Article


Re: Meta tags

Hi,You put your keywords in the extra meta keywords.There is no field for keywords anymore in ss31, if you like to use them you can put them in extrameta by using the full tag.Or you can create your...

View Article

Re: Simple Contact Form

http://php.net/manual/en/function.mail.phpPosted to: Simple Contact Form | Show Thread | Post Reply

View Article

Re: SS 3.0 Admin AJAX response not rendering properly

I had the same problem and looked for files starting with empty lines before the "<?php" - line.But this was not my problem, the problem were a .php file in "mysite", containing two empty lines...

View Article


Instanting Objects

I have a query regarding the various ways you can create a new instance of an object. I was wondering why there are 4 ways we can create an object in SilverStripe:1. Using the singleton function2....

View Article


Image may be NSFW.
Clik here to view.

Re: Instanting Objects

If iyou need to instantiate an object 'by hand', in version 2.x, you'd use $myobj = new MyObject(...);Of course this still works in version 3, but there's an alternative: the static factory method...

View Article

Re: Instanting Objects

Hi martimizThanks for your response, it confirms what I thought.So that said, can we look at the theory and logic behind each method.I'll start with DI, you said:"So although you could use its...

View Article

Re: Not really SS related but sort of maybe

Page Showing Not Found - 404 ErrorPosted to: Not really SS related but sort of maybe | Show Thread | Post Reply

View Article

Re: index.php showing up

Yes, I had kind of same problem and I also fixed it by removing index.php.Posted to: index.php showing up | Show Thread | Post Reply

View Article


Re: Instanting Objects

So the 4 main mechanisms you've mentioned1. Using the singleton function Only use this when you want to retrieve the same global instance of a particular object used everywhere else; Given the 'global'...

View Article

Re: Not really SS related but sort of maybe

Maybe the Subsites module could give you some ideas: http://addons.silverstripe.org/add-ons/silverstripe/subsitesPosted to: Not really SS related but sort of maybe | Show Thread | Post Reply

View Article


Re: Instanting Objects

Globals are very dangerous, in my view they should not be used at all when developing applications that will be used in production environments.PHP provides autoloading, so why reinvent the wheel by...

View Article

Re: Performance for Large Sites (My Little Performance Test)

Oops, sory, this was meant for another thread -> http://www.silverstripe.org/installing-silverstripe/show/61005Posted to: Performance for Large Sites (My Little Performance Test) | Show Thread |...

View Article


Re: index.php showing up

Hi, I am the same issue, after installing the WAMP server on my machine, I did checked the rewrite module is working, is there any clue to make it work without removing index.php or customize the...

View Article

Re: [solved] Images not resampling--not showing up in _resampled

Hi, Can you advice how to fix this. ThanksPosted to: [solved] Images not resampling--not showing up in _resampled | Show Thread | Post Reply

View Article

silverstripe vs wordpress

Greetings,Can someone tell me what the advantages of silverstripe 3 over wordpress 3.9?I did some googling but am still a bit mystified where this product fits into the market.RegardsGlenn @...

View Article
Browsing all 4235 articles
Browse latest View live