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

Pages disappearing from Site Tree after Delete Draft

Hi,spent the afternoon playing around with 3.1.4 when i came across this very strange behaviour. Working through the tutorials I've added a couple of pages. They show up in the Admin Sitetree and...

View Article


Re: Pages disappearing from Site Tree after Delete Draft

Trying to reproduce this in various ways.Edit ModeIf i delete a draft I can still access the deleted page in Sitetree and get the Restore Button. Once i log out and back in the Page is gone for...

View Article


Method location best practises

When choosing whether to place my template method in the Controller or the Model - what are the general best practises?For instance I have a method to get a simple 'copyright' strapline that sits in...

View Article

Re: addHeader memberprofiles

same here. Would be great to get a fix for this. $this->response->addHeader('X-Frame-Options', 'SAMEORIGIN');This is recommended here: http://doc.silverstripe.com/framework/en/topics/securitybut...

View Article

Re: addHeader memberprofiles

I guess an obvious work around is if(is_object($this->response)){ $this->response->addHeader('X-Frame-Options', 'SAMEORIGIN'); }Posted to: addHeader memberprofiles | Show Thread | Post Reply

View Article


Ajax 404 problem

I'm trying to get first things first in Ajax in SS 3.1 with this rudimentary example of an Ajax calculator:JS:$('button').on('click', function(){ $.get('myajax/add/5/6', function(data){...

View Article

Global contact fields

Hi all,I would like to ask you a very basic question. I wanted to make tab 'contacts' in admin page edit where will be everything. From phone numbers, address, to social links. It works like a charm,...

View Article

Checking variables of a chlid

Hello,I am trying to achieve few things. I have a TeamHolder Page and then children of TeamHolder are TeamPlayer. I would like to write a method in TeamHolder that is going to check if TeamPlayer has a...

View Article


Admin password not working

I changed the email address for admin in the mysql member table.Since that time, I cannot log in as admin. It keeps reporting that the credentials are not correct.If I request a password reset, I get...

View Article


Re: Pages disappearing from Site Tree after Delete Draft

Just wanted to say I have also experienced this behaviour when unpublishing and then deleting drafts.I end up with some sections of pages completely missing from the displayed site tree.I have to log...

View Article

Re: Pages disappearing from Site Tree after Delete Draft

If you feel this may be a bug, and it hasn't been reported yet, please create an issue on GitHub here:https://github.com/silverstripe/silverstripe-cms/issues?state=openThanks, MartinePosted to: Pages...

View Article

Image may be NSFW.
Clik here to view.

Re: Admin password not working

Just to make sure - did you actually change it in the Member table by hand or the intended way, by using the CMS? As this happened immediately after changing the e-mailaddress, you could try changing...

View Article

Re: Checking variables of a chlid

In your template you're calling the MySocialClass() function from within the Children loop. At that point you are already within the context of the TeamPlayer page, so the function in the...

View Article


Re: Global contact fields

That is where the SiteConfig class comes in - see the Settings menuitem in the left menubar. Here you can add your sitewide settings. The way to do that is create a DataExtension for the SiteConfig,...

View Article

Re: Disabling Requirements from controller

I'm not sure what you are trying to do, and I've never used this function. So just to make sure: are you aiming at removing one or more requirements that are, for instance, loaded from another module?...

View Article


Image may be NSFW.
Clik here to view.

Re: Global contact fields

Hi martimiz, can it be that easy? I followed instructions on that link you posted and solved it in five minutes. Thank you very much for your help. Now it works across whole page and its nicely wrapped...

View Article

Stupid Image Question

Ok, call me stupid but how does one change an image in an editor field in Silverstripe 3.1 without deleting it first (and thus losing relevant links etc)?If one clicks the editor button or uses the...

View Article


Re: Stupid Image Question

You could try using the versioned files module, allows switching images without having to change everywhere that the image has been used.See...

View Article

Re: Stupid Image Question

Thanks I will have a look.The funny thing its that despite its other idiosyncrasies in this department, 2.4 did not work like this and image change was simple..JulianPosted to: Stupid Image Question |...

View Article

Re: Stupid Image Question

Sadly that module works only in the files tab and not in the page edit mode. This leaves either the image icon or the context menu as the only means to manipulate the image - and manipulate it you...

View Article
Browsing all 4235 articles
Browse latest View live