Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

edited README.md

  • Loading branch information...
commit e3d69448687479141ec2d4586466c73aeb1c2ed5 1 parent c95ed0a
Aram authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 README.md
View
12 README.md
@@ -23,15 +23,15 @@ Unpack and copy the mobile folder into your SilverStripe project.
Create 3 new Classes; The Item class, the Admin Class and the Listing Page class.
-The Item class must extend DataObjectAsPage
-The Admin class must extend DataObjectAsPageAdmin
-The Listing Page class must extend DataObjectAsPageHolder and DataObjectAsPage_Controller
+* The Item class must extend DataObjectAsPage
+- Inside the Item Class you must define: static $listing_page_class = '[YourListingPageClass]';
-Inside the Item Class you must define: static $listing_page_class = '[YourListingPageClass]';
+* The Admin class must extend DataObjectAsPageAdmin
+- Inside the Admin Class, you need to define the standard ModelAdmin attributes
-Inside the Admin Class, you need to define the standard ModelAdmin attributes
+* The Listing Page class must extend DataObjectAsPageHolder and DataObjectAsPage_Controller
+- Inside the ListingPage Controller Class you must define: static $item_class = '[YourItemClass]';
-Inside the ListingPage Controller Class you must define: static $item_class = '[YourItemClass]';
Run "dev/build" in your browser, for example: "http://localhost/silverstripe/dev/build?flush=all"
Please sign in to comment.
Something went wrong with that request. Please try again.