get_base_tag returns is strange
I was looking at the results of <% base_tag %> in SilverStripe 3.1.2. It is returning a address string plus index.php. That is, it is returning http://www.example.com/index.php. Was this...
View ArticleShowing images from UploadField in custom template
Hi there,I have a DataExtension, which is named in _config.php as:Product::add_extension('ProductImages');this is done to extend the "Product" class which in turn is a page type that extends Page.php.I...
View ArticleRe: Showing images from UploadField in custom template
I copied your extension code and attached the DataExtension to my Page pagetype and it all seems to work. Note, I used the following front end template code from your example (your 2nd example does...
View ArticleRe: Showing images from UploadField in custom template
Thanks so much for testing Camfindlay.. i dont realy know what to say, i have probably done 50 or so ?flush=1, dev/builds and reworking the bit of code, i took time out to work on a custom login form...
View ArticleRe: Showing images from UploadField in custom template
glad to hear it is working, if you manage to work out why it occurred it might be valuable to post that here in case others have similar problems in there projects.Posted to: Showing images from...
View ArticleSecurity/login?BackURL=
Using a custom template for login from the homepage i have found that when a user clicks login link they can login but it redirects to a 404 page not found, however if in my browser i type in...
View ArticlePhoto galleries do not work in v3.12
Hiand a happy new year to one `n allI have a fresh install of v 3.12 with various latest modules installed and working fine ie: blog, forum, userformsalso gridfieldbulkeditingtools, sortablegridfield,...
View ArticleRe: Two questions about the CMS.
Thank you swaiba and kinglozzer for your replies that solves one question still leaves me with the tree question. I cant imagine that there is not a straight forward no hackish feeling way to implement...
View ArticleRe: $MetaKeywords not displaying anything
Hi vxd,In case you're still waiting for an answer. I've just come across the same issue, but got around it by typing the actual "html syntax" for "Tags" under "Metadata" and that works for me now. I...
View ArticleRe: get_base_tag returns is strange
If you have RewriteBase enabled and working then you shouldn't have that index.php there (unless you accessed the site through index.php in the URL). Could also try hard code the base...
View ArticleuploadField style and conversion
Hi Team,- When i create an upload field instance at the backend, some styles has gone or been missed such as icons, .. which should be the same as it is at backend, do u know which additional files(js...
View ArticleComplete transition to jQuery library
In Wikipedia athttp://en.wikipedia.org/wiki/SilverStripeit says the following[START OF EXTRACT]Notable features of upcoming releases of SilverStripe include:Complete transition to jQuery library...
View ArticleVirtual Pages problems
Just started to use SilverStripe 3.1.2. The cms/framework is very powerful and gives me a lot of flexibility.That being said i seem to have hit a relative big problem for my current...
View ArticleDirector::direct('SOME_URL') requires a model as second parameter...
I try to redirect from one page to another and I get a Php-Notice about a missing model parameter[Notice] Undefined variable: modelPOST /home/UserDataFormLine 145 in...
View ArticleRe: Director::direct('SOME_URL') requires a model as second parameter...
Director::direct() lsnt used for browser redirections.You want redirect on a controller object or response objectPosted to: Director::direct('SOME_URL') requires a model as second parameter... | Show...
View ArticleRe: Director::direct('SOME_URL') requires a model as second parameter...
Ok,I think I found it.I had in mind some SS 2.4 snippets Director::redirect('SOME_URL');but this is now:$this->redirect('SOME_URL');as long as I am in a Controller-Object.Is that right?Posted to:...
View ArticleRe: Adding Logo field to SiteConfig
Just tested your code on a complete fresh copy of the latest stable version (3.1.2), seems to all work perfectly. Make sure you have run a dev/build (either in the browser http://localhost/dev/build/...
View ArticleRe: Adding Logo field to SiteConfig
I would like to point to this post. http://www.silverstripe.org/customising-the-cms/show/21490I don't know if it has anything to do with your problem, but there seems to be a (FireFox) issue with...
View ArticleDataObject plural_name() Method Truncates 'e'?
There is a method on DataObject which returns a 'best guess' plural name of you data object, see - http://api.silverstripe.org/3.0/source-class-DataObject.html#659-676$name =...
View ArticleRe: DataObject plural_name() Method Truncates 'e'?
Interesting I can see how this wouldn't work at all for other locales besides en_US !I'm all for just returning the singular name, that is at least a valid name, even if not syntactically correct in...
View Article