Login | Forgot password | Register
What is OpenID?
OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.
With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.
For more information visit the official OpenID site.
General Questions
SilverStripe Forums » General Questions » Quickl list module
General questions about getting started with SilverStripe that don't fit in any of the categories above.
|
Page:
1
|
Go to End | |
| Author | Topic: Quickl list module | 182 Views |
-
Quickl list module

11 February 2009 at 3:31pm
Hello!
I'm trying to make a module for quick links (like the one that has siverstripe) Can anybody point me in the right direction, or is there a tutorial in SS where I can follow steps. So far I made this:---------------------------------------------------------------------------
MySite/code/Column1.php<?php
/**
* Defines the first column for quicklinks page type
*/class Column1Page extends Page {
static $db = array(
);
static $has_one = array(
);}
class Column1Page_Controller extends Page_Controller {
}
?>---------------------------------------------------------------------------
themes/myTheme/Theme1/Template/Page.ss....
<div id="quicklinks">
<% include Quicklinks %>
</div>
.....---------------------------------------------------------------------------
themes/myTheme/Theme1/Template/Includes/Quicklinks.ss<div id="Column1"><% include Column1Page %></div>
<div id="Column2">Column 2</div>
<div id="Column3">Column 3</div>----------------------------------------------------------------------------
themes/myTheme/Theme1/Template/Layout/Column1Page.ss<div id="Column1">$Content</div>
| 182 Views | ||
|
Page:
1
|
Go to Top |
Currently Online: paul.mcilwaine, motly, jondbaker, sicp
Welcome to our latest member: fearofbuttons

