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

CSV Import members with password

When I import members from a CSV file, it imports the passwords, and applies the encryption. Problem is, the passwords are already encrypted, so it should be leaving them as is. Has anyone come accross...

View Article


Re: Unable to use javascript in ModelAdmin

firstly, check the source code to check the js file is actually loading...if is it is, you'll need 'entwine' it. The example below is runs when the a custom model is openned... simply put, it waits for...

View Article


Re: Redirect to current URL (with URL params)

In SS3 you need to use 'Controller' instead of 'Director'I also has a few issues doing a very similar thing, and I ended up with the following instead:$referrer =...

View Article

Re: Redirect to current URL (with URL params)

Thanks guys. I was really checking to see if Silverstipe had a built in method of simply obtaining the pages current URL including the Query String. It looks like it doesn't.Your examples will work, as...

View Article

Insert Media Blank Popup

Hi ThereI have moved a silverstripe site from a subdomain, to a top level domain, for one of my customers and am now getting a strange problem.When they are using the wysiwyg editor and they click on...

View Article


Re: Unable to use javascript in ModelAdmin

Great, this is it, now it works! Great thanks!Posted to: Unable to use javascript in ModelAdmin | Show Thread | Post Reply

View Article

Changing datatype IDs to titles in ModelAdmin

GuysPlease see attached, I have a model VehicleType<?phpclass VehicleType extends DataObject{ static $db = array ( 'VehicleTypeName' => 'Varchar(255)', 'VehicleRegRequired' => 'Boolean' );...

View Article

Re: Changing datatype IDs to titles in ModelAdmin

You should be able to do it like this:public function getTitle() {   return $this->VehicleTypeName;}Posted to: Changing datatype IDs to titles in ModelAdmin | Show Thread | Post Reply

View Article


Access $_SESSION in Silverstripe Controller

Hi,We are using silverstripe as a CMS and the core product is separate but both on same domain. So all session management is doing by other product using PHP native sessions. What i want is to access...

View Article


Re: Access $_SESSION in Silverstripe Controller

better to use..if ($member = Member::currentUser()) { return $member->FirstName;}Posted to: Access $_SESSION in Silverstripe Controller | Show Thread | Post Reply

View Article

Re: Access $_SESSION in Silverstripe Controller

Thanks for reply.Both SS and other website lie on same domain. I have started the session in other website. Now what i want is to get the session value by $_SESSION in SS. Can i?What this code do, does...

View Article

Re: Access $_SESSION in Silverstripe Controller

>>What this code do, does Member::currentUser() access the current session or what?Simple answer - read it - it is open source.But yes it does.>>Can i?yes$_SESSION['loggedInAs']not hard to...

View Article

Re: Zepto in Front End Issues

Hi,Judging from your code, i assume you've used the foundation framework from Zurb.I ran into the same problem and solved it (how strange it might sound) by getting jquery.js and zepto.js out of the...

View Article


Re: Zepto in Front End Issues

That's because foundation puts those directory in a directory called vendor and the standrd htaccess file for silverstrip restricts folders named vendor. My problem is whne teh stadard call gets...

View Article

Kitchen Ideas Birmingham

Kitchen Ideas Birmingham Try looking at www.kitchendesign1.co.uk. They have some amazing designs and prices. Kitchen Ideas Birmingham.Kitchen Ideas BirminghamPosted to: Kitchen Ideas Birmingham | Show...

View Article


Kitchen Planning Burgesshill

Kitchen Planning Burgesshill Try looking at www.kitchendesign1.co.ukThey have some amazing designs and prices.Kitchen Planning...

View Article

Re: Zepto in Front End Issues

Complete guess as I have no idea what's causing it, but I'd try wrapping it in CDATA tags:<![CDATA[<script>....</script>]]>If that doesn't work, perhaps put the snippet in a template...

View Article


Kitchen Planning Burgesshill

Kitchen Planning BristolTry looking at www.kitchendesign1.co.ukThey have some amazing designs and prices.Kitchen Planning...

View Article

Submit Form to Another PHP Page

We had chosen Silverstripe as a CMS, frontend for customers. All the code/backend functionality is on another PHP app. I just want to post the Silverstripe form to another PHP page so i get the submit...

View Article

Image may be NSFW.
Clik here to view.

Re: Access $_SESSION in Silverstripe Controller

Thanks i sorted out. Posted to: Access $_SESSION in Silverstripe Controller | Show Thread | Post Reply

View Article
Browsing all 4235 articles
Browse latest View live