Quantcast
Channel:
Browsing all 4235 articles
Browse latest View live

Problems with the field Date

Using Silverstripe version 2.4 ==== === I created a date field in my file artista.php <? php class Artist extends DataObject   { public static $ db = array ("BirthDate" => "Date"); From the CMS...

View Article


Re: How to send parameters from template to a function in PHP

Hi Maga,Try moving the getBirthday function to the class that your <% Control Artista_Album %> is looping through. In that class modify the getBirthday function like so.getBirthday function () {...

View Article


Re: Login Redirects back to login page

No one is having this issue? Or did I miss it in the forum somewhere? Any help would be greatly appreciated!!!Posted to: Login Redirects back to login page | Show Thread | Post Reply

View Article

Re: How to send parameters from template to a function in PHP

HI YOTI,thanks for your help but I tried to follow your directions but the template / html do not return any data?For additional information:The template catalogoartisti.ss is based on...

View Article

CronJob Tasks

Hello, i need to use cronjobs with the silverstripe framework environment.In the silverstripe documentation i have found a solution with sake and tasks.I have three questions/problems with this...

View Article


Replacing "Content" WYSIWYG with Textarea

The main "Content" field is a WYSIWYG editor by default. How can I make it a textarea instead?Posted to: Replacing "Content" WYSIWYG with Textarea | Show Thread | Post Reply

View Article

Using Font Awesome

Hello friends,i have to use "Font Awesome - icon-font kit with one of my ss project based on version 2.5.4 Since i am new in this, so i don't have any idea how to i use iti appreciate if anybody could...

View Article

Missing nl2br() for readonly TextareaField

If you use a TextareaField object and make it readonly with $fields->makeReadonly() the content (saved priviously in a writable form) shows it without any breaks. It should call nl2br() before...

View Article


Image may be NSFW.
Clik here to view.

Re: Missing nl2br() for readonly TextareaField

Hi m-phil,I'm sure this is the kinda thing that silverstripe would great appreciate as a pull request Posted to: Missing nl2br() for readonly TextareaField | Show Thread | Post Reply

View Article


Re: Replacing "Content" WYSIWYG with Textarea

Using something live this...https://github.com/markjames/silverstripe-textilefield/blob/master/code/decorators/TextileSiteTreeDecorator.phpPosted to: Replacing "Content" WYSIWYG with Textarea | Show...

View Article

Re: Problems with the field Date

I use the following for a UK date format... hope it helps...class MyObj extends DataObject() {...static $db = array('MyObjDate' => Date)...function getCMSFields() {$fields =...

View Article

Re: Missing nl2br() for readonly TextareaField

ok, great give me the link ;-)Posted to: Missing nl2br() for readonly TextareaField | Show Thread | Post Reply

View Article

Re: Missing nl2br() for readonly TextareaField

https://github.com/silverstripe/silverstripe-framework/issuesHit the "New Issue" button. Please review...http://doc.silverstripe.org/framework/en/trunk/misc/contributing/codePosted to: Missing nl2br()...

View Article


Re: Missing nl2br() for readonly TextareaField

ok thx swaibahttps://github.com/silverstripe/silverstripe-framework/issues/3128Posted to: Missing nl2br() for readonly TextareaField | Show Thread | Post Reply

View Article

BackURL redirect from base page

When my users first go to the website, they use the URL http://www.example.com and they are redirected to http://www.example.com/index.php/Security/login?BackURL=%2F, if they try to login, they are...

View Article


Re: Problems with the field Date

Hi Swaiba,thanks for your help but I was not able to apply your help. I have tried various combinations of your code but when I enter in the dataobject to the back end, out the error :Undefined...

View Article

Re: Problems with the field Date

Hi,You are correct that exact code isn't tested - but it was cut/pasted from well used production code.Which version are you using?Do you have any experience in using getCMSFields to manipulate the...

View Article


3.1 Silverstripe Templates not refreshing

I have a 3.1 site that whilst it was on my testing server I had no problems with it, but on the live server the templates won't refresh.Things I have tried:1. Adding ?flush=all to the url2. Adding...

View Article

Re: 3.1 Silverstripe Templates not refreshing

I had the same problem due to a different configuration on my (shared) live server.Everytime you use ?flush, I ended up with a redirect URL of ?flush=&amp;flushtoken=xxx instead of...

View Article

business problem solution specialist baba ji+91-9815432022

czzin foreign.6. Desired love.7. Disputes between husband / better half.8. issues in study.9. unfruitful ladies.10. Intoxication.Posted to: business problem solution specialist baba ji+91-9815432022 |...

View Article
Browsing all 4235 articles
Browse latest View live


Latest Images