-
How does one set the worldwide template? - e.g. if you wanted to include webwork-authentic?
-
Where does one place a plugin? -- in vendor (that could be stated in the docs)
-
How to do the routing properly, so they are not overwritten on updates?
-
Maybe webwork core files should be in own repository, and the general directory setup etc. should be a scaffolding tool like krudt?
-
A little difficult to add a new page - you need both a handler and a route. Maybe there should be some standard routing, and then the possibility to create your own routing also.
-
Initial go on webwork at http://github.com/lsolesen/ghpages-manager
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<phpunit colors="true"> | |
<listeners> | |
<listener class="TestListener" file="TestListener.php"></listener> | |
</listeners> | |
</phpunit> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
UPDATE=$(git pull origin master) | |
if [[ ${UPDATE} == "Updating*" ]]; then | |
cd /home/intraface_test/intraface-git/tests | |
phpunit --process-isolation --log-tap /home/intraface_test/test.intraface.dk/testresult . > /dev/null | |
cd /home/intraface_test | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MAILTO="" | |
*/15 * * * * sh myscript.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This holds the auth controller class | |
* | |
* @package Insight | |
* @subpackage Controllers | |
*/ | |
/** | |
* The auth controller class |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name = konstrukt | |
description = konstrukt | |
core = 7.x |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require_once 'fpdf.php'; | |
class PDF_MC_Table extends FPDF | |
{ | |
var $widths; | |
var $aligns; | |
var $imgs; | |
function SetWidths($w) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class MigrateNews extends Migration { | |
public function __construct() { | |
parent::__construct(); | |
$this->description = t('Migrate news from legacy database'); | |
$this->team = array( | |
new MigrateTeamMember('Lars Olesen', '[email protected]', t('Webmaster')), | |
); | |
$query = db_select('nyhed', 'nyhed', array('target' => 'vih')) | |
->fields('nyhed', array('id', 'overskrift', 'tekst', 'date_created', 'date_updated', 'published')) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
core = "7.x" | |
name = "My Module" | |
description = "Example on how to add a filter handler with DATETIME" | |
package = "My modules" | |
php = "5.2.4" | |
project = "my_module" | |
version = "7.x-0.1" | |
files[] = "my_module_handler_filter_datetime.inc" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Implementation of hook_filter_info(). | |
*/ | |
function mp_run_calc_filter_info() { | |
$filters['mp_run_calc_filter'] = array( | |
'title' => t('Motionsplan - Input filter to show forms in nodes'), | |
'description' => t('Substitutes [motionsplan:form_name] tags with the a form from the module.'), | |
'process callback' => 'mp_run_calc_filter_process', | |
'tips callback' => 'mp_run_calc_filter_tips', |