Commit Graph

97 Commits

Author SHA1 Message Date
Matt Mirus
2f8fa48957 Filter template hierarchy for embed templates (#2145) 2019-01-15 16:42:00 -08:00
Kim Helge Frimanslund
70647fb284 More descriptive variable name 2018-10-28 23:37:54 +01:00
Kim Helge Frimanslund
c488744119 Remove no longer needed script enqueue fix 2018-10-27 11:54:30 +02:00
Kim Helge Frimanslund
7fd70d6fc8 Bring hook run sequence in line with expected WordPress behaviour 2018-10-27 11:53:52 +02:00
Ben Word
86d7459f78 Merge pull request #2110 from roots/revert-2090-master
Revert "Add searchform partial and function to replace default WordPress functionality"
2018-09-07 07:57:23 -06:00
Ben Word
bc6fd7352d Revert "Add searchform partial and function to replace default WordPress functionality" 2018-09-06 19:12:32 -06:00
Daniel Mejta
844d42335f Revert "Final filter that renders template should have PHP_INT_MAX priority."
This reverts commit a9d2541632.
2018-09-05 00:46:31 +02:00
Daniel Mejta
62d8c6f2a5 $comments_template fix 2018-09-03 08:43:51 +02:00
Daniel Mejta
a9d2541632 Final filter that renders template should have PHP_INT_MAX priority. 2018-08-28 07:23:58 +02:00
Daniel Mejta
3585d02f43 Add data from controller to comments template 2018-08-28 07:19:59 +02:00
Ben Word
120005bcef 9.0.2 2018-08-21 15:48:26 -06:00
Ben Word
d9652abf98 Merge pull request #2095 from mejta/comments-template-fix
Comments template fix
2018-08-21 15:37:22 -06:00
Ben Word
f796f1cde7 Merge branch 'master' into master 2018-08-21 15:30:05 -06:00
Daniel Mejta
53abe14942 Fix 2018-08-21 15:40:11 +02:00
Michael W. Delaney
230f194855 Update filters.php 2018-08-08 09:55:54 -04:00
Michael W. Delaney
28710faf2f Update filters.php 2018-08-08 08:51:00 -04:00
Ben
b912090139 Extract logic from search form template
This removes all logic from the search form Blade template, and extracts
it to the "Controller" level via Sage's filter system. It also adds a
global 'app' filter to hook into, so that the search form data will be
served on every page.
2018-08-06 13:06:34 -07:00
MWDelaney
0984d82b36 Add searchform partial and function to replace (and maintain) default WordPress functionality 2018-08-05 12:07:32 -04:00
Daniel Roe
cc349672ca Fix missing comment-reply JS (#2085) 2018-07-18 16:37:51 -06:00
Kim Helge Frimanslund
85db2c777a Make template() compatible with wp admin 2018-05-06 13:42:31 +02:00
Ben Word
634aec9641 Close #2028 - Increase priority on comments_template filter 2018-04-25 12:18:52 -06:00
Ben Word
d3d45d5901 Merge pull request #1980 from dmgawel/patch-1
Update template hierarchy
2018-04-25 12:16:01 -06:00
Darren Jacoby
fa730592c0 PSR4 loading for Controller 2.0.0 2018-02-07 17:43:50 +02:00
Darren Jacoby
fe316adf6f PSR4 loading for Controller 2.0.0 2018-02-07 17:43:24 +02:00
Darren Jacoby
63c720c483 PSR4 loading for Controller 2.0.0 2018-02-07 17:39:35 +02:00
Ben Word
44690d6a03 Update controller examples 2017-10-30 09:53:47 -06:00
Dawid Gaweł
e4a9fe29d6 Update template hierarchy
All sage/filter_templates/paths have now higher priority than stand-alone template files. Fixes #1979
2017-10-19 12:59:24 +02:00
Darren Jacoby
bf1304af1e Change default Controller path to app/controllers 2017-08-20 19:14:46 +02:00
Ben Word
8a454282c4 Merge pull request #1941 from kaisermann/fix-template-controller
Ensure templates filenames without path and extension.
2017-08-17 10:53:52 -06:00
Christian Kaisermann
33b981c4fc Ensure to get templates filenames without path and extension. 2017-08-17 13:43:33 -03:00
Ben Word
de753ad843 Merge pull request #1912 from kaisermann/title-on-controller
Moved title() helper to app.php controller
2017-08-16 21:24:52 -06:00
Michael W. Delaney
6c472480d0 Update helpers.php 2017-08-14 11:18:40 -04:00
QWp6t
b34bfeab3c Replace ContainerContract with Container
thx @LeoColomb for catching this
2017-07-09 14:03:28 -07:00
1a8dce9b09 Use roots/sage-lib (incl. new config system) 2017-07-09 07:05:07 -07:00
6bbc676ecb Use roots/sage-installer for post-create event 2017-07-01 18:03:58 -07:00
Christian Kaisermann
d956e54c85 Moved title() helper to app.php controller 2017-06-23 13:03:35 -03:00
Sam Rapaport
95acfe2ff5 Remove test output. 2017-06-13 09:47:19 -07:00
Sam Rapaport
3849192cc7 Don't remove comments when clearing files. 2017-06-13 09:45:42 -07:00
Dave Kiss
6b3d44857b assets -> resources/assets 2017-06-13 08:47:10 -04:00
Dave Kiss
e59dc20163 Merge branch 'master' of github.com:roots/sage 2017-06-13 08:39:27 -04:00
Léo Colombaro
62bba1bd23 illuminate: make with parameters (#1888)
Since Illuminate 5.4, `$container->make` with `$parameters` is `$container->makeWith` : 8fbb101a60/Container.php (L547-L568)

Related: 
* f242cb50e9
* 1fc0d2451e
2017-05-02 01:21:07 -07:00
Toby Schrapel
dfcac1e857 Remove die/var_dump 2017-04-25 08:54:27 -05:00
Ben Word
4917135ed3 Beta 3 2017-04-21 14:13:20 -06:00
Nicolo Sacchi
b11cb99d64 Fixed production manifest path (#1881) 2017-04-17 19:47:43 -07:00
QWp6t
99160be992 Move required theme files to sage/resources
* Resolves issue with WP only looking one-level deep for templates #1870
* get_template_dir() and related functions now point to sage/resources
* Use collect() when assembling views paths
* Update tree in README
2017-04-15 18:52:03 -07:00
Ciro Mattia Gonano
3852cf8f4b front_page -> frontpage
Fix regression, see 6ca3b3faa7
2017-04-05 11:13:07 +02:00
Ben Word
80728a1b94 Move src/ to app/ 2017-04-03 19:46:52 -06:00