Skip to content

Instantly share code, notes, and snippets.

@mosbth
Created December 12, 2011 07:18
Show Gist options
  • Save mosbth/1465602 to your computer and use it in GitHub Desktop.
Save mosbth/1465602 to your computer and use it in GitHub Desktop.
Install and setup Medes for MGA
git clone git://github.com/mosbth/medes.git mga
http://www.student.bth.se/~mos/mga/
cd site
cp config-sample.php config.php
cp config_setup-sample.php config_setup.php
chmod 777 data
login using adm:adm
create a new cpage
make a canonical link to your cpage
add the canonical link as a menu item in config_setup.php
point browser to setup.php and klick link "Save new configuration to database"
test it
Create a new file site/test.php, add the following to it:
$pp->SetPageTitle("Hello World");
$pp->AddView(new CView("Hello world"));
Add a canonical url that points to it. Test it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment