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

Store session inside Controller

http://www.sspaste.com/paste/show/529d15c90b2f7I have a Controller with 2 functions - PostForm() and doPost(), to show form and to handle POST action accordingly. In my form I want to add my own field,...

View Article


Re: Small Display Bug after Update to SS 3.1.2

Hi,cms/javascript/lang/de.js is incomplete. Maybe in other language files, too.The following solved the Problem for the german translations:if(typeof(ss) == 'undefined' || typeof(ss.i18n) ==...

View Article


Re: Store session inside Controller

First, the submit method won't be called unless all fields are validated... So the your goal should be to create a new MyCaptchaField class and add your logic and validation there.Something like:class...

View Article

Re: Upload HTTP Error

Dit you try putting your site in dev mode? That might give you the actual error. Just in case - architectural design program kind of triggers this response: sometimes cad files can be small in size...

View Article

Image may be NSFW.
Clik here to view.

Re: **SOLVED**Main Nav link to Subpage?

Martimiz thank you so much. I knew there had to be an easy solution but I had no idea about redirector pagetypes!Brilliant and thanks again Posted to: **SOLVED**Main Nav link to Subpage? | Show Thread...

View Article


Re: Image rotate($angle)

More people have commented on the fact that Silverstripe's GD->rotate() function doesn't support png transparency. I'm not sure if this is still the case in 3.1, but if so, maybe someone has written...

View Article

Re: Translation workflow

Out of the box, SilverStripe doesn't provide a system to export webcontent. Maybe there is a module around that does just that. Otherwise it shouldn't be too hard to do a MySQL query to get the fields...

View Article

Image may be NSFW.
Clik here to view.

Re: Image rotate($angle)

Hi again Martimiz I hadn't realised it didn't support png. And i'm on SS2.4 for this website. (I haven't actually worked with SS3 yet).Ah well, back to photoshop so Cheers!Posted to: Image...

View Article


Add page no longer redirects

Anyone has problems saving new pages and uploading documents? The interface never redirects back to the listing for me, it just sits there loading I guess an ajax problem (3.0x)? Both on my dev and...

View Article


Re: Add page no longer redirects

The problem seems to be that on my site Page is extended from ProtoPage which extends from SiteTree, guess the CMS is expecting the Page to extend directory from SiteTree or something in my ProtoPage...

View Article

Re: Add page no longer redirects

Ignore my last reply, one of the files had a blank line before the php start tag!Posted to: Add page no longer redirects | Show Thread | Post Reply

View Article

Log in problems after installation

Hi. I installed WEBPI. I clicked on the 'Content Management System' link. It asks me to log in but I can't. I don't understand what e-mail and password have I to fill in. And I had the same problem...

View Article

Image may be NSFW.
Clik here to view.

Re: Small Display Bug after Update to SS 3.1.2

Hi Dacar,in my opinion there are three things related to the issue:1.) The old behavior to fall back to the default language was broken by changing the language names from long names to short names...

View Article


Re: Small Display Bug after Update to SS 3.1.2

Hi Dacar,one more thing I just noted when I copied your translation to my system.In your code the language name for the addDictionary function call is "de_DE", but version 3.1.2 (or my 3.1.x-dev) use...

View Article

Image may be NSFW.
Clik here to view.

Re: Image rotate($angle)

For the record: It does support png, just not the transparancy bit it seems Posted to: Image rotate($angle) | Show Thread | Post Reply

View Article


Re: Store session inside Controller

Thank you Devlin for you interest.In my case security token is not enough just because is it not difficult to parse it by some spam engine. I want to disallow comments posted in 60 sec after page was...

View Article

Logging in returns "Action 'Security' isn't available on class Security."

When ever I try to log in to the backend of my silverstripe site, all I get is a blank page with "Action 'Security' isn't available on class Security." I've run dev/builds and flushes, but without...

View Article


Re: Logging in returns "Action 'Security' isn't available on class Security."

You're missing a <% base_tag %> in <head> section of your template.Posted to: Logging in returns "Action 'Security' isn't available on class Security." | Show Thread | Post Reply

View Article

Re: Logging in returns "Action 'Security' isn't available on class Security."

Worked instantly, thanks man.Posted to: Logging in returns "Action 'Security' isn't available on class Security." | Show Thread | Post Reply

View Article

Re: Store session inside Controller

Ok, I did it with dirty hack:public function PostForm() { if(strpos($_SERVER["REQUEST_URI"],"PostForm") === false) { Session::set("captcha",$captcha); } ...}Posted to: Store session inside Controller |...

View Article
Browsing all 4235 articles
Browse latest View live