Quantcast
Channel:
Browsing all 4235 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Re: Limit Control Pain

Great! Happy to hear it worked Posted to: Limit Control Pain | Show Thread | Post Reply

View Article


Error 502 in admin panel on Jelastic hosting

(google translate)I installed silverstripe on Jelastic hosting, and its ok. But when I'm in the admin panel and want to see a list of pages, I get an error 502 (no other errors do not get. Silverstripe...

View Article


Product review system anyone

I have been asked to create a product review system like that of amazon etc I was wondering if this could be incorporated using the comments and if anyone had done this before ie adding 5 stars to mark...

View Article

Making it Nice

Hi guys,Ok i'm using version 3.1 beta 3 and am trying to display the value of a boolean and also of a date field 'Nice' in a model admin page. I used to use the code below to do this but now i get...

View Article

Image may be NSFW.
Clik here to view.

Re: Limit Control Pain

Ahh, the images won't link back to their Product page I've tried $Top.Link $Parent.Link $Link.LinkIs a function needed to get this to work since I'm basically asking a DataObject to link to it's parent...

View Article


Re: Limit Control Pain

It's important to remember how your objects are related. In your GalleryImage.php class you're using "BelongToProduct" as the has_one relationship to a Product page. So try...

View Article

Issue with 31/12/2012

'Date' => 'Date'...$datefield->setConfig('dateformat', 'dd/MM/YYYY')When the user selects 31/12/2012 the CMS re-formats the date to 31/12/2013?I am not using anything outside the standard date...

View Article

Re: Making it Nice

Could you paste in the actual error and error backtrace?Posted to: Making it Nice | Show Thread | Post Reply

View Article


How to get field value from DataObject in custom Image Class

I have a custom Image Class which is attached to a DataObject, and I would like to know how to access the value of a checkbox field in the DataObject from the Image Class. I guess the DataObject is the...

View Article


Re: Issue with 31/12/2012

how about "dd/MM/yyyy"?Posted to: Issue with 31/12/2012 | Show Thread | Post Reply

View Article

cron tasks and database not defined in SS 2.4

Hi there,I'm stuck on a problem with schedulded tasks. I have read thishttp://api.silverstripe.org/2.4/class-ScheduledTask.htmland thishttp://deadlytechnology.com/silverstripe/scheduled-tasks/and...

View Article

Re: Making it Nice

Try setting private static $searchable_fields = array();. It may have been fixed before beta3, but there was previously a bug which meant that $summary_fields wouldn't work without $searchable_fields...

View Article

Re: Making it Nice

Hi there,I have $searchable_fields still no go. below is the error details i get.[User Error] Uncaught Exception: Unable to traverse to related object field [NiceShow] on [MarketDate]GET...

View Article


Image may be NSFW.
Clik here to view.

Passing an ID value to a function

I want to achieve a seemingly simple task, however I have been searching the web and the forums here to no avail for more than a week My problem is this I have enabled search form in a silverstripe...

View Article

Wrong path in css on server

Hi there, Ok I've never come across this before. I've just uploaded a website for a client who had their own hosting (always a nightmare!) with TsoHost. Everything looks to be fine except for image...

View Article


Re: Wrong path in css on server

PS I'm not sure if was worth mentioning but in my Page.php file I am concatenating my css and js files like so:   // ******************** concatenate all javascript and css ******************** //...

View Article

xxx.com/index.php to xxx.com

HelloI'm using Silverstripe 3. Would anyone know how my htaccess has to look like, so that mod_rewrite is active. I want to get rid of the index.php within the URL. And if I just copy the htaccess text...

View Article


Re: Change Mysql user password and database

Just in order to help people having the same problem as me - in silverstripe 3.0 the database user and password is in the file _ss_environment.php, the database in mysite/_config.php.Have fun!Posted...

View Article

unable to add group / role - internal server error

Hello,I created a website for my school with silverstripe 3.0. Now I'm configurating accounts for my colleagues but can't create a new group or role, when I click on the button it comes an "internal...

View Article

Re: Can't Get $Layout Working

Sounds like you just needed to run ?flush=1 on the page.Posted to: Can't Get $Layout Working | Show Thread | Post Reply

View Article
Browsing all 4235 articles
Browse latest View live