├── .gitignore ├── README.md └── site-regular ├── assets └── index.php ├── config.php ├── install ├── files │ ├── 1002 │ │ ├── psych_cartoon_4-20.0x260.jpg │ │ ├── psych_cartoon_4-20.300x0-is-hidpi.jpg │ │ ├── psych_cartoon_4-20.400x0.jpg │ │ └── psych_cartoon_4-20.jpg │ ├── 1021 │ │ ├── screen_shot_2017-01-27_at_10_46_35_am.0x260.png │ │ ├── screen_shot_2017-01-27_at_10_46_35_am.600x0.png │ │ └── screen_shot_2017-01-27_at_10_46_35_am.png │ └── README.txt ├── info.php ├── install.sql └── screen_shot_2017-01-27_at_1_30_19_pm.png ├── modules ├── Helloworld │ └── Helloworld.module ├── InputfieldCKEditor │ ├── README.txt │ ├── config-body.js │ ├── config-body.min.js │ ├── config.js │ ├── config.min.js │ ├── contents-inline.css │ ├── contents.css │ ├── mystyles.js │ ├── mystyles.min.js │ └── plugins │ │ └── README.txt └── README.txt ├── ready.php └── templates ├── _init.php ├── _main.php ├── _uikit.php ├── admin.php ├── basic-page-edit.php ├── basic-page.php ├── blog-post.php ├── blog.php ├── categories.php ├── category.php ├── errors ├── 500.html └── README.txt ├── home.php ├── scripts ├── main.js └── main.min.js ├── search.php ├── sitemap.php └── styles ├── images ├── coffee1.svg ├── coffee2.svg ├── coffee3.svg └── coffee4.svg └── main.css /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ProcessWire Uikit 3 site/blog profile 2 | 3 | This is a simple ProcessWire site profile that is somewhat like our default site profile, 4 | but also includes a blog. It demonstrates development of various features including some 5 | recently introduced on the ProcessWire 3.x development branch. The front-end of this 6 | profile uses the Uikit 3 library and includes a library of time-saving functions for 7 | working with Uikit 3. Below are a few highlights you'll find in this site profile: 8 | 9 | - Use of markup regions and the new ProcessWire functions API. 10 | - Use of Uikit 3 in template files and includes a handy PHP library of Uikit-specific functions. 11 | - Demonstrates front-end editing features on this page. 12 | - Uses pagination (after 10+ blog posts) and demonstrates use of comments as well. 13 | - Demonstrates use of a Page reference field, as used by categories in the blog. 14 | - The template files are easy-to-read and modify, and serve as a good platform to build from. 15 | - Demonstrates implementation of a custom hook function (see in the /site/ready.php file). 16 | 17 | ## Requirements 18 | 19 | - ProcessWire 3.0.51 or newer 20 | - Uikit 3 (already present in /site/templates/uikit/) 21 | - PHP 5.4 or newer 22 | 23 | ## How to install 24 | 25 | 1. Obtain a fresh copy of ProcessWire 3.0.51 or newer, and place/unzip it on your server. 26 | 27 | 2. Place the /site-regular/ directory from this site profile into the directory where 28 | you placed/unzipped ProcessWire. You will see other site directories already there, 29 | like /site-default/, which is included with the PW core. You can leave them for now. 30 | 31 | 3. Now install ProcessWire by accessing the URL it lives in from your web browser. When 32 | it asks you to choose a site profile, choose the "Uikit 3 site/blog profile". 33 | 34 | 35 | -------------------------------------------------------------------------------- /site-regular/assets/index.php: -------------------------------------------------------------------------------- 1 | debug = true; 35 | 36 | $config->prependTemplateFile = '_init.php'; 37 | $config->appendTemplateFile = '_main.php'; 38 | $config->useMarkupRegions = true; 39 | $config->useFunctionsAPI = true; 40 | $config->dbCharset = 'utf8mb4'; 41 | $config->dbEngine = 'InnoDB'; 42 | 43 | 44 | /*** INSTALLER CONFIG ********************************************************************/ 45 | 46 | 47 | -------------------------------------------------------------------------------- /site-regular/install/files/1002/psych_cartoon_4-20.0x260.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryancramerdesign/regular/a8228074dfdc8ea99da80d23429b5f9cfa644f2f/site-regular/install/files/1002/psych_cartoon_4-20.0x260.jpg -------------------------------------------------------------------------------- /site-regular/install/files/1002/psych_cartoon_4-20.300x0-is-hidpi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryancramerdesign/regular/a8228074dfdc8ea99da80d23429b5f9cfa644f2f/site-regular/install/files/1002/psych_cartoon_4-20.300x0-is-hidpi.jpg -------------------------------------------------------------------------------- /site-regular/install/files/1002/psych_cartoon_4-20.400x0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryancramerdesign/regular/a8228074dfdc8ea99da80d23429b5f9cfa644f2f/site-regular/install/files/1002/psych_cartoon_4-20.400x0.jpg -------------------------------------------------------------------------------- /site-regular/install/files/1002/psych_cartoon_4-20.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryancramerdesign/regular/a8228074dfdc8ea99da80d23429b5f9cfa644f2f/site-regular/install/files/1002/psych_cartoon_4-20.jpg -------------------------------------------------------------------------------- /site-regular/install/files/1021/screen_shot_2017-01-27_at_10_46_35_am.0x260.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryancramerdesign/regular/a8228074dfdc8ea99da80d23429b5f9cfa644f2f/site-regular/install/files/1021/screen_shot_2017-01-27_at_10_46_35_am.0x260.png -------------------------------------------------------------------------------- /site-regular/install/files/1021/screen_shot_2017-01-27_at_10_46_35_am.600x0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryancramerdesign/regular/a8228074dfdc8ea99da80d23429b5f9cfa644f2f/site-regular/install/files/1021/screen_shot_2017-01-27_at_10_46_35_am.600x0.png -------------------------------------------------------------------------------- /site-regular/install/files/1021/screen_shot_2017-01-27_at_10_46_35_am.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryancramerdesign/regular/a8228074dfdc8ea99da80d23429b5f9cfa644f2f/site-regular/install/files/1021/screen_shot_2017-01-27_at_10_46_35_am.png -------------------------------------------------------------------------------- /site-regular/install/files/README.txt: -------------------------------------------------------------------------------- 1 | This file is here to ensure Git adds the dir to the repo. You may delete this file. 2 | -------------------------------------------------------------------------------- /site-regular/install/info.php: -------------------------------------------------------------------------------- 1 | "Regular UIkit3 site/blog profile", 4 | 'summary' => "This is a simple/regular blog site profile that uses Uikit 3 on the front-end and demonstrates several features present in ProcessWire 3.x. Requires ProcessWire 3.0.51 or newer.", 5 | 'screenshot' => "screen_shot_2017-01-27_at_1_30_19_pm.png" 6 | ); 7 | -------------------------------------------------------------------------------- /site-regular/install/install.sql: -------------------------------------------------------------------------------- 1 | # --- WireDatabaseBackup {"time":"2017-01-27 13:32:39","user":"","dbName":"pw_xyz","description":"","tables":[],"excludeTables":["pages_drafts","pages_roles","permissions","roles","roles_permissions","users","users_roles","user","role","permission"],"excludeCreateTables":[],"excludeExportTables":["field_roles","field_permissions","field_email","field_pass","caches","session_login_throttle","page_path_history"]} 2 | 3 | DROP TABLE IF EXISTS `caches`; 4 | CREATE TABLE `caches` ( 5 | `name` varchar(191) NOT NULL, 6 | `data` mediumtext NOT NULL, 7 | `expires` datetime NOT NULL, 8 | PRIMARY KEY (`name`), 9 | KEY `expires` (`expires`) 10 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 11 | 12 | DROP TABLE IF EXISTS `field_body`; 13 | CREATE TABLE `field_body` ( 14 | `pages_id` int(10) unsigned NOT NULL, 15 | `data` mediumtext NOT NULL, 16 | PRIMARY KEY (`pages_id`), 17 | FULLTEXT KEY `data` (`data`) 18 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 19 | 20 | INSERT INTO `field_body` (`pages_id`, `data`) VALUES('1', '

This is a simple ProcessWire site profile that is somewhat like our default site profile, but also includes a blog. It demonstrates development of various features including some recently introduced on the ProcessWire 3.x development branch. The front-end of this profile uses the Uikit 3 library and includes a library of time-saving functions for working with Uikit 3. Below are a few highlights you\'ll find in this site profile:

\n\n'); 21 | INSERT INTO `field_body` (`pages_id`, `data`) VALUES('27', '

The page you were looking for is not found.

\n\n

Please use the navigation above to find the page, or use the search engine in the footer.

'); 22 | INSERT INTO `field_body` (`pages_id`, `data`) VALUES('1001', '

Dolore ad nunc, mos accumsan paratus duis suscipit luptatum facilisis macto uxor iaceo quadrum. Demoveo, appellatio elit neque ad commodo ea. Wisi, iaceo, tincidunt at commoveo rusticus et, ludus. Feugait at blandit bene blandit suscipere abdo duis ideo bis commoveo pagus ex, velit. Consequat commodo roto accumsan, duis transverbero.

'); 23 | INSERT INTO `field_body` (`pages_id`, `data`) VALUES('1002', '

Iusto incassum appellatio cui macto genitus vel. Lobortis aliquam luctus, roto enim, imputo wisi tamen. Ratis odio, genitus acsi, neo illum consequat consectetuer ut.

\n\n

Patria iriure vel vel autem proprius indoles ille sit. Tation blandit refoveo, accumsan ut ulciscor lucidus inhibeo capto aptent opes, foras.

\n\n

Dolore ea valde refero feugait utinam luctus

\n\n

\"CopyrightUsitas, nostrud transverbero, in, amet, nostrud ad. Ex feugiat opto diam os aliquam regula lobortis dolore ut ut quadrum. Esse eu quis nunc jugis iriure volutpat wisi, fere blandit inhibeo melior, hendrerit, saluto velit. Eu bene ideo dignissim delenit accumsan nunc. Usitas ille autem camur consequat typicus feugait elit ex accumsan nutus accumsan nimis pagus, occuro. Immitto populus, qui feugiat opto pneum letalis paratus. Mara conventio torqueo nibh caecus abigo sit eum brevitas. Populus, duis ex quae exerci hendrerit, si antehabeo nobis, consequat ea praemitto zelus.

\n\n

Immitto os ratis euismod conventio erat jus caecus sudo. code test Appellatio consequat, et ibidem ludus nulla dolor augue abdo tego euismod plaga lenis. Sit at nimis venio venio tego os et pecus enim pneum magna nobis ad pneum. Saepius turpis probo refero molior nonummy aliquam neque appellatio jus luctus acsi. Ulciscor refero pagus imputo eu refoveo valetudo duis dolore usitas. Consequat suscipere quod torqueo ratis ullamcorper, dolore lenis, letalis quia quadrum plaga minim.

'); 24 | INSERT INTO `field_body` (`pages_id`, `data`) VALUES('1004', '

Magna in gemino, gilvus iusto capto jugis abdo mos aptent acsi qui. Utrum inhibeo humo humo duis quae. Lucidus paulatim facilisi scisco quibus hendrerit conventio adsum.

\n\n

Si lobortis singularis genitus ibidem saluto

\n\n

Iriure, ex velit, praesent vulpes delenit capio vero gilvus inhibeo letatio aliquip metuo qui eros. Transverbero demoveo euismod letatio torqueo melior. Ut odio in suscipit paulatim amet huic letalis suscipere eros causa, letalis magna.

\n\n
  1. Feugiat eligo foras ex elit sed indoles hos elit ex antehabeo defui et nostrud.
  2. \n
  3. Letatio valetudo multo consequat inhibeo ille dignissim pagus et in quadrum eum eu.
  4. \n
  5. Aliquam si consequat, ut nulla amet et turpis exerci, adsum luctus ne decet, delenit.
  6. \n
  7. Commoveo nunc diam valetudo cui, aptent commoveo at obruo uxor nulla aliquip augue.
  8. \n
'); 25 | INSERT INTO `field_body` (`pages_id`, `data`) VALUES('1015', '

Fixed effect pulse current remote integer potentiometer anomoly. Gigabyte recognition deviation active sequential bypass echo distributed. Embedded encapsulated mainframe reducer logarithmic potentiometer duplex. Software metafile reducer deviation boolean overflow bridgeware.

\n\n

Patch internet nano. Converter a inversion recursive adaptive encapsulated transport floating-point transistorized plasma microscopic node. PC duplex partitioned. Network scalar dithering encapsulated generator normalizing. Remote interval fixed plasma normalizing microscopic procedural scalar dynamic read-only high boolean.

\n\n

Reducer hybrid force key

\n\n

Cascading wave network logarithmic digital powered scan. Frequency coordinated particle transmission supporting. Log distributed bus scan force particle computer inversion servicing reverberated device. In coordinated services backbone silicon hyperlinked. Scalar error fiber transponder digital.

\n\n

Vector developer connectivity connectivity modular supporting broadband solution. For modular vector timer indeterminate debugged optical kilohertz procedural procedural. Infrared fuzzy procedural capacitance fiber. Algorithm direct procedural echo. Digital bridgeware by timer fragmentation ethernet inducer phase network.

\n\n

Transaction active by. Effect partitioned by timer system services computer. Spawned coordinated developer fuzzy. Technician fuzzy supporting protocol coordinated ethernet. Bridgeware video remote prototype development.

'); 26 | INSERT INTO `field_body` (`pages_id`, `data`) VALUES('1021', '

Grown plus industry open for when when sharpest ordinary offer by. Better huggable opportunity too. Rosy sleek while exclusive gentle not on. Offer colossal silky this sweet magically announcing durable sold soaking our try. Sold one zesty velvety awesome flavored ever with effervescent gentle. Screamin\' improved permanent treat now tasty we space 100%.

\n\n

Think affordable artificial blast while choice. Appetizing available really thank-you out proven desire fresh rich. Natural and flash power effective grand premium. Secret lifetime grand quenches by ocean as comfort golden youthful fast. Disposable zesty dazzling open sure spacious multi-purpose the super market rare.

\n\n

Spring special bigger wherever only this comfort tummy extravaganza save. Very messy keen leading incredible.

\n\n

Hearty brand chocolatey comfort admire ultra. Want kids touch discount love appetizing talking inside buttery. For keeps admire youthful. Wherever super thirsty lasting limited discover picky can\'t.

\n\n

Good appreciate flexible product best. Full-bodied don\'t customer gigantic also.

'); 27 | INSERT INTO `field_body` (`pages_id`, `data`) VALUES('1022', '

Genuine symphony solid educated de-jour regal gifted guests. Using gilded member silk dignified gilded panoramic art politically. Diamond upper brokerage pleasure society reserved. First-class topiary treasure travel is the best wishlist vacation solid penthouse world.

\n\n

Board marquis estate career blissfull treasure saphire. Delegate cultered regal marquis cigar sterling penthouse.

\n\n

Sterling butler solid penthouse gilded gilded pedigree wine using investments cigar. Cultered doctoral symphony extra accredited. Private benefactor monogram high-rise a.

\n\n

Career gilded extra aristocratic cruise brilliant impresario. European ambassador acumen ambassador. Rare suite cruise club crafted butler grande.

\n\n

Distinctly rich auction penthouse travel.

'); 28 | INSERT INTO `field_body` (`pages_id`, `data`) VALUES('1024', '

If you are logged in with edit access to this page, you can double-click this body copy to edit it. You can also do the same to edit the headline above, or the sidebar text to the right.

\n\n

Illum aliquip loquor. Hendrerit interdico dolor zelus diam metuo causa lobortis scisco. Euismod damnum quibus ideo patria opto. Haero odio jus virtus haero pagus erat cogo diam minim vulputate autem.

\n\n

Ullamcorper venio bene

\n\n

Amet ea oppeto nullus esse meus immitto sudo dignissim. Letalis velit utrum luptatum ullamcorper illum ad fere molior populus ut. Et augue eligo jumentum populus nonummy virtus. Valetudo odio ex opes mos delenit immitto ex. Illum tincidunt commoveo nostrud et ratis ne vulputate vereor tego.

\n\n

Nulla iusto pertineo camur similis enim abigo luptatum ymo nullus. Inhibeo nutus pagus capto dolus capio pecus. Pala vereor esse melior nisl bis. Veniam eros consequat.

'); 29 | 30 | DROP TABLE IF EXISTS `field_categories`; 31 | CREATE TABLE `field_categories` ( 32 | `pages_id` int(10) unsigned NOT NULL, 33 | `data` int(11) NOT NULL, 34 | `sort` int(10) unsigned NOT NULL, 35 | PRIMARY KEY (`pages_id`,`sort`), 36 | KEY `data` (`data`,`pages_id`,`sort`) 37 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 38 | 39 | INSERT INTO `field_categories` (`pages_id`, `data`, `sort`) VALUES('1015', '1017', '0'); 40 | INSERT INTO `field_categories` (`pages_id`, `data`, `sort`) VALUES('1015', '1018', '1'); 41 | INSERT INTO `field_categories` (`pages_id`, `data`, `sort`) VALUES('1021', '1018', '1'); 42 | INSERT INTO `field_categories` (`pages_id`, `data`, `sort`) VALUES('1021', '1019', '0'); 43 | INSERT INTO `field_categories` (`pages_id`, `data`, `sort`) VALUES('1022', '1019', '0'); 44 | INSERT INTO `field_categories` (`pages_id`, `data`, `sort`) VALUES('1022', '1020', '1'); 45 | INSERT INTO `field_categories` (`pages_id`, `data`, `sort`) VALUES('1021', '1027', '2'); 46 | 47 | DROP TABLE IF EXISTS `field_comments`; 48 | CREATE TABLE `field_comments` ( 49 | `pages_id` int(10) unsigned NOT NULL, 50 | `data` text NOT NULL, 51 | `sort` int(10) unsigned NOT NULL, 52 | `id` int(10) unsigned NOT NULL AUTO_INCREMENT, 53 | `status` tinyint(3) NOT NULL DEFAULT '0', 54 | `cite` varchar(128) NOT NULL DEFAULT '', 55 | `email` varchar(250) NOT NULL DEFAULT '', 56 | `created` int(10) unsigned NOT NULL, 57 | `created_users_id` int(10) unsigned NOT NULL, 58 | `ip` varchar(15) NOT NULL DEFAULT '', 59 | `user_agent` varchar(250) NOT NULL DEFAULT '', 60 | `website` varchar(250) NOT NULL DEFAULT '', 61 | `parent_id` int(10) unsigned NOT NULL DEFAULT '0', 62 | `flags` int(10) unsigned NOT NULL DEFAULT '0', 63 | `code` varchar(128) DEFAULT NULL, 64 | `subcode` varchar(40) DEFAULT NULL, 65 | `upvotes` int(10) unsigned NOT NULL DEFAULT '0', 66 | `downvotes` int(10) unsigned NOT NULL DEFAULT '0', 67 | `stars` tinyint(3) unsigned DEFAULT NULL, 68 | PRIMARY KEY (`id`), 69 | KEY `pages_id_sort` (`pages_id`,`sort`), 70 | KEY `status` (`status`,`email`(191)), 71 | KEY `pages_id` (`pages_id`,`status`,`created`), 72 | KEY `created` (`created`,`status`), 73 | KEY `code` (`code`), 74 | KEY `subcode` (`subcode`), 75 | FULLTEXT KEY `data` (`data`) 76 | ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; 77 | 78 | INSERT INTO `field_comments` (`pages_id`, `data`, `sort`, `id`, `status`, `cite`, `email`, `created`, `created_users_id`, `ip`, `user_agent`, `website`, `parent_id`, `flags`, `code`, `subcode`, `upvotes`, `downvotes`, `stars`) VALUES('1021', 'They good night the piper good night good queen white as snow they magical beans winding path up the hill dragon beautiful dress. So loud magic wand took fought angry lion ding-dong. Winding path fought ran away whale swallowed crystal ball poison apple took the piper sang twinkled.', '2', '1', '1', 'Jim', 'jim@processwire.com', '1485450830', '41', '0.0.0.0', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36', '', '0', '0', 'aeHvmkn88ncb4214OXegP8uUrQy6D5UZcaD9pPxT9gPFDdEOf1EqCM6UD6JUnY7Jtv9MPNjcPrJWUxKhyh89r1H6nywk1Se_GdwAoj2guU_9YYa9MEgiuJUekuk93YvE', 'JzPW6751GqTqk1Oh__k0IbNfOi_Nc6nYvPPa2wl6', '0', '0', NULL); 79 | INSERT INTO `field_comments` (`pages_id`, `data`, `sort`, `id`, `status`, `cite`, `email`, `created`, `created_users_id`, `ip`, `user_agent`, `website`, `parent_id`, `flags`, `code`, `subcode`, `upvotes`, `downvotes`, `stars`) VALUES('1021', 'LED harmonic nominal femtosecond data solid alphanumeric alphanumeric. By sampling bus recursive null. Modular timer recognition passive interval. Theory capacitance application fragmentation with supporting indeterminate. Microscopic record indeterminate scalar concept deviation system.', '3', '2', '1', 'ryan', 'ryan@processwire.com', '1485453231', '41', '0.0.0.0', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36', 'https://processwire.com', '0', '0', 'eWwAZPZHyC4JcShlKDPrr5Y_rC8sntJOildm2ecqUegXPwgfwmRhyOn5ssyQhABWwaweM74e_TApOLMQu4MGt9lSf7VcxH994ciwggF0f3lpEdJ3OMtjYe4MvW4gDzNF', 'CcaWnsxrcWYxfCgnnvYc2DEN7qU3bd_7HVm3NK_0', '0', '0', NULL); 80 | INSERT INTO `field_comments` (`pages_id`, `data`, `sort`, `id`, `status`, `cite`, `email`, `created`, `created_users_id`, `ip`, `user_agent`, `website`, `parent_id`, `flags`, `code`, `subcode`, `upvotes`, `downvotes`, `stars`) VALUES('1022', 'Run Spot play help I am hungry I can help too oh no. He wants to play oh no for a ride I can help for a ride too on our bikes chase the cat for a ride. Bring it here walk we have two bark I am hungry jump high now he is funny it is Sally for a ride oh please. We can oh please down the toy I can help no Jane is looking she is happy share with them.\n\nLook too eating cake he wants to play he wants to play down don\'t worry on our bikes on our bikes. I am hungry down jump high they are silly and oh no help but. Thank you over there I can help Dick said over there on our bikes see Puff over there do it Jane is looking I can see he is fast. Quick in the wagon no jump high.', '2', '3', '1', 'Ryan', 'ryan@processwire.com', '1485528109', '41', '0.0.0.0', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36', 'https://processwire.com', '0', '0', 'CVaOB64FqwwVlmAXUbhP5KbZQDFM7OarKON1ZIb_PYP9cDkpcb0NCYp56iAPHTZoIjJEZNQ4mnuEyLkYw97XkfOgmtRDd33rfZB0Zt1yfDKOjY4tdkWP08BKUbI_MImr', 'ySOMziIfOxoi_BfPVBNxNaGVrKHGzHGtFbnbkodo', '0', '0', NULL); 81 | 82 | DROP TABLE IF EXISTS `field_comments_votes`; 83 | CREATE TABLE `field_comments_votes` ( 84 | `comment_id` int(10) unsigned NOT NULL, 85 | `vote` tinyint(4) NOT NULL, 86 | `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 87 | `ip` varchar(15) NOT NULL DEFAULT '', 88 | `user_id` int(10) unsigned NOT NULL DEFAULT '0', 89 | PRIMARY KEY (`comment_id`,`ip`,`vote`), 90 | KEY `created` (`created`) 91 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 92 | 93 | 94 | DROP TABLE IF EXISTS `field_date`; 95 | CREATE TABLE `field_date` ( 96 | `pages_id` int(10) unsigned NOT NULL, 97 | `data` datetime NOT NULL, 98 | PRIMARY KEY (`pages_id`), 99 | KEY `data` (`data`) 100 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 101 | 102 | INSERT INTO `field_date` (`pages_id`, `data`) VALUES('1015', '2017-01-25 00:00:00'); 103 | INSERT INTO `field_date` (`pages_id`, `data`) VALUES('1022', '2017-01-26 00:00:00'); 104 | INSERT INTO `field_date` (`pages_id`, `data`) VALUES('1021', '2017-01-27 00:00:00'); 105 | 106 | DROP TABLE IF EXISTS `field_email`; 107 | CREATE TABLE `field_email` ( 108 | `pages_id` int(10) unsigned NOT NULL, 109 | `data` varchar(191) NOT NULL DEFAULT '', 110 | PRIMARY KEY (`pages_id`), 111 | KEY `data_exact` (`data`), 112 | FULLTEXT KEY `data` (`data`) 113 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 114 | 115 | DROP TABLE IF EXISTS `field_headline`; 116 | CREATE TABLE `field_headline` ( 117 | `pages_id` int(10) unsigned NOT NULL, 118 | `data` text NOT NULL, 119 | PRIMARY KEY (`pages_id`), 120 | FULLTEXT KEY `data` (`data`) 121 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 122 | 123 | INSERT INTO `field_headline` (`pages_id`, `data`) VALUES('1', 'Uikit 3 site/blog profile'); 124 | INSERT INTO `field_headline` (`pages_id`, `data`) VALUES('27', '404 Page Not Found'); 125 | INSERT INTO `field_headline` (`pages_id`, `data`) VALUES('1001', 'About Us'); 126 | INSERT INTO `field_headline` (`pages_id`, `data`) VALUES('1024', 'Demonstration of front-end-editing'); 127 | 128 | DROP TABLE IF EXISTS `field_images`; 129 | CREATE TABLE `field_images` ( 130 | `pages_id` int(10) unsigned NOT NULL, 131 | `data` varchar(191) NOT NULL, 132 | `sort` int(10) unsigned NOT NULL, 133 | `description` text NOT NULL, 134 | `modified` datetime DEFAULT NULL, 135 | `created` datetime DEFAULT NULL, 136 | PRIMARY KEY (`pages_id`,`sort`), 137 | KEY `data` (`data`), 138 | KEY `modified` (`modified`), 139 | KEY `created` (`created`), 140 | FULLTEXT KEY `description` (`description`) 141 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 142 | 143 | INSERT INTO `field_images` (`pages_id`, `data`, `sort`, `description`, `modified`, `created`) VALUES('1002', 'psych_cartoon_4-20.jpg', '0', 'Copyright by Austin Cramer for DesignIntelligence. This is a placeholder while he makes new ones for us.', '2017-01-24 06:11:43', '2017-01-24 06:11:43'); 144 | INSERT INTO `field_images` (`pages_id`, `data`, `sort`, `description`, `modified`, `created`) VALUES('1021', 'screen_shot_2017-01-27_at_10_46_35_am.png', '0', '', '2017-01-27 10:56:13', '2017-01-27 10:56:13'); 145 | 146 | 147 | DROP TABLE IF EXISTS `field_pass`; 148 | CREATE TABLE `field_pass` ( 149 | `pages_id` int(10) unsigned NOT NULL, 150 | `data` char(40) NOT NULL, 151 | `salt` char(32) NOT NULL, 152 | PRIMARY KEY (`pages_id`), 153 | KEY `data` (`data`) 154 | ) ENGINE=MyISAM DEFAULT CHARSET=ascii; 155 | 156 | DROP TABLE IF EXISTS `field_permissions`; 157 | CREATE TABLE `field_permissions` ( 158 | `pages_id` int(10) unsigned NOT NULL, 159 | `data` int(11) NOT NULL, 160 | `sort` int(10) unsigned NOT NULL, 161 | PRIMARY KEY (`pages_id`,`sort`), 162 | KEY `data` (`data`,`pages_id`,`sort`) 163 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 164 | 165 | DROP TABLE IF EXISTS `field_process`; 166 | CREATE TABLE `field_process` ( 167 | `pages_id` int(11) NOT NULL DEFAULT '0', 168 | `data` int(11) NOT NULL DEFAULT '0', 169 | PRIMARY KEY (`pages_id`), 170 | KEY `data` (`data`) 171 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 172 | 173 | INSERT INTO `field_process` (`pages_id`, `data`) VALUES('10', '7'); 174 | INSERT INTO `field_process` (`pages_id`, `data`) VALUES('23', '10'); 175 | INSERT INTO `field_process` (`pages_id`, `data`) VALUES('3', '12'); 176 | INSERT INTO `field_process` (`pages_id`, `data`) VALUES('8', '12'); 177 | INSERT INTO `field_process` (`pages_id`, `data`) VALUES('9', '14'); 178 | INSERT INTO `field_process` (`pages_id`, `data`) VALUES('6', '17'); 179 | INSERT INTO `field_process` (`pages_id`, `data`) VALUES('11', '47'); 180 | INSERT INTO `field_process` (`pages_id`, `data`) VALUES('16', '48'); 181 | INSERT INTO `field_process` (`pages_id`, `data`) VALUES('21', '50'); 182 | INSERT INTO `field_process` (`pages_id`, `data`) VALUES('29', '66'); 183 | INSERT INTO `field_process` (`pages_id`, `data`) VALUES('30', '68'); 184 | INSERT INTO `field_process` (`pages_id`, `data`) VALUES('22', '76'); 185 | INSERT INTO `field_process` (`pages_id`, `data`) VALUES('28', '76'); 186 | INSERT INTO `field_process` (`pages_id`, `data`) VALUES('2', '87'); 187 | INSERT INTO `field_process` (`pages_id`, `data`) VALUES('300', '104'); 188 | INSERT INTO `field_process` (`pages_id`, `data`) VALUES('301', '109'); 189 | INSERT INTO `field_process` (`pages_id`, `data`) VALUES('302', '121'); 190 | INSERT INTO `field_process` (`pages_id`, `data`) VALUES('303', '129'); 191 | INSERT INTO `field_process` (`pages_id`, `data`) VALUES('31', '136'); 192 | INSERT INTO `field_process` (`pages_id`, `data`) VALUES('304', '138'); 193 | INSERT INTO `field_process` (`pages_id`, `data`) VALUES('1007', '150'); 194 | INSERT INTO `field_process` (`pages_id`, `data`) VALUES('1009', '158'); 195 | INSERT INTO `field_process` (`pages_id`, `data`) VALUES('1011', '159'); 196 | INSERT INTO `field_process` (`pages_id`, `data`) VALUES('1025', '165'); 197 | 198 | DROP TABLE IF EXISTS `field_roles`; 199 | CREATE TABLE `field_roles` ( 200 | `pages_id` int(10) unsigned NOT NULL, 201 | `data` int(11) NOT NULL, 202 | `sort` int(10) unsigned NOT NULL, 203 | PRIMARY KEY (`pages_id`,`sort`), 204 | KEY `data` (`data`,`pages_id`,`sort`) 205 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 206 | 207 | DROP TABLE IF EXISTS `field_sidebar`; 208 | CREATE TABLE `field_sidebar` ( 209 | `pages_id` int(10) unsigned NOT NULL, 210 | `data` mediumtext NOT NULL, 211 | PRIMARY KEY (`pages_id`), 212 | FULLTEXT KEY `data` (`data`) 213 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 214 | 215 | INSERT INTO `field_sidebar` (`pages_id`, `data`) VALUES('1', '

Requirements

\n\n

This site profile requires ProcessWire 3.0.51 or newer, Uikit 3, and the server must be running on PHP 5.4 or newer.

'); 216 | INSERT INTO `field_sidebar` (`pages_id`, `data`) VALUES('1002', '

Sudo nullus

\r\n\r\n

Et torqueo vulpes vereor luctus augue quod consectetuer antehabeo causa patria tation ex plaga ut. Abluo delenit wisi iriure eros feugiat probo nisl aliquip nisl, patria. Antehabeo esse camur nisl modo utinam. Sudo nullus ventosus ibidem facilisis saepius eum sino pneum, vicis odio voco opto.

'); 217 | INSERT INTO `field_sidebar` (`pages_id`, `data`) VALUES('1024', '

Double click me

\n\n

Esca demoveo exputo sagaciter ullamcorper inhibeo ut nimis refoveo praemitto defui ut. Hendrerit ratis dignissim ea eligo. Genitus utinam suscipere caecus ad neque verto at regula saluto esse turpis. Refero autem et nulla ibidem caecus fere acsi plaga in turpis. Nobis sit nunc esse capio suscipit vulpes facilisis brevitas. Pagus odio eros accumsan et interdico nunc abdo eligo epulae.

'); 218 | 219 | DROP TABLE IF EXISTS `field_summary`; 220 | CREATE TABLE `field_summary` ( 221 | `pages_id` int(10) unsigned NOT NULL, 222 | `data` mediumtext NOT NULL, 223 | PRIMARY KEY (`pages_id`), 224 | FULLTEXT KEY `data` (`data`) 225 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 226 | 227 | INSERT INTO `field_summary` (`pages_id`, `data`) VALUES('1', 'A simple blog site about nothing in particular.'); 228 | INSERT INTO `field_summary` (`pages_id`, `data`) VALUES('1001', 'This is a placeholder page with two child pages to serve as an example. '); 229 | INSERT INTO `field_summary` (`pages_id`, `data`) VALUES('1002', 'Dolore ea valde refero feugait utinam luctus. Probo velit commoveo et, delenit praesent, suscipit zelus, hendrerit zelus illum facilisi, regula. '); 230 | INSERT INTO `field_summary` (`pages_id`, `data`) VALUES('1004', 'Mos erat reprobo in praesent, mara premo, obruo iustum pecus velit lobortis te sagaciter populus.'); 231 | INSERT INTO `field_summary` (`pages_id`, `data`) VALUES('1005', 'View this template\'s source for a demonstration of how to create a basic site map. '); 232 | INSERT INTO `field_summary` (`pages_id`, `data`) VALUES('1024', 'If you are logged in with edit access, pages using the basic-page-edit template (like this one) are editable on the front-end.'); 233 | 234 | DROP TABLE IF EXISTS `field_title`; 235 | CREATE TABLE `field_title` ( 236 | `pages_id` int(10) unsigned NOT NULL, 237 | `data` text NOT NULL, 238 | PRIMARY KEY (`pages_id`), 239 | KEY `data_exact` (`data`(191)), 240 | FULLTEXT KEY `data` (`data`) 241 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 242 | 243 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1', 'Home'); 244 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('2', 'Admin'); 245 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('3', 'Pages'); 246 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('6', 'Add Page'); 247 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('7', 'Trash'); 248 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('8', 'Tree'); 249 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('9', 'Save Sort'); 250 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('10', 'Edit'); 251 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('11', 'Templates'); 252 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('16', 'Fields'); 253 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('21', 'Modules'); 254 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('22', 'Setup'); 255 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('23', 'Login'); 256 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('27', '404 Page'); 257 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('28', 'Access'); 258 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('29', 'Users'); 259 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('30', 'Roles'); 260 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('31', 'Permissions'); 261 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('32', 'Edit pages'); 262 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('34', 'Delete pages'); 263 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('35', 'Move pages (change parent)'); 264 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('36', 'View pages'); 265 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('50', 'Sort child pages'); 266 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('51', 'Change templates on pages'); 267 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('52', 'Administer users'); 268 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('53', 'User can update profile/password'); 269 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('54', 'Lock or unlock a page'); 270 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('300', 'Search'); 271 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('301', 'Empty Trash'); 272 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('302', 'Insert Link'); 273 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('303', 'Insert Image'); 274 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('304', 'Profile'); 275 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1000', 'Search'); 276 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1001', 'About'); 277 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1002', 'Child page example 1'); 278 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1004', 'Child page example 2'); 279 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1005', 'Site Map'); 280 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1006', 'Use Page Lister'); 281 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1007', 'Find'); 282 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1009', 'Recent'); 283 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1010', 'Can see recently edited pages'); 284 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1011', 'Logs'); 285 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1012', 'Can view system logs'); 286 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1013', 'Can manage system logs'); 287 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1014', 'Blog'); 288 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1015', 'Phase data extended transaction'); 289 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1016', 'Categories'); 290 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1017', 'Coffee'); 291 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1018', 'Beer'); 292 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1019', 'Plants'); 293 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1020', 'Cats'); 294 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1021', 'Think affordable artificial blast'); 295 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1022', 'Genuine symphony'); 296 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1023', 'Use the front-end page editor'); 297 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1024', 'Front-end editing demo'); 298 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1025', 'Comments'); 299 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1026', 'Use the comments manager'); 300 | INSERT INTO `field_title` (`pages_id`, `data`) VALUES('1027', 'Recipes'); 301 | 302 | DROP TABLE IF EXISTS `fieldgroups`; 303 | CREATE TABLE `fieldgroups` ( 304 | `id` int(10) unsigned NOT NULL AUTO_INCREMENT, 305 | `name` varchar(191) CHARACTER SET ascii NOT NULL, 306 | PRIMARY KEY (`id`), 307 | UNIQUE KEY `name` (`name`) 308 | ) ENGINE=MyISAM AUTO_INCREMENT=102 DEFAULT CHARSET=utf8; 309 | 310 | INSERT INTO `fieldgroups` (`id`, `name`) VALUES('2', 'admin'); 311 | INSERT INTO `fieldgroups` (`id`, `name`) VALUES('83', 'basic-page'); 312 | INSERT INTO `fieldgroups` (`id`, `name`) VALUES('101', 'basic-page-edit'); 313 | INSERT INTO `fieldgroups` (`id`, `name`) VALUES('98', 'blog'); 314 | INSERT INTO `fieldgroups` (`id`, `name`) VALUES('97', 'blog-post'); 315 | INSERT INTO `fieldgroups` (`id`, `name`) VALUES('99', 'categories'); 316 | INSERT INTO `fieldgroups` (`id`, `name`) VALUES('100', 'category'); 317 | INSERT INTO `fieldgroups` (`id`, `name`) VALUES('1', 'home'); 318 | INSERT INTO `fieldgroups` (`id`, `name`) VALUES('5', 'permission'); 319 | INSERT INTO `fieldgroups` (`id`, `name`) VALUES('4', 'role'); 320 | INSERT INTO `fieldgroups` (`id`, `name`) VALUES('80', 'search'); 321 | INSERT INTO `fieldgroups` (`id`, `name`) VALUES('88', 'sitemap'); 322 | INSERT INTO `fieldgroups` (`id`, `name`) VALUES('3', 'user'); 323 | 324 | DROP TABLE IF EXISTS `fieldgroups_fields`; 325 | CREATE TABLE `fieldgroups_fields` ( 326 | `fieldgroups_id` int(10) unsigned NOT NULL DEFAULT '0', 327 | `fields_id` int(10) unsigned NOT NULL DEFAULT '0', 328 | `sort` int(11) unsigned NOT NULL DEFAULT '0', 329 | `data` text, 330 | PRIMARY KEY (`fieldgroups_id`,`fields_id`) 331 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 332 | 333 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('1', '1', '0', NULL); 334 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('1', '44', '5', NULL); 335 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('1', '76', '3', NULL); 336 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('1', '78', '1', NULL); 337 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('1', '79', '2', '{\"label\":\"Site tagline\"}'); 338 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('1', '82', '4', NULL); 339 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('2', '1', '0', NULL); 340 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('2', '2', '1', NULL); 341 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('3', '3', '0', NULL); 342 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('3', '4', '2', NULL); 343 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('3', '92', '1', NULL); 344 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('4', '5', '0', NULL); 345 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('5', '1', '0', NULL); 346 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('80', '1', '0', NULL); 347 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('83', '1', '0', NULL); 348 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('83', '44', '5', NULL); 349 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('83', '76', '3', NULL); 350 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('83', '78', '1', NULL); 351 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('83', '79', '2', NULL); 352 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('83', '82', '4', NULL); 353 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('88', '1', '0', NULL); 354 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('88', '79', '1', NULL); 355 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('97', '1', '0', '{\"columnWidth\":75}'); 356 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('97', '44', '3', NULL); 357 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('97', '76', '2', NULL); 358 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('97', '97', '1', '{\"columnWidth\":25}'); 359 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('97', '98', '4', NULL); 360 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('97', '99', '5', NULL); 361 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('98', '1', '0', NULL); 362 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('99', '1', '0', NULL); 363 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('100', '1', '0', NULL); 364 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('101', '1', '0', NULL); 365 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('101', '44', '5', NULL); 366 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('101', '76', '3', NULL); 367 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('101', '78', '1', NULL); 368 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('101', '79', '2', NULL); 369 | INSERT INTO `fieldgroups_fields` (`fieldgroups_id`, `fields_id`, `sort`, `data`) VALUES('101', '82', '4', NULL); 370 | 371 | DROP TABLE IF EXISTS `fields`; 372 | CREATE TABLE `fields` ( 373 | `id` int(10) unsigned NOT NULL AUTO_INCREMENT, 374 | `type` varchar(128) CHARACTER SET ascii NOT NULL, 375 | `name` varchar(191) CHARACTER SET ascii NOT NULL, 376 | `flags` int(11) NOT NULL DEFAULT '0', 377 | `label` varchar(191) NOT NULL DEFAULT '', 378 | `data` text NOT NULL, 379 | PRIMARY KEY (`id`), 380 | UNIQUE KEY `name` (`name`), 381 | KEY `type` (`type`) 382 | ) ENGINE=MyISAM AUTO_INCREMENT=100 DEFAULT CHARSET=utf8; 383 | 384 | INSERT INTO `fields` (`id`, `type`, `name`, `flags`, `label`, `data`) VALUES('1', 'FieldtypePageTitle', 'title', '13', 'Title', '{\"required\":1,\"textformatters\":[\"TextformatterEntities\"],\"size\":0,\"maxlength\":255}'); 385 | INSERT INTO `fields` (`id`, `type`, `name`, `flags`, `label`, `data`) VALUES('2', 'FieldtypeModule', 'process', '25', 'Process', '{\"description\":\"The process that is executed on this page. Since this is mostly used by ProcessWire internally, it is recommended that you don\'t change the value of this unless adding your own pages in the admin.\",\"collapsed\":1,\"required\":1,\"moduleTypes\":[\"Process\"],\"permanent\":1}'); 386 | INSERT INTO `fields` (`id`, `type`, `name`, `flags`, `label`, `data`) VALUES('3', 'FieldtypePassword', 'pass', '24', 'Set Password', '{\"collapsed\":1,\"size\":50,\"maxlength\":128}'); 387 | INSERT INTO `fields` (`id`, `type`, `name`, `flags`, `label`, `data`) VALUES('4', 'FieldtypePage', 'roles', '24', 'Roles', '{\"derefAsPage\":0,\"parent_id\":30,\"labelFieldName\":\"name\",\"inputfield\":\"InputfieldCheckboxes\",\"description\":\"User will inherit the permissions assigned to each role. You may assign multiple roles to a user. When accessing a page, the user will only inherit permissions from the roles that are also assigned to the page\'s template.\"}'); 388 | INSERT INTO `fields` (`id`, `type`, `name`, `flags`, `label`, `data`) VALUES('5', 'FieldtypePage', 'permissions', '24', 'Permissions', '{\"derefAsPage\":0,\"parent_id\":31,\"labelFieldName\":\"title\",\"inputfield\":\"InputfieldCheckboxes\"}'); 389 | INSERT INTO `fields` (`id`, `type`, `name`, `flags`, `label`, `data`) VALUES('44', 'FieldtypeImage', 'images', '0', 'Images', '{\"extensions\":\"gif jpg jpeg png\",\"adminThumbs\":1,\"inputfieldClass\":\"InputfieldImage\",\"maxFiles\":0,\"descriptionRows\":1,\"fileSchema\":2,\"textformatters\":[\"TextformatterEntities\"],\"outputFormat\":1,\"defaultValuePage\":0,\"defaultGrid\":0,\"icon\":\"camera\"}'); 390 | INSERT INTO `fields` (`id`, `type`, `name`, `flags`, `label`, `data`) VALUES('76', 'FieldtypeTextarea', 'body', '0', 'Body', '{\"inputfieldClass\":\"InputfieldCKEditor\",\"rows\":10,\"contentType\":1,\"toolbar\":\"Format, Bold, Italic, -, RemoveFormat\\nNumberedList, BulletedList, -, Blockquote\\nPWLink, Unlink, Anchor\\nPWImage, Table, HorizontalRule, SpecialChar\\nPasteText, PasteFromWord\\nScayt, -, Sourcedialog\",\"inlineMode\":0,\"useACF\":1,\"usePurifier\":1,\"formatTags\":\"p;h2;h3;h4;h5;h6;pre;address\",\"extraPlugins\":[\"pwimage\",\"pwlink\",\"sourcedialog\"],\"removePlugins\":\"image,magicline\",\"toggles\":[2,4,8],\"htmlOptions\":[2],\"collapsed\":0,\"minlength\":0,\"maxlength\":0,\"showCount\":0}'); 391 | INSERT INTO `fields` (`id`, `type`, `name`, `flags`, `label`, `data`) VALUES('78', 'FieldtypeText', 'headline', '0', 'Headline', '{\"description\":\"Use this instead of the Title if a longer headline is needed than what you want to appear in navigation.\",\"textformatters\":[\"TextformatterEntities\"],\"collapsed\":2,\"size\":0,\"maxlength\":1024,\"minlength\":0,\"showCount\":0}'); 392 | INSERT INTO `fields` (`id`, `type`, `name`, `flags`, `label`, `data`) VALUES('79', 'FieldtypeTextarea', 'summary', '1', 'Summary', '{\"textformatters\":[\"TextformatterEntities\"],\"inputfieldClass\":\"InputfieldTextarea\",\"collapsed\":2,\"rows\":3,\"contentType\":0}'); 393 | INSERT INTO `fields` (`id`, `type`, `name`, `flags`, `label`, `data`) VALUES('82', 'FieldtypeTextarea', 'sidebar', '0', 'Sidebar', '{\"inputfieldClass\":\"InputfieldCKEditor\",\"rows\":5,\"contentType\":1,\"toolbar\":\"Format, Bold, Italic, -, RemoveFormat\\r\\nNumberedList, BulletedList, -, Blockquote\\r\\nPWLink, Unlink, Anchor\\r\\nPWImage, Table, HorizontalRule, SpecialChar\\r\\nPasteText, PasteFromWord\\r\\nScayt, -, Sourcedialog\",\"inlineMode\":0,\"useACF\":1,\"usePurifier\":1,\"formatTags\":\"p;h2;h3;h4;h5;h6;pre;address\",\"extraPlugins\":[\"pwimage\",\"pwlink\",\"sourcedialog\"],\"removePlugins\":\"image,magicline\",\"toggles\":[2,4,8],\"collapsed\":2}'); 394 | INSERT INTO `fields` (`id`, `type`, `name`, `flags`, `label`, `data`) VALUES('92', 'FieldtypeEmail', 'email', '9', 'E-Mail Address', '{\"size\":70,\"maxlength\":255}'); 395 | INSERT INTO `fields` (`id`, `type`, `name`, `flags`, `label`, `data`) VALUES('97', 'FieldtypeDatetime', 'date', '0', 'Date', '{\"dateOutputFormat\":\"j F Y\",\"collapsed\":0,\"size\":25,\"datepicker\":3,\"timeInputSelect\":0,\"dateInputFormat\":\"Y\\/m\\/d\",\"defaultToday\":1,\"placeholder\":\"yyyy\\/mm\\/dd\",\"icon\":\"calendar\"}'); 396 | INSERT INTO `fields` (`id`, `type`, `name`, `flags`, `label`, `data`) VALUES('98', 'FieldtypePage', 'categories', '0', 'Categories', '{\"derefAsPage\":0,\"inputfield\":\"InputfieldAsmSelect\",\"parent_id\":1016,\"template_id\":46,\"labelFieldName\":\"title\",\"addable\":1,\"collapsed\":0}'); 397 | INSERT INTO `fields` (`id`, `type`, `name`, `flags`, `label`, `data`) VALUES('99', 'FieldtypeComments', 'comments', '0', 'Comments', '{\"schemaVersion\":6,\"moderate\":1,\"redirectAfterPost\":1,\"quietSave\":1,\"useNotify\":0,\"deleteSpamDays\":3,\"depth\":0,\"useWebsite\":1,\"dateFormat\":\"relative\",\"useVotes\":0,\"useStars\":0,\"useGravatar\":\"g\",\"collapsed\":0}'); 398 | 399 | DROP TABLE IF EXISTS `modules`; 400 | CREATE TABLE `modules` ( 401 | `id` int(10) unsigned NOT NULL AUTO_INCREMENT, 402 | `class` varchar(128) CHARACTER SET ascii NOT NULL, 403 | `flags` int(11) NOT NULL DEFAULT '0', 404 | `data` text NOT NULL, 405 | `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, 406 | PRIMARY KEY (`id`), 407 | UNIQUE KEY `class` (`class`) 408 | ) ENGINE=MyISAM AUTO_INCREMENT=167 DEFAULT CHARSET=utf8; 409 | 410 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('1', 'FieldtypeTextarea', '0', '', '2017-01-24 06:11:43'); 411 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('2', 'FieldtypeNumber', '0', '', '2017-01-24 06:11:43'); 412 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('3', 'FieldtypeText', '0', '', '2017-01-24 06:11:43'); 413 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('4', 'FieldtypePage', '0', '', '2017-01-24 06:11:43'); 414 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('6', 'FieldtypeFile', '0', '', '2017-01-24 06:11:43'); 415 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('7', 'ProcessPageEdit', '1', '', '2017-01-24 06:11:43'); 416 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('10', 'ProcessLogin', '0', '', '2017-01-24 06:11:43'); 417 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('12', 'ProcessPageList', '0', '{\"pageLabelField\":\"title\",\"paginationLimit\":25,\"limit\":50}', '2017-01-24 06:11:43'); 418 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('14', 'ProcessPageSort', '0', '', '2017-01-24 06:11:43'); 419 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('15', 'InputfieldPageListSelect', '0', '', '2017-01-24 06:11:43'); 420 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('17', 'ProcessPageAdd', '0', '', '2017-01-24 06:11:43'); 421 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('25', 'InputfieldAsmSelect', '0', '', '2017-01-24 06:11:43'); 422 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('27', 'FieldtypeModule', '0', '', '2017-01-24 06:11:43'); 423 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('28', 'FieldtypeDatetime', '0', '', '2017-01-24 06:11:43'); 424 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('29', 'FieldtypeEmail', '0', '', '2017-01-24 06:11:43'); 425 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('30', 'InputfieldForm', '0', '', '2017-01-24 06:11:43'); 426 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('32', 'InputfieldSubmit', '0', '', '2017-01-24 06:11:43'); 427 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('33', 'InputfieldWrapper', '0', '', '2017-01-24 06:11:43'); 428 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('34', 'InputfieldText', '0', '', '2017-01-24 06:11:43'); 429 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('35', 'InputfieldTextarea', '0', '', '2017-01-24 06:11:43'); 430 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('36', 'InputfieldSelect', '0', '', '2017-01-24 06:11:43'); 431 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('37', 'InputfieldCheckbox', '0', '', '2017-01-24 06:11:43'); 432 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('38', 'InputfieldCheckboxes', '0', '', '2017-01-24 06:11:43'); 433 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('39', 'InputfieldRadios', '0', '', '2017-01-24 06:11:43'); 434 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('40', 'InputfieldHidden', '0', '', '2017-01-24 06:11:43'); 435 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('41', 'InputfieldName', '0', '', '2017-01-24 06:11:43'); 436 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('43', 'InputfieldSelectMultiple', '0', '', '2017-01-24 06:11:43'); 437 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('45', 'JqueryWireTabs', '0', '', '2017-01-24 06:11:43'); 438 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('46', 'ProcessPage', '0', '', '2017-01-24 06:11:43'); 439 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('47', 'ProcessTemplate', '0', '', '2017-01-24 06:11:43'); 440 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('48', 'ProcessField', '32', '', '2017-01-24 06:11:43'); 441 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('50', 'ProcessModule', '0', '', '2017-01-24 06:11:43'); 442 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('55', 'InputfieldFile', '0', '', '2017-01-24 06:11:43'); 443 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('56', 'InputfieldImage', '0', '', '2017-01-24 06:11:43'); 444 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('57', 'FieldtypeImage', '0', '', '2017-01-24 06:11:43'); 445 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('60', 'InputfieldPage', '0', '{\"inputfieldClasses\":[\"InputfieldSelect\",\"InputfieldSelectMultiple\",\"InputfieldCheckboxes\",\"InputfieldRadios\",\"InputfieldAsmSelect\",\"InputfieldPageListSelect\",\"InputfieldPageListSelectMultiple\",\"InputfieldPageAutocomplete\"]}', '2017-01-24 06:11:43'); 446 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('61', 'TextformatterEntities', '0', '', '2017-01-24 06:11:43'); 447 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('66', 'ProcessUser', '0', '{\"showFields\":[\"name\",\"email\",\"roles\"]}', '2017-01-24 06:11:43'); 448 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('67', 'MarkupAdminDataTable', '0', '', '2017-01-24 06:11:43'); 449 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('68', 'ProcessRole', '0', '{\"showFields\":[\"name\"]}', '2017-01-24 06:11:43'); 450 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('76', 'ProcessList', '0', '', '2017-01-24 06:11:43'); 451 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('78', 'InputfieldFieldset', '0', '', '2017-01-24 06:11:43'); 452 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('79', 'InputfieldMarkup', '0', '', '2017-01-24 06:11:43'); 453 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('80', 'InputfieldEmail', '0', '', '2017-01-24 06:11:43'); 454 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('83', 'ProcessPageView', '0', '', '2017-01-24 06:11:43'); 455 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('84', 'FieldtypeInteger', '0', '', '2017-01-24 06:11:43'); 456 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('85', 'InputfieldInteger', '0', '', '2017-01-24 06:11:43'); 457 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('86', 'InputfieldPageName', '0', '', '2017-01-24 06:11:43'); 458 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('87', 'ProcessHome', '0', '', '2017-01-24 06:11:43'); 459 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('89', 'FieldtypeFloat', '1', '', '2017-01-24 06:11:43'); 460 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('90', 'InputfieldFloat', '0', '', '2017-01-24 06:11:43'); 461 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('94', 'InputfieldDatetime', '0', '', '2017-01-24 06:11:43'); 462 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('97', 'FieldtypeCheckbox', '1', '', '2017-01-24 06:11:43'); 463 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('98', 'MarkupPagerNav', '0', '', '2017-01-24 06:11:43'); 464 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('103', 'JqueryTableSorter', '1', '', '2017-01-24 06:11:43'); 465 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('104', 'ProcessPageSearch', '1', '{\"searchFields\":\"title\",\"displayField\":\"title path\"}', '2017-01-24 06:11:43'); 466 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('105', 'FieldtypeFieldsetOpen', '1', '', '2017-01-24 06:11:43'); 467 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('106', 'FieldtypeFieldsetClose', '1', '', '2017-01-24 06:11:43'); 468 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('107', 'FieldtypeFieldsetTabOpen', '1', '', '2017-01-24 06:11:43'); 469 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('108', 'InputfieldURL', '0', '', '2017-01-24 06:11:43'); 470 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('109', 'ProcessPageTrash', '1', '', '2017-01-24 06:11:43'); 471 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('111', 'FieldtypePageTitle', '1', '', '2017-01-24 06:11:43'); 472 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('112', 'InputfieldPageTitle', '0', '', '2017-01-24 06:11:43'); 473 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('113', 'MarkupPageArray', '3', '', '2017-01-24 06:11:43'); 474 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('114', 'PagePermissions', '3', '', '2017-01-24 06:11:43'); 475 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('115', 'PageRender', '3', '{\"clearCache\":1}', '2017-01-24 06:11:43'); 476 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('116', 'JqueryCore', '1', '', '2017-01-24 06:11:43'); 477 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('117', 'JqueryUI', '1', '', '2017-01-24 06:11:43'); 478 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('121', 'ProcessPageEditLink', '1', '', '2017-01-24 06:11:43'); 479 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('122', 'InputfieldPassword', '0', '', '2017-01-24 06:11:43'); 480 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('125', 'SessionLoginThrottle', '11', '', '2017-01-24 06:11:43'); 481 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('129', 'ProcessPageEditImageSelect', '1', '', '2017-01-24 06:11:43'); 482 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('131', 'InputfieldButton', '0', '', '2017-01-24 06:11:43'); 483 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('133', 'FieldtypePassword', '1', '', '2017-01-24 06:11:43'); 484 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('134', 'ProcessPageType', '33', '{\"showFields\":[]}', '2017-01-24 06:11:43'); 485 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('135', 'FieldtypeURL', '1', '', '2017-01-24 06:11:43'); 486 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('136', 'ProcessPermission', '1', '{\"showFields\":[\"name\",\"title\"]}', '2017-01-24 06:11:43'); 487 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('137', 'InputfieldPageListSelectMultiple', '0', '', '2017-01-24 06:11:43'); 488 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('138', 'ProcessProfile', '1', '{\"profileFields\":[\"pass\",\"email\"]}', '2017-01-24 06:11:43'); 489 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('139', 'SystemUpdater', '1', '{\"systemVersion\":15,\"coreVersion\":\"3.0.50\"}', '2017-01-24 06:11:43'); 490 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('148', 'AdminThemeDefault', '10', '{\"colors\":\"classic\"}', '2017-01-24 06:11:43'); 491 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('149', 'InputfieldSelector', '42', '', '2017-01-24 06:11:43'); 492 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('150', 'ProcessPageLister', '32', '', '2017-01-24 06:11:43'); 493 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('151', 'JqueryMagnific', '1', '', '2017-01-24 06:11:43'); 494 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('152', 'PagePathHistory', '3', '', '2017-01-24 06:11:43'); 495 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('155', 'InputfieldCKEditor', '0', '', '2017-01-24 06:11:43'); 496 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('156', 'MarkupHTMLPurifier', '0', '', '2017-01-24 06:11:43'); 497 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('158', 'ProcessRecentPages', '1', '', '2017-01-24 06:12:09'); 498 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('159', 'ProcessLogger', '1', '', '2017-01-24 06:12:17'); 499 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('160', 'InputfieldIcon', '0', '', '2017-01-24 06:12:17'); 500 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('161', 'FieldtypeComments', '1', '', '2017-01-26 11:32:48'); 501 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('162', 'InputfieldCommentsAdmin', '0', '', '2017-01-26 11:32:48'); 502 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('163', 'InputfieldPageAutocomplete', '0', '', '2017-01-27 11:18:20'); 503 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('164', 'PageFrontEdit', '2', '', '2017-01-27 11:32:31'); 504 | INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('165', 'ProcessCommentsManager', '1', '', '2017-01-27 12:17:47'); 505 | 506 | DROP TABLE IF EXISTS `page_path_history`; 507 | CREATE TABLE `page_path_history` ( 508 | `path` varchar(191) NOT NULL, 509 | `pages_id` int(10) unsigned NOT NULL, 510 | `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 511 | PRIMARY KEY (`path`), 512 | KEY `pages_id` (`pages_id`), 513 | KEY `created` (`created`) 514 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 515 | 516 | DROP TABLE IF EXISTS `pages`; 517 | CREATE TABLE `pages` ( 518 | `id` int(10) unsigned NOT NULL AUTO_INCREMENT, 519 | `parent_id` int(11) unsigned NOT NULL DEFAULT '0', 520 | `templates_id` int(11) unsigned NOT NULL DEFAULT '0', 521 | `name` varchar(128) CHARACTER SET ascii NOT NULL, 522 | `status` int(10) unsigned NOT NULL DEFAULT '1', 523 | `modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, 524 | `modified_users_id` int(10) unsigned NOT NULL DEFAULT '2', 525 | `created` timestamp NOT NULL DEFAULT '2015-12-18 06:09:00', 526 | `created_users_id` int(10) unsigned NOT NULL DEFAULT '2', 527 | `published` datetime DEFAULT NULL, 528 | `sort` int(11) NOT NULL DEFAULT '0', 529 | PRIMARY KEY (`id`), 530 | UNIQUE KEY `name_parent_id` (`name`,`parent_id`), 531 | KEY `parent_id` (`parent_id`), 532 | KEY `templates_id` (`templates_id`), 533 | KEY `modified` (`modified`), 534 | KEY `created` (`created`), 535 | KEY `status` (`status`), 536 | KEY `published` (`published`) 537 | ) ENGINE=MyISAM AUTO_INCREMENT=1029 DEFAULT CHARSET=utf8; 538 | 539 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1', '0', '1', 'home', '9', '2017-01-27 13:29:31', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '0'); 540 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('2', '1', '2', 'processwire', '1035', '2017-01-24 06:12:10', '40', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '6'); 541 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('3', '2', '2', 'page', '21', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '0'); 542 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('6', '3', '2', 'add', '21', '2017-01-24 06:12:22', '40', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '0'); 543 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('7', '1', '2', 'trash', '1039', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '7'); 544 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('8', '3', '2', 'list', '1045', '2017-01-24 06:15:58', '40', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '1'); 545 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('9', '3', '2', 'sort', '1047', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '2'); 546 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('10', '3', '2', 'edit', '1045', '2017-01-24 06:15:58', '40', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '3'); 547 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('11', '22', '2', 'template', '21', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '0'); 548 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('16', '22', '2', 'field', '21', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '2'); 549 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('21', '2', '2', 'module', '21', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '2'); 550 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('22', '2', '2', 'setup', '21', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '1'); 551 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('23', '2', '2', 'login', '1035', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '4'); 552 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('27', '1', '29', 'http404', '1035', '2017-01-27 12:25:04', '41', '2017-01-24 06:11:43', '3', '2017-01-24 06:11:43', '5'); 553 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('28', '2', '2', 'access', '13', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '3'); 554 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('29', '28', '2', 'users', '29', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '0'); 555 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('30', '28', '2', 'roles', '29', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '1'); 556 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('31', '28', '2', 'permissions', '29', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '2'); 557 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('32', '31', '5', 'page-edit', '25', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '2'); 558 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('34', '31', '5', 'page-delete', '25', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '3'); 559 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('35', '31', '5', 'page-move', '25', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '4'); 560 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('36', '31', '5', 'page-view', '25', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '0'); 561 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('37', '30', '4', 'guest', '25', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '0'); 562 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('38', '30', '4', 'superuser', '25', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '1'); 563 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('40', '29', '3', 'guest', '25', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '1'); 564 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('41', '29', '3', 'admin', '1', '2017-01-24 06:12:10', '40', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '0'); 565 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('50', '31', '5', 'page-sort', '25', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '5'); 566 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('51', '31', '5', 'page-template', '25', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '6'); 567 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('52', '31', '5', 'user-admin', '25', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '10'); 568 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('53', '31', '5', 'profile-edit', '1', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '13'); 569 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('54', '31', '5', 'page-lock', '1', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '8'); 570 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('300', '3', '2', 'search', '1045', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '5'); 571 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('301', '3', '2', 'trash', '1047', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '5'); 572 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('302', '3', '2', 'link', '1041', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '6'); 573 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('303', '3', '2', 'image', '1041', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '7'); 574 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('304', '2', '2', 'profile', '1025', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '41', '2017-01-24 06:11:43', '5'); 575 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1000', '1', '26', 'search', '1025', '2017-01-26 09:55:14', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '4'); 576 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1001', '1', '29', 'about', '1', '2017-01-25 08:36:43', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '0'); 577 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1002', '1001', '29', 'what', '1', '2017-01-27 12:08:45', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '0'); 578 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1004', '1001', '29', 'background', '1', '2017-01-27 09:45:20', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '1'); 579 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1005', '1', '34', 'site-map', '1', '2017-01-26 09:55:10', '41', '2017-01-24 06:11:43', '2', '2017-01-24 06:11:43', '3'); 580 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1006', '31', '5', 'page-lister', '1', '2017-01-24 06:11:43', '40', '2017-01-24 06:11:43', '40', '2017-01-24 06:11:43', '9'); 581 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1007', '3', '2', 'lister', '1', '2017-01-24 06:11:43', '40', '2017-01-24 06:11:43', '40', '2017-01-24 06:11:43', '8'); 582 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1009', '3', '2', 'recent-pages', '1', '2017-01-24 06:12:09', '40', '2017-01-24 06:12:09', '40', '2017-01-24 06:12:09', '9'); 583 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1010', '31', '5', 'page-edit-recent', '1', '2017-01-24 06:12:09', '40', '2017-01-24 06:12:09', '40', '2017-01-24 06:12:09', '10'); 584 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1011', '22', '2', 'logs', '1', '2017-01-24 06:12:17', '40', '2017-01-24 06:12:17', '40', '2017-01-24 06:12:17', '2'); 585 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1012', '31', '5', 'logs-view', '1', '2017-01-24 06:12:17', '40', '2017-01-24 06:12:17', '40', '2017-01-24 06:12:17', '11'); 586 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1013', '31', '5', 'logs-edit', '1', '2017-01-24 06:12:17', '40', '2017-01-24 06:12:17', '40', '2017-01-24 06:12:17', '12'); 587 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1014', '1', '44', 'blog', '1', '2017-01-25 15:22:52', '41', '2017-01-25 15:22:52', '41', '2017-01-25 15:22:52', '1'); 588 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1015', '1014', '43', 'phase-data-extended-transaction', '1', '2017-01-26 06:18:13', '41', '2017-01-25 15:23:04', '41', '2017-01-25 15:23:20', '0'); 589 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1016', '1', '45', 'categories', '1', '2017-01-26 05:55:33', '41', '2017-01-26 05:54:06', '41', '2017-01-26 05:54:06', '2'); 590 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1017', '1016', '46', 'coffee', '1', '2017-01-26 05:54:49', '41', '2017-01-26 05:54:46', '41', '2017-01-26 05:54:46', '0'); 591 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1018', '1016', '46', 'beer', '1', '2017-01-26 05:54:53', '41', '2017-01-26 05:54:53', '41', '2017-01-26 05:54:53', '1'); 592 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1019', '1016', '46', 'plants', '1', '2017-01-26 05:56:01', '41', '2017-01-26 05:56:01', '41', '2017-01-26 05:56:01', '2'); 593 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1020', '1016', '46', 'cats', '1', '2017-01-26 06:10:41', '41', '2017-01-26 06:10:41', '41', '2017-01-26 06:10:41', '3'); 594 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1021', '1014', '43', 'think-affordable-artificial-blast', '1', '2017-01-27 12:37:31', '41', '2017-01-26 06:38:37', '41', '2017-01-26 06:39:03', '1'); 595 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1022', '1014', '43', 'genuine-symphony', '1', '2017-01-27 12:18:48', '41', '2017-01-26 09:50:20', '41', '2017-01-26 09:50:54', '2'); 596 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1023', '31', '5', 'page-edit-front', '1', '2017-01-27 11:32:31', '41', '2017-01-27 11:32:31', '41', '2017-01-27 11:32:31', '13'); 597 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1024', '1001', '47', 'front-end-editor-demo', '1', '2017-01-27 12:31:38', '41', '2017-01-27 12:01:56', '41', '2017-01-27 12:03:43', '2'); 598 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1025', '22', '2', 'comments', '1', '2017-01-27 12:17:47', '41', '2017-01-27 12:17:47', '41', '2017-01-27 12:17:47', '3'); 599 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1026', '31', '5', 'comments-manager', '1', '2017-01-27 12:17:47', '41', '2017-01-27 12:17:47', '41', '2017-01-27 12:17:47', '14'); 600 | INSERT INTO `pages` (`id`, `parent_id`, `templates_id`, `name`, `status`, `modified`, `modified_users_id`, `created`, `created_users_id`, `published`, `sort`) VALUES('1027', '1016', '46', 'recipes', '1', '2017-01-27 12:37:06', '41', '2017-01-27 12:37:06', '41', '2017-01-27 12:37:06', '4'); 601 | 602 | DROP TABLE IF EXISTS `pages_access`; 603 | CREATE TABLE `pages_access` ( 604 | `pages_id` int(11) NOT NULL, 605 | `templates_id` int(11) NOT NULL, 606 | `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 607 | PRIMARY KEY (`pages_id`), 608 | KEY `templates_id` (`templates_id`) 609 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 610 | 611 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('32', '2', '2017-01-24 06:11:43'); 612 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('34', '2', '2017-01-24 06:11:43'); 613 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('35', '2', '2017-01-24 06:11:43'); 614 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('36', '2', '2017-01-24 06:11:43'); 615 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('37', '2', '2017-01-24 06:11:43'); 616 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('38', '2', '2017-01-24 06:11:43'); 617 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('50', '2', '2017-01-24 06:11:43'); 618 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('51', '2', '2017-01-24 06:11:43'); 619 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('52', '2', '2017-01-24 06:11:43'); 620 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('53', '2', '2017-01-24 06:11:43'); 621 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('54', '2', '2017-01-24 06:11:43'); 622 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('1006', '2', '2017-01-24 06:11:43'); 623 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('1010', '2', '2017-01-24 06:12:09'); 624 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('1012', '2', '2017-01-24 06:12:17'); 625 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('1013', '2', '2017-01-24 06:12:17'); 626 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('1014', '1', '2017-01-25 15:22:52'); 627 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('1015', '1', '2017-01-25 15:23:04'); 628 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('1016', '1', '2017-01-26 05:54:06'); 629 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('1017', '1', '2017-01-26 05:54:46'); 630 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('1018', '1', '2017-01-26 05:54:53'); 631 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('1019', '1', '2017-01-26 05:56:01'); 632 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('1020', '1', '2017-01-26 06:10:41'); 633 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('1021', '1', '2017-01-26 06:38:37'); 634 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('1022', '1', '2017-01-26 09:50:20'); 635 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('1023', '2', '2017-01-27 11:32:31'); 636 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('1024', '1', '2017-01-27 12:01:56'); 637 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('1026', '2', '2017-01-27 12:17:47'); 638 | INSERT INTO `pages_access` (`pages_id`, `templates_id`, `ts`) VALUES('1027', '1', '2017-01-27 12:37:06'); 639 | 640 | DROP TABLE IF EXISTS `pages_parents`; 641 | CREATE TABLE `pages_parents` ( 642 | `pages_id` int(10) unsigned NOT NULL, 643 | `parents_id` int(10) unsigned NOT NULL, 644 | PRIMARY KEY (`pages_id`,`parents_id`) 645 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 646 | 647 | INSERT INTO `pages_parents` (`pages_id`, `parents_id`) VALUES('2', '1'); 648 | INSERT INTO `pages_parents` (`pages_id`, `parents_id`) VALUES('3', '1'); 649 | INSERT INTO `pages_parents` (`pages_id`, `parents_id`) VALUES('3', '2'); 650 | INSERT INTO `pages_parents` (`pages_id`, `parents_id`) VALUES('7', '1'); 651 | INSERT INTO `pages_parents` (`pages_id`, `parents_id`) VALUES('22', '1'); 652 | INSERT INTO `pages_parents` (`pages_id`, `parents_id`) VALUES('22', '2'); 653 | INSERT INTO `pages_parents` (`pages_id`, `parents_id`) VALUES('28', '1'); 654 | INSERT INTO `pages_parents` (`pages_id`, `parents_id`) VALUES('28', '2'); 655 | INSERT INTO `pages_parents` (`pages_id`, `parents_id`) VALUES('29', '1'); 656 | INSERT INTO `pages_parents` (`pages_id`, `parents_id`) VALUES('29', '2'); 657 | INSERT INTO `pages_parents` (`pages_id`, `parents_id`) VALUES('29', '28'); 658 | INSERT INTO `pages_parents` (`pages_id`, `parents_id`) VALUES('30', '1'); 659 | INSERT INTO `pages_parents` (`pages_id`, `parents_id`) VALUES('30', '2'); 660 | INSERT INTO `pages_parents` (`pages_id`, `parents_id`) VALUES('30', '28'); 661 | INSERT INTO `pages_parents` (`pages_id`, `parents_id`) VALUES('31', '1'); 662 | INSERT INTO `pages_parents` (`pages_id`, `parents_id`) VALUES('31', '2'); 663 | INSERT INTO `pages_parents` (`pages_id`, `parents_id`) VALUES('31', '28'); 664 | INSERT INTO `pages_parents` (`pages_id`, `parents_id`) VALUES('1001', '1'); 665 | INSERT INTO `pages_parents` (`pages_id`, `parents_id`) VALUES('1002', '1'); 666 | INSERT INTO `pages_parents` (`pages_id`, `parents_id`) VALUES('1002', '1001'); 667 | INSERT INTO `pages_parents` (`pages_id`, `parents_id`) VALUES('1004', '1'); 668 | INSERT INTO `pages_parents` (`pages_id`, `parents_id`) VALUES('1004', '1001'); 669 | INSERT INTO `pages_parents` (`pages_id`, `parents_id`) VALUES('1005', '1'); 670 | 671 | DROP TABLE IF EXISTS `pages_sortfields`; 672 | CREATE TABLE `pages_sortfields` ( 673 | `pages_id` int(10) unsigned NOT NULL DEFAULT '0', 674 | `sortfield` varchar(20) NOT NULL DEFAULT '', 675 | PRIMARY KEY (`pages_id`) 676 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 677 | 678 | INSERT INTO `pages_sortfields` (`pages_id`, `sortfield`) VALUES('1016', 'name'); 679 | 680 | 681 | DROP TABLE IF EXISTS `session_login_throttle`; 682 | CREATE TABLE `session_login_throttle` ( 683 | `name` varchar(128) NOT NULL, 684 | `attempts` int(10) unsigned NOT NULL DEFAULT '0', 685 | `last_attempt` int(10) unsigned NOT NULL, 686 | PRIMARY KEY (`name`) 687 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 688 | 689 | DROP TABLE IF EXISTS `templates`; 690 | CREATE TABLE `templates` ( 691 | `id` int(10) unsigned NOT NULL AUTO_INCREMENT, 692 | `name` varchar(191) CHARACTER SET ascii NOT NULL, 693 | `fieldgroups_id` int(10) unsigned NOT NULL DEFAULT '0', 694 | `flags` int(11) NOT NULL DEFAULT '0', 695 | `cache_time` mediumint(9) NOT NULL DEFAULT '0', 696 | `data` text NOT NULL, 697 | PRIMARY KEY (`id`), 698 | UNIQUE KEY `name` (`name`), 699 | KEY `fieldgroups_id` (`fieldgroups_id`) 700 | ) ENGINE=MyISAM AUTO_INCREMENT=48 DEFAULT CHARSET=utf8; 701 | 702 | INSERT INTO `templates` (`id`, `name`, `fieldgroups_id`, `flags`, `cache_time`, `data`) VALUES('1', 'home', '1', '0', '0', '{\"useRoles\":1,\"noParents\":1,\"slashUrls\":1,\"compile\":3,\"label\":\"Home\",\"modified\":1485537359,\"ns\":\"ProcessWire\",\"roles\":[37]}'); 703 | INSERT INTO `templates` (`id`, `name`, `fieldgroups_id`, `flags`, `cache_time`, `data`) VALUES('2', 'admin', '2', '8', '0', '{\"useRoles\":1,\"parentTemplates\":[2],\"allowPageNum\":1,\"redirectLogin\":23,\"slashUrls\":1,\"noGlobal\":1,\"compile\":3,\"modified\":1453457709,\"ns\":\"ProcessWire\"}'); 704 | INSERT INTO `templates` (`id`, `name`, `fieldgroups_id`, `flags`, `cache_time`, `data`) VALUES('3', 'user', '3', '8', '0', '{\"useRoles\":1,\"noChildren\":1,\"parentTemplates\":[2],\"slashUrls\":1,\"pageClass\":\"User\",\"noGlobal\":1,\"noMove\":1,\"noTrash\":1,\"noSettings\":1,\"noChangeTemplate\":1,\"nameContentTab\":1}'); 705 | INSERT INTO `templates` (`id`, `name`, `fieldgroups_id`, `flags`, `cache_time`, `data`) VALUES('4', 'role', '4', '8', '0', '{\"noChildren\":1,\"parentTemplates\":[2],\"slashUrls\":1,\"pageClass\":\"Role\",\"noGlobal\":1,\"noMove\":1,\"noTrash\":1,\"noSettings\":1,\"noChangeTemplate\":1,\"nameContentTab\":1}'); 706 | INSERT INTO `templates` (`id`, `name`, `fieldgroups_id`, `flags`, `cache_time`, `data`) VALUES('5', 'permission', '5', '8', '0', '{\"noChildren\":1,\"parentTemplates\":[2],\"slashUrls\":1,\"guestSearchable\":1,\"pageClass\":\"Permission\",\"noGlobal\":1,\"noMove\":1,\"noTrash\":1,\"noSettings\":1,\"noChangeTemplate\":1,\"nameContentTab\":1}'); 707 | INSERT INTO `templates` (`id`, `name`, `fieldgroups_id`, `flags`, `cache_time`, `data`) VALUES('26', 'search', '80', '0', '0', '{\"noChildren\":1,\"noParents\":1,\"allowPageNum\":1,\"slashUrls\":1,\"compile\":3,\"label\":\"Search\",\"modified\":1485526981,\"ns\":\"ProcessWire\"}'); 708 | INSERT INTO `templates` (`id`, `name`, `fieldgroups_id`, `flags`, `cache_time`, `data`) VALUES('29', 'basic-page', '83', '0', '0', '{\"slashUrls\":1,\"compile\":3,\"label\":\"Basic page\",\"modified\":1485526981,\"ns\":\"ProcessWire\"}'); 709 | INSERT INTO `templates` (`id`, `name`, `fieldgroups_id`, `flags`, `cache_time`, `data`) VALUES('34', 'sitemap', '88', '0', '0', '{\"noChildren\":1,\"noParents\":1,\"redirectLogin\":23,\"slashUrls\":1,\"compile\":3,\"label\":\"Sitemap\",\"modified\":1485427810,\"ns\":\"ProcessWire\"}'); 710 | INSERT INTO `templates` (`id`, `name`, `fieldgroups_id`, `flags`, `cache_time`, `data`) VALUES('43', 'blog-post', '97', '0', '0', '{\"parentTemplates\":[44],\"slashUrls\":1,\"compile\":3,\"label\":\"Blog post\",\"modified\":1485532830,\"ns\":\"ProcessWire\"}'); 711 | INSERT INTO `templates` (`id`, `name`, `fieldgroups_id`, `flags`, `cache_time`, `data`) VALUES('44', 'blog', '98', '0', '0', '{\"sortfield\":\"-97\",\"noParents\":-1,\"childTemplates\":[43],\"allowPageNum\":1,\"slashUrls\":1,\"compile\":3,\"label\":\"Blog\",\"modified\":1485530079,\"ns\":\"ProcessWire\"}'); 712 | INSERT INTO `templates` (`id`, `name`, `fieldgroups_id`, `flags`, `cache_time`, `data`) VALUES('45', 'categories', '99', '0', '0', '{\"noParents\":-1,\"childTemplates\":[46],\"slashUrls\":1,\"compile\":3,\"label\":\"Categories\",\"modified\":1485541446,\"ns\":\"ProcessWire\"}'); 713 | INSERT INTO `templates` (`id`, `name`, `fieldgroups_id`, `flags`, `cache_time`, `data`) VALUES('46', 'category', '100', '0', '0', '{\"noChildren\":1,\"parentTemplates\":[45],\"allowPageNum\":1,\"slashUrls\":1,\"compile\":3,\"label\":\"Category\",\"modified\":1485530079,\"ns\":\"ProcessWire\"}'); 714 | INSERT INTO `templates` (`id`, `name`, `fieldgroups_id`, `flags`, `cache_time`, `data`) VALUES('47', 'basic-page-edit', '101', '0', '0', '{\"slashUrls\":1,\"compile\":3,\"label\":\"Basic page (front-end editable)\",\"modified\":1485536717,\"ns\":\"ProcessWire\"}'); 715 | 716 | UPDATE pages SET created_users_id=41, modified_users_id=41, created=NOW(), modified=NOW(); 717 | 718 | # --- /WireDatabaseBackup {"numTables":26,"numCreateTables":33,"numInserts":416,"numSeconds":0} -------------------------------------------------------------------------------- /site-regular/install/screen_shot_2017-01-27_at_1_30_19_pm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryancramerdesign/regular/a8228074dfdc8ea99da80d23429b5f9cfa644f2f/site-regular/install/screen_shot_2017-01-27_at_1_30_19_pm.png -------------------------------------------------------------------------------- /site-regular/modules/Helloworld/Helloworld.module: -------------------------------------------------------------------------------- 1 | 'Hello World', 32 | 33 | // version number 34 | 'version' => 3, 35 | 36 | // summary is brief description of what this module is 37 | 'summary' => 'An example module used for demonstration purposes.', 38 | 39 | // Optional URL to more information about the module 40 | 'href' => 'https://processwire.com', 41 | 42 | // singular=true: indicates that only one instance of the module is allowed. 43 | // This is usually what you want for modules that attach hooks. 44 | 'singular' => true, 45 | 46 | // autoload=true: indicates the module should be started with ProcessWire. 47 | // This is necessary for any modules that attach runtime hooks, otherwise those 48 | // hooks won't get attached unless some other code calls the module on it's own. 49 | // Note that autoload modules are almost always also 'singular' (seen above). 50 | 'autoload' => true, 51 | 52 | // Optional font-awesome icon name, minus the 'fa-' part 53 | 'icon' => 'smile-o', 54 | ); 55 | } 56 | 57 | /** 58 | * Initialize the module 59 | * 60 | * ProcessWire calls this when the module is loaded. For 'autoload' modules, this will be called 61 | * when ProcessWire's API is ready. As a result, this is a good place to attach hooks. 62 | * 63 | */ 64 | public function init() { 65 | 66 | // add a hook after the $pages->save, to issue a notice every time a page is saved 67 | $this->pages->addHookAfter('save', $this, 'example1'); 68 | 69 | // add a hook after each page is rendered and modify the output 70 | $this->addHookAfter('Page::render', $this, 'example2'); 71 | 72 | // add a 'hello' method to every page that returns "Hello World" 73 | // use "echo $page->hello();" in your template file to display output 74 | $this->addHook('Page::hello', $this, 'example3'); 75 | 76 | // add a 'hello_world' property to every page that returns "Hello [user]" 77 | // use "echo $page->hello_world;" in your template file to display output 78 | $this->addHookProperty('Page::hello_world', $this, 'example4'); 79 | } 80 | 81 | /** 82 | * Example1 hooks into the pages->save method and displays a notice every time a page is saved 83 | * 84 | * @param HookEvent $event 85 | * 86 | */ 87 | public function example1($event) { 88 | /** @var Page $page */ 89 | $page = $event->arguments[0]; 90 | $this->message("Hello World! You saved {$page->path}."); 91 | } 92 | 93 | 94 | /** 95 | * Example2 hooks into every page after it's rendered and adds "Hello World" text at the bottom 96 | * 97 | * @param HookEvent $event 98 | * 99 | */ 100 | public function example2($event) { 101 | 102 | /** @var Page $page */ 103 | $page = $event->object; 104 | 105 | // don't add this to the admin pages 106 | if($page->template == 'admin') return; 107 | 108 | // add a "Hello World" paragraph right before the closing body tag 109 | $event->return = str_replace("", "

Hello World!

", $event->return); 110 | } 111 | 112 | /** 113 | * Example3 adds a 'hello' method (not property) to every page that simply returns "Hello World" 114 | * 115 | * @param HookEvent $event 116 | * 117 | */ 118 | public function example3($event) { 119 | $event->return = "Hello World"; 120 | } 121 | 122 | /** 123 | * Example 4 adds a 'hello_world' property (not method) to every page that returns "Hello [user]" 124 | * 125 | * @param HookEvent $event 126 | * 127 | */ 128 | public function example4($event) { 129 | $event->return = "Hello " . $this->user->name; 130 | } 131 | 132 | } 133 | -------------------------------------------------------------------------------- /site-regular/modules/InputfieldCKEditor/README.txt: -------------------------------------------------------------------------------- 1 | This InputfieldCKEditor directory is here to provide optional extra configuration options 2 | and plugins to the CKEditor Inputfield module. 3 | 4 | 5 | plugins/ 6 | ======== 7 | Directory to place additional CKEditor plugins in. You can then activate them 8 | from your CKEditor field settings. 9 | 10 | 11 | contents.css 12 | ============ 13 | Example CSS file for the admin editor. To make CKEditor use this file, go to your CKEditor 14 | field settings and specify /site/modules/InputfieldCKEditor/contents.css as the regular 15 | mode Contents CSS file. 16 | 17 | 18 | contents-inline.css 19 | =================== 20 | Same as contents.css but for the inline mode editor. 21 | 22 | 23 | mystyles.js 24 | =========== 25 | Optional configuration for the CKEditor Styles option. To use this file, go to your 26 | CKEditor field settings and set the Custom Styles Set to be this file. 27 | 28 | 29 | config.js 30 | ========= 31 | Custom config file used by all CKEditor instances (except instances configured by their 32 | own custom config file, see below...) 33 | 34 | 35 | config-body.js 36 | ============== 37 | Example of field-specific custom config file. This one applies to a field named "body". 38 | Note that these config settings can also be specified directly in your CKEditor field 39 | settings in the admin, which many may prefer. 40 | 41 | -------------------------------------------------------------------------------- /site-regular/modules/InputfieldCKEditor/config-body.js: -------------------------------------------------------------------------------- 1 | /** 2 | * CKEditor field-specific (body) custom config file for ProcessWire 3 | * 4 | * Use this file to specify additional config options to a field named "body". 5 | * This is here just for example purposes. If you wanted to create a config 6 | * specific to some other field, like "sidebar", you would create another file 7 | * exactly like this named: config-sidebar.js 8 | * 9 | * If you wanted to use the same config.js for all of your CKEditor fields, 10 | * you would remove this file and just use the config.js file instead. Meaning, 11 | * this file completely overrides config.js if the field being edited is named 12 | * "body". The regular config.js file is not loaded when this one is loaded. 13 | * 14 | */ 15 | 16 | /** 17 | * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. 18 | * For licensing, see LICENSE.html or http://ckeditor.com/license 19 | */ 20 | 21 | CKEDITOR.editorConfig = function( config ) { 22 | // Define changes to default configuration here. For example: 23 | // config.uiColor = '#AADC6E'; 24 | }; -------------------------------------------------------------------------------- /site-regular/modules/InputfieldCKEditor/config-body.min.js: -------------------------------------------------------------------------------- 1 | CKEDITOR.editorConfig=function(a){}; -------------------------------------------------------------------------------- /site-regular/modules/InputfieldCKEditor/config.js: -------------------------------------------------------------------------------- 1 | /** 2 | * CKEditor custom config file for ProcessWire 3 | * 4 | * Use this file to specify additional config options to all CKEditor instances, 5 | * except those that have field-specific config files, i.e. config-body.js for 6 | * config specific to a field named "body". 7 | * 8 | */ 9 | 10 | /** 11 | * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. 12 | * For licensing, see LICENSE.html or http://ckeditor.com/license 13 | */ 14 | 15 | CKEDITOR.editorConfig = function( config ) { 16 | // Define changes to default configuration here. For example: 17 | // config.uiColor = '#AADC6E'; 18 | }; -------------------------------------------------------------------------------- /site-regular/modules/InputfieldCKEditor/config.min.js: -------------------------------------------------------------------------------- 1 | CKEDITOR.editorConfig=function(a){}; -------------------------------------------------------------------------------- /site-regular/modules/InputfieldCKEditor/contents-inline.css: -------------------------------------------------------------------------------- 1 | /** 2 | * contents-inline.css 3 | * 4 | * CKEditor editor styles for inline mode editor 5 | * 6 | * See also: contents-inline.scss 7 | * 8 | * PLEASE NOTE: 9 | * 10 | * It's possible this file may be out of date since it is in /site/ rather than /wire/, 11 | * and the version of this file will reflect whatever version you had when you first 12 | * installed this copy of ProcessWire. 13 | * 14 | * If you intend to use this, you may first want to get the newest copy out of: 15 | * /wire/modules/Inputfield/InputfieldCKEditor/contents-inline.css 16 | * 17 | * Original file copyright (as included with CKEditor): 18 | * Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. 19 | * For licensing, see LICENSE.html or http://ckeditor.com/license 20 | * 21 | */ 22 | 23 | .InputfieldForm .InputfieldCKEditorInline { 24 | font-family: Arial, sans-serif; 25 | } 26 | .InputfieldForm .InputfieldCKEditorInline p, 27 | .InputfieldForm .InputfieldCKEditorInline li, 28 | .InputfieldForm .InputfieldCKEditorInline dl, 29 | .InputfieldForm .InputfieldCKEditorInline td { 30 | font-size: 1em; 31 | color: #333333; 32 | background: white; 33 | } 34 | .InputfieldForm .InputfieldCKEditorInline a { 35 | color: #444444; 36 | background: none; 37 | text-decoration: underline; 38 | } 39 | .InputfieldForm .InputfieldCKEditorInline a:hover { 40 | color: #222222; 41 | background: #ffffdd; 42 | } 43 | .InputfieldForm .InputfieldCKEditorInline i, 44 | .InputfieldForm .InputfieldCKEditorInline em { 45 | font-style: italic; 46 | } 47 | .InputfieldForm .InputfieldCKEditorInline b, 48 | .InputfieldForm .InputfieldCKEditorInline strong { 49 | font-weight: bold; 50 | } 51 | .InputfieldForm .InputfieldCKEditorInline strong em, 52 | .InputfieldForm .InputfieldCKEditorInline em strong { 53 | font-weight: bold; 54 | font-style: italic; 55 | } 56 | .InputfieldForm .InputfieldCKEditorInline small { 57 | font-size: 0.875em; 58 | } 59 | .InputfieldForm .InputfieldCKEditorInline pre, 60 | .InputfieldForm .InputfieldCKEditorInline code { 61 | font-family: Menlo, Monaco, 'Andale Mono', 'Lucida Console', 'Courier New', monospace; 62 | } 63 | .InputfieldForm .InputfieldCKEditorInline code { 64 | display: inline; 65 | background: #fff2a8; 66 | } 67 | .InputfieldForm .InputfieldCKEditorInline ul li, 68 | .InputfieldForm .InputfieldCKEditorInline ol li { 69 | list-style: disc; 70 | display: list-item; 71 | margin: 0 0 0 2em; 72 | } 73 | .InputfieldForm .InputfieldCKEditorInline ol li { 74 | list-style: decimal; 75 | } 76 | .InputfieldForm .InputfieldCKEditorInline blockquote { 77 | padding-left: 1em; 78 | border-left: 3px solid #ccc; 79 | } 80 | .InputfieldForm .InputfieldCKEditorInline h1, 81 | .InputfieldForm .InputfieldCKEditorInline h2, 82 | .InputfieldForm .InputfieldCKEditorInline h3, 83 | .InputfieldForm .InputfieldCKEditorInline h4, 84 | .InputfieldForm .InputfieldCKEditorInline h5 { 85 | color: #222222; 86 | font-family: Arial, sans-serif; 87 | font-weight: normal; 88 | text-transform: none; 89 | } 90 | .InputfieldForm .InputfieldCKEditorInline h1 { 91 | font-size: 2.0em; 92 | } 93 | .InputfieldForm .InputfieldCKEditorInline h2 { 94 | font-size: 1.7em; 95 | } 96 | .InputfieldForm .InputfieldCKEditorInline h3 { 97 | font-size: 1.5em; 98 | } 99 | .InputfieldForm .InputfieldCKEditorInline h4 { 100 | font-size: 1.3em; 101 | } 102 | .InputfieldForm .InputfieldCKEditorInline h5 { 103 | font-size: 1.2em; 104 | } 105 | .InputfieldForm .InputfieldCKEditorInline h6 { 106 | font-size: 1.1em; 107 | } 108 | .InputfieldForm .InputfieldCKEditorInline table td, 109 | .InputfieldForm .InputfieldCKEditorInline table th { 110 | padding: 3px; 111 | } 112 | .InputfieldForm .InputfieldCKEditorInline table th { 113 | font-weight: bold; 114 | } 115 | .InputfieldForm .InputfieldCKEditorInline img { 116 | max-width: 100%; 117 | } 118 | .InputfieldForm .InputfieldCKEditorInline img.cke_anchor { 119 | display: inline; 120 | } 121 | 122 | -------------------------------------------------------------------------------- /site-regular/modules/InputfieldCKEditor/contents.css: -------------------------------------------------------------------------------- 1 | /** 2 | * contents.css 3 | * 4 | * CKEditor editor styles for regular (non-inline) editor 5 | * See contents-inline.css for inline editor styles. 6 | * 7 | * Note that this file is not in use unless you configure your editor settings to use it 8 | * in the "Custom Editor CSS File (regular mode)" option. As a result, this file is here 9 | * primarily as a placeholder and for instructions, though you may certainly modify and 10 | * use it as-is. 11 | * 12 | * PLEASE NOTE: 13 | * 14 | * It's possible this file may be out of date since it is in /site/ rather than /wire/, 15 | * and the version of this file will reflect whatever version you had when you first 16 | * installed this copy of ProcessWire. 17 | * 18 | * If you intend to use this, you may first want to get the newest copy out of: 19 | * /wire/modules/Inputfield/InputfieldCKEditor/contents.css 20 | * 21 | * Original file copyright (as included with CKEditor): 22 | * Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. 23 | * For licensing, see LICENSE.html or http://ckeditor.com/license 24 | * 25 | */ 26 | 27 | body { 28 | /* Font */ 29 | font-family: sans-serif, Arial, Verdana, "Trebuchet MS"; 30 | font-size: 14px; 31 | 32 | /* Text color */ 33 | color: #333; 34 | 35 | /* Remove the background color to make it transparent */ 36 | background-color: #fff; 37 | 38 | margin: 10px; 39 | } 40 | 41 | .cke_editable { 42 | font-size: 14px; 43 | line-height: 1.6em; 44 | } 45 | 46 | blockquote { 47 | font-style: italic; 48 | font-family: Georgia, Times, "Times New Roman", serif; 49 | padding: 2px 0; 50 | border-style: solid; 51 | border-color: #ccc; 52 | border-width: 0; 53 | } 54 | 55 | .cke_contents_ltr blockquote { 56 | padding-left: 20px; 57 | padding-right: 8px; 58 | border-left-width: 5px; 59 | } 60 | 61 | .cke_contents_rtl blockquote { 62 | padding-left: 8px; 63 | padding-right: 20px; 64 | border-right-width: 5px; 65 | } 66 | 67 | a { 68 | color: #0782C1; 69 | } 70 | 71 | ol,ul,dl { 72 | /* IE7: reset rtl list margin. (#7334) */ 73 | *margin-right: 0px; 74 | /* preserved spaces for list items with text direction other than the list. (#6249,#8049)*/ 75 | padding: 0 40px; 76 | } 77 | 78 | h1,h2,h3,h4,h5,h6 { 79 | font-weight: bold; 80 | line-height: 1.2em; 81 | } 82 | 83 | hr { 84 | border: 0px; 85 | border-top: 1px solid #ccc; 86 | } 87 | 88 | img { 89 | max-width: 100%; 90 | } 91 | 92 | img.right, 93 | img.align_right, 94 | img.align-right { 95 | /* RCD */ 96 | border: 1px solid #ccc; 97 | float: right; 98 | margin-left: 15px; 99 | padding: 5px; 100 | } 101 | 102 | img.left, 103 | img.align_left, 104 | img.align-left { 105 | /* RCD */ 106 | border: 1px solid #ccc; 107 | float: left; 108 | margin-right: 15px; 109 | padding: 5px; 110 | } 111 | 112 | img.align_center, 113 | img.align-center { 114 | /* RCD */ 115 | display: block; 116 | margin-left: auto; 117 | margin-right: auto; 118 | } 119 | 120 | img:hover { 121 | opacity: .9; 122 | filter: alpha(opacity = 90); 123 | } 124 | 125 | pre { 126 | white-space: pre-wrap; 127 | word-wrap: break-word; 128 | -moz-tab-size: 4; 129 | -o-tab-size: 4; 130 | -webkit-tab-size: 4; 131 | tab-size: 4; 132 | } 133 | 134 | .marker { 135 | background-color: Yellow; 136 | } 137 | 138 | span[lang] { 139 | font-style: italic; 140 | } 141 | 142 | figure { 143 | text-align: center; 144 | border: solid 1px #ccc; 145 | border-radius: 2px; 146 | background: rgba(0,0,0,0.05); 147 | padding: 10px; 148 | margin: 10px 20px; 149 | display: inline-block; 150 | } 151 | 152 | figure > figcaption { 153 | text-align: center; 154 | display: block; /* For IE8 */ 155 | } 156 | 157 | code { 158 | /* RCD */ 159 | background: #fff2a8; 160 | } 161 | 162 | a > img { 163 | padding: 1px; 164 | margin: 1px; 165 | border: none; 166 | outline: 1px solid #0782C1; 167 | } 168 | 169 | 170 | -------------------------------------------------------------------------------- /site-regular/modules/InputfieldCKEditor/mystyles.js: -------------------------------------------------------------------------------- 1 | /** 2 | * mystyles.js - for ProcessWire CKEditor "Custom Editor Styles Set" option 3 | * 4 | * Example file for "Custom Editor Styles Set" as seen in your CKEditor field config. 5 | * This file is not in use unless you specify it for that configuration item. 6 | * 7 | * PLEASE NOTE: 8 | * 9 | * It's possible this file may be out of date since it is in /site/ rather than /wire/, 10 | * and the version of this file will reflect whatever version you had when you first 11 | * installed this copy of ProcessWire. 12 | * 13 | * If you intend to use this, you may first want to get the newest copy out of: 14 | * /wire/modules/Inputfield/InputfieldCKEditor/mystyles.js 15 | * 16 | * For a more comprehensive example, see: 17 | * /wire/modules/Inputfield/InputfieldCKEditor/ckeditor-[version]/styles.js 18 | * 19 | */ 20 | 21 | CKEDITOR.stylesSet.add( 'mystyles', [ 22 | { name: 'Inline Code', element: 'code' }, 23 | { name: 'Inline Quotation', element: 'q' }, 24 | { name: 'Left Aligned Photo', element: 'img', attributes: { 'class': 'align_left' } }, 25 | { name: 'Right Aligned Photo', element: 'img', attributes: { 'class': 'align_right' } }, 26 | { name: 'Centered Photo', element: 'img', attributes: { 'class': 'align_center' } }, 27 | { name: 'Small', element: 'small' }, 28 | { name: 'Deleted Text', element: 'del' }, 29 | { name: 'Inserted Text', element: 'ins' }, 30 | { name: 'Cited Work', element: 'cite' } 31 | ]); 32 | 33 | -------------------------------------------------------------------------------- /site-regular/modules/InputfieldCKEditor/mystyles.min.js: -------------------------------------------------------------------------------- 1 | CKEDITOR.stylesSet.add("mystyles",[{name:"Inline Code",element:"code"},{name:"Inline Quotation",element:"q"},{name:"Left Aligned Photo",element:"img",attributes:{"class":"align_left"}},{name:"Right Aligned Photo",element:"img",attributes:{"class":"align_right"}},{name:"Centered Photo",element:"img",attributes:{"class":"align_center"}},{name:"Small",element:"small"},{name:"Deleted Text",element:"del"},{name:"Inserted Text",element:"ins"},{name:"Cited Work",element:"cite"}]); -------------------------------------------------------------------------------- /site-regular/modules/InputfieldCKEditor/plugins/README.txt: -------------------------------------------------------------------------------- 1 | Directory to place additional CKEditor plugins in. You can then activate them 2 | from your CKEditor field settings. Place each plugin in its own directory 3 | having the same name as the plugin. 4 | -------------------------------------------------------------------------------- /site-regular/modules/README.txt: -------------------------------------------------------------------------------- 1 | ABOUT /SITE/MODULES/ 2 | ==================== 3 | This directory /site/modules/ is where you may install additional plugin modules. 4 | These modules are specific to your site only. There is also a corresponding 5 | /wire/modules/ directory, which contains ProcessWire's core modules (and best to 6 | leave those alone). 7 | 8 | If safe for your hosting environment, you may wish to make this directory 9 | writable to PHP so that the installation of your modules can be managed from 10 | ProcessWire's admin. However, this is not necessarily safe in all shared hosting 11 | environments and is completely optional. 12 | 13 | 14 | Where to get modules? 15 | --------------------- 16 | Visit the modules directory at: http://modules.processwire.com 17 | 18 | 19 | Installing modules from the ProcessWire admin 20 | --------------------------------------------- 21 | If your /site/modules/ directory is writable, you can install modules from 22 | ProcessWire's admin directly from the Modules Directory, from a ZIP file or from 23 | a URL to a ZIP file. In your ProcessWire admin, see Modules > New for 24 | installation options. 25 | 26 | 27 | Installing modules from the file system 28 | --------------------------------------- 29 | Each module (and any related files) should live in a directory of its own. The 30 | directory should generally carry the same name as the module. For instance, if 31 | you are installing a module named ProcessDatabaseBackups.module, then it should 32 | live in the directory /site/modules/ProcessDatabaseBackups/. 33 | 34 | Once you have placed a new module in this directory, you need to let ProcessWire 35 | know about it. Login to the admin and click "Modules". Then click the "Check for 36 | new modules" button. It will find your new module(s). Click the "Install" button 37 | next to any new modules that you want to install. 38 | 39 | 40 | Removing modules 41 | ---------------- 42 | The first step in removing a module is to uninstall it from ProcessWire (if it 43 | isn't already). You do this by going to the "Modules" page, and "Site" tab in 44 | your ProcessWire admin. Click the "Uninstall" button next to the module you 45 | want to remove. 46 | 47 | After the module is uninstalled, you may remove the module files. If your 48 | modules file system is writable to ProcessWire, it will give you a "Delete" 49 | button next to the module in your "Modules" admin page. You may click that to 50 | remove the module files. 51 | 52 | If your file system is not writable, you may remove the module files manually 53 | from the file system (via SFTP or whatever tool you are using to manage your 54 | files on the server). 55 | 56 | 57 | Interested in learning how to make your own modules? 58 | ---------------------------------------------------- 59 | We've created two "Hello World" modules as examples for those interested in 60 | learning module development: 61 | 62 | - Helloworld.module demonstrates the basics of modules and hooks. 63 | http://modules.processwire.com/modules/helloworld/ 64 | 65 | - ProcessHello.module demonstrates the basics of how to create a Process 66 | module. Process modules are those that create applications in the admin. 67 | http://modules.processwire.com/modules/process-hello/ 68 | 69 | There is a module development forum located at: 70 | https://processwire.com/talk/forum/19-moduleplugin-development/ 71 | 72 | For a tutorial on how to create modules, see: 73 | http://wiki.processwire.com/index.php/Module_Creation 74 | 75 | 76 | Additional resources 77 | -------------------- 78 | 79 | To find and download new modules, see the modules directory at: 80 | http://modules.processwire.com/ 81 | 82 | For more information about modules, see the documentation at: 83 | http://processwire.com/api/modules/ 84 | 85 | For discussion and support of modules, see: 86 | http://processwire.com/talk/forum/4-modulesplugins/ 87 | 88 | 89 | -------------------------------------------------------------------------------- /site-regular/ready.php: -------------------------------------------------------------------------------- 1 | numPosts(); // returns integer 25 | * numPosts = $page->numPosts(true); // returns string like "5 posts" 26 | * ~~~~~ 27 | * 28 | */ 29 | $wire->addHook('Page(template=category)::numPosts', function($event) { 30 | /** @var Page $page */ 31 | $page = $event->object; 32 | 33 | // only category pages have numPosts 34 | if($page->template != 'category') return; 35 | 36 | // find number of posts 37 | $numPosts = $event->pages->count("template=blog-post, categories=$page"); 38 | 39 | if($event->arguments(0) === true) { 40 | // if true argument was specified, format it as a "5 posts" type string 41 | $numPosts = sprintf(_n('%d post', '%d posts', $numPosts), $numPosts); 42 | } 43 | 44 | $event->return = $numPosts; 45 | }); 46 | -------------------------------------------------------------------------------- /site-regular/templates/_init.php: -------------------------------------------------------------------------------- 1 | get('/'); // homepage 4 | $siteTitle = 'Regular'; 5 | $siteTagline = $home->summary; 6 | ?> 7 | 8 | 9 | 10 | 11 | <?=page()->title?> 12 | 13 | 14 | 15 | 16 | 17 | 18 | comments): ?> 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 |
28 | 34 |

35 | 36 |

37 | 44 |
45 |
46 | 47 | 48 |
49 | parent->id > $home->id) echo ukBreadcrumb(page(), [ 'class' => 'uk-visible@m' ]); ?> 50 |
51 |
52 |

53 | get('headline|title')?> 54 |

55 |
56 | body?> 57 |
58 |
59 | 62 |
63 |
64 | 65 | debug && user()->isSuperuser()): // display region debugging info ?> 66 |
67 |
68 | 69 |
70 |
71 | 72 | 73 | 74 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 |
104 |
105 | and($home->children), [ 'header' => $siteTitle, 'divider' => true ])?> 106 |
107 |
108 | 109 | editable): ?> 110 | 111 | 112 | Edit 113 | 114 | 115 | 116 | 117 | 118 | 119 | -------------------------------------------------------------------------------- /site-regular/templates/_uikit.php: -------------------------------------------------------------------------------- 1 | navigation, 53 | * 54 | * This method can be used to render single-level or nested navigation lists. 55 | * To render nested navigation lists pass the starting Page object to the $items 56 | * argument and specify the 'depth' option as some number greater than 0. 57 | * 58 | * Optionally assign a `ukNavHeader` property to any page to show a 59 | * header (with the text in the property) above that page in the navigation. 60 | * Or if the `ukNavHeader` property is boolean true, then the page itself 61 | * will become a header item in the navigation. 62 | * 63 | * Optionally assign a `ukNavDivider` property with boolean true to any page 64 | * to show a divider before that page in the navigation. 65 | * 66 | * @param Page|PageArray $items 67 | * @param array|string $options Options to modify default behavior: 68 | * - `ul` (bool): Specify false to return just the list items without the wrapping `