Quantcast
Channel:
Browsing all 4235 articles
Browse latest View live

Adding custom sidebar navigation to each page selectively?

Just started testing out SilverStripe and I'm liking how I can add sub page very much. I'm curious if SS will be able to do this? My website is a Final Fantasy website and there are tons in the...

View Article


Re: Adding custom sidebar navigation to each page selectively?

Hello Panupat!This would be very easy to achieve in SilverStripe! You could take advantage of the Menu() and Children() function in your template to achieve what you want. You would most likely put...

View Article


Re: PaginatedList error

Is your function in the controller class? i.e in the "class Page_Controller extends ContentController"Posted to: PaginatedList error | Show Thread | Post Reply

View Article

Image may be NSFW.
Clik here to view.

Re: Adding custom sidebar navigation to each page selectively?

Thanks IOTI. But if I do a loop, I would get links to all pages. There are going to be a lot of pages in my site. For ex.FF1- sub pagesFF2- sub pagesFF3- sub pages......FF14- subpagesLet's say I'm...

View Article

Re: Adding custom sidebar navigation to each page selectively?

Hey Panupat,Take a look at the <li> element in the code i provided.<li><a href="$Link" class="$LinkingMode">$Title.XML</a>the $LinkingMode template variable will return either...

View Article


[Solved] Uploading (dumping fields) to database

Hi i have created a page like this:Problema.php<?phpclass Problema extends DataObject { static $db = array( 'Desc' => 'Varchar', 'FEN' => 'Varchar(90)', 'Lances' => 'Varchar(200)', );...

View Article

Image may be NSFW.
Clik here to view.

Re: [Solved] Uploading (dumping fields) to database

Solved it was a \r on the Lances field, i changed Lances to Text but the \r was there and making me nut i replaced them on my .sql file and dumped again, and now is working fine.when i upload site to...

View Article

Re: SS 2.4: modifying generated markup "assets" path

Thanks Willr - that's ultimately what I wound up doing.Setup a "Search and Replace" custom script, which gets run at the very end of the static exporter batch script I created.Guessing that I could...

View Article


Mutiple File picker/ multiple image picker?

Hi there, I'm very new to Sliverstripe.I want to be able to attach or associate multiple files to a page type.for example I have a page type 'Album' and I want to pick multiple mp3 tracks that have...

View Article


Re: Attaching same image to several dtaobjects

did you found a solution, because i have the sae issue?Posted to: Attaching same image to several dtaobjects | Show Thread | Post Reply

View Article

DropdownFields -with image

is it possible to have dropdown fields each option as an image instead of text.This is for SS3 Admin area.I suppose i could/ should use OptionField instead?I was thinking a dropdown field may save...

View Article

Hip Hop (for PHP)

Hi,Has anyone had any experience with Silverstirpe (preferably 2.4.x) and https://github.com/facebook/hiphop-php ?BarryPosted to: Hip Hop (for PHP) | Show Thread | Post Reply

View Article

How to detect how long the user is logged in

Hello I wonder if there is a way in SS to tell how long the user logged in from the front end? I will then record this and show it in the CMS backend. thanksBenPosted to: How to detect how long the...

View Article


Re: SS3 updateCMSFields issue when decorating extended Page class

I am using the silverstripe ecommerce module https://github.com/sunnysideup/silverstripe-ecommerce/I got the same problem. There are 2 lines as mentioned by nimesodelta://prevent calling...

View Article

Re: Creating an editable jQuery Tabbed Panel

I'm surprised that it has been 10 days since my original request for help with this. For the most part I have been really impressed with the willingness of the members of this forum to help...

View Article


Re: How to detect how long the user is logged in

Hi Ben,Not something I've attempted before, but I believe you can store login attempts by using:Security::set_login_recording(true);Perhaps you could use this data? Something along the lines...

View Article

Re: How to detect how long the user is logged in

Security::set_login_recording(true); will only make sure SS to record every login attempt. However, it will not record how long a user login for one session. I think we need some Ajax script to 'ping'...

View Article


Re: Hip Hop (for PHP)

For others interested (and reference) https://groups.google.com/forum/#!topic/silverstripe-dev/l1cjYU7q4r4.Posted to: Hip Hop (for PHP) | Show Thread | Post Reply

View Article

Re: Mutiple File picker/ multiple image picker?

UploadField supports many_many relationships which you can use in this case - http://doc.silverstripe.org/framework/en/reference/uploadfieldPosted to: Mutiple File picker/ multiple image picker? | Show...

View Article

Re: How to detect how long the user is logged in

Hi Ben,Yes I know that it will only record the login, not how long they're logged in for, but you can use that time as the 'start' point - i.e. when they first logged in.If you need to record how long...

View Article
Browsing all 4235 articles
Browse latest View live


Latest Images