Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Platform
Commits
40764b7a
Commit
40764b7a
authored
Dec 05, 2016
by
Andrew Bekesh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add config for idavoll namespace modules
parent
93cd5bd3
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
162 additions
and
8 deletions
+162
-8
config.php
Modules/Core/Config/config.php
+0
-2
config.php
Modules/Dashboard/Config/config.php
+18
-0
DashboardServiceProvider.php
Modules/Dashboard/Providers/DashboardServiceProvider.php
+0
-4
config.php
Modules/Media/Config/config.php
+18
-0
config.php
Modules/Menu/Config/config.php
+18
-0
config.php
Modules/Page/Config/config.php
+18
-0
config.php
Modules/Setting/Config/config.php
+18
-0
config.php
Modules/Tag/Config/config.php
+18
-0
config.php
Modules/Translation/Config/config.php
+18
-0
config.php
Modules/User/Config/config.php
+18
-0
UserServiceProvider.php
Modules/User/Providers/UserServiceProvider.php
+0
-2
config.php
Modules/Workshop/Config/config.php
+18
-0
No files found.
Modules/Core/Config/config.php
View file @
40764b7a
...
...
@@ -22,8 +22,6 @@ return [
| You can specify place from which you would like to use module views.
| You can use any combination, but generally it's advisable to add only one,
| extra view namespace.
| Available places are: from within your current backend theme, from within
| your current frontend theme and from resources folder.
| By default every extra namespace will be set to false.
*/
'useViewNamespaces'
=>
[
...
...
Modules/Dashboard/Config/config.php
View file @
40764b7a
...
...
@@ -10,4 +10,22 @@ return [
| No custom sidebar: null
*/
'custom-sidebar'
=>
null
,
/*
|--------------------------------------------------------------------------
| Load additional view namespaces for a module
|--------------------------------------------------------------------------
| You can specify place from which you would like to use module views.
| You can use any combination, but generally it's advisable to add only one,
| extra view namespace.
| By default every extra namespace will be set to false.
*/
'useViewNamespaces'
=>
[
// Read module views from /Themes/<backend-theme-name>/views/modules/asgard/<module-name>
'backend-theme'
=>
false
,
// Read module views from /Themes/<frontend-theme-name>/views/modules/asgard/<module-name>
'frontend-theme'
=>
false
,
// Read module views from /resources/views/asgard/<module-name>
'resources'
=>
true
,
],
];
Modules/Dashboard/Providers/DashboardServiceProvider.php
View file @
40764b7a
...
...
@@ -44,10 +44,6 @@ class DashboardServiceProvider extends ServiceProvider
__DIR__
.
'/../Resources/views'
=>
base_path
(
'resources/views/asgard/dashboard'
),
],
'views'
);
$this
->
app
[
'view'
]
->
prependNamespace
(
'dashboard'
,
base_path
(
'resources/views/asgard/dashboard'
)
);
$this
->
app
[
'view'
]
->
prependNamespace
(
'dashboard'
,
$theme
->
find
(
config
(
'asgard.core.core.admin-theme'
))
->
getPath
()
.
'/views/modules/dashboard'
...
...
Modules/Media/Config/config.php
View file @
40764b7a
...
...
@@ -48,4 +48,22 @@ return [
| No custom sidebar: null
*/
'custom-sidebar'
=>
null
,
/*
|--------------------------------------------------------------------------
| Load additional view namespaces for a module
|--------------------------------------------------------------------------
| You can specify place from which you would like to use module views.
| You can use any combination, but generally it's advisable to add only one,
| extra view namespace.
| By default every extra namespace will be set to false.
*/
'useViewNamespaces'
=>
[
// Read module views from /Themes/<backend-theme-name>/views/modules/asgard/<module-name>
'backend-theme'
=>
false
,
// Read module views from /Themes/<frontend-theme-name>/views/modules/asgard/<module-name>
'frontend-theme'
=>
false
,
// Read module views from /resources/views/asgard/<module-name>
'resources'
=>
false
,
],
];
Modules/Menu/Config/config.php
View file @
40764b7a
...
...
@@ -18,4 +18,22 @@ return [
| having to send it via the views
*/
'default_menu_presenter'
=>
null
,
/*
|--------------------------------------------------------------------------
| Load additional view namespaces for a module
|--------------------------------------------------------------------------
| You can specify place from which you would like to use module views.
| You can use any combination, but generally it's advisable to add only one,
| extra view namespace.
| By default every extra namespace will be set to false.
*/
'useViewNamespaces'
=>
[
// Read module views from /Themes/<backend-theme-name>/views/modules/asgard/<module-name>
'backend-theme'
=>
false
,
// Read module views from /Themes/<frontend-theme-name>/views/modules/asgard/<module-name>
'frontend-theme'
=>
false
,
// Read module views from /resources/views/asgard/<module-name>
'resources'
=>
false
,
],
];
Modules/Page/Config/config.php
View file @
40764b7a
...
...
@@ -53,4 +53,22 @@ return [
| No custom sidebar: null
*/
'custom-sidebar'
=>
null
,
/*
|--------------------------------------------------------------------------
| Load additional view namespaces for a module
|--------------------------------------------------------------------------
| You can specify place from which you would like to use module views.
| You can use any combination, but generally it's advisable to add only one,
| extra view namespace.
| By default every extra namespace will be set to false.
*/
'useViewNamespaces'
=>
[
// Read module views from /Themes/<backend-theme-name>/views/modules/asgard/<module-name>
'backend-theme'
=>
false
,
// Read module views from /Themes/<frontend-theme-name>/views/modules/asgard/<module-name>
'frontend-theme'
=>
false
,
// Read module views from /resources/views/asgard/<module-name>
'resources'
=>
false
,
],
];
Modules/Setting/Config/config.php
View file @
40764b7a
...
...
@@ -10,4 +10,22 @@ return [
| No custom sidebar: null
*/
'custom-sidebar'
=>
null
,
/*
|--------------------------------------------------------------------------
| Load additional view namespaces for a module
|--------------------------------------------------------------------------
| You can specify place from which you would like to use module views.
| You can use any combination, but generally it's advisable to add only one,
| extra view namespace.
| By default every extra namespace will be set to false.
*/
'useViewNamespaces'
=>
[
// Read module views from /Themes/<backend-theme-name>/views/modules/asgard/<module-name>
'backend-theme'
=>
false
,
// Read module views from /Themes/<frontend-theme-name>/views/modules/asgard/<module-name>
'frontend-theme'
=>
false
,
// Read module views from /resources/views/asgard/<module-name>
'resources'
=>
false
,
],
];
Modules/Tag/Config/config.php
View file @
40764b7a
...
...
@@ -12,4 +12,22 @@ return [
| No custom sidebar: null
*/
'custom-sidebar'
=>
null
,
/*
|--------------------------------------------------------------------------
| Load additional view namespaces for a module
|--------------------------------------------------------------------------
| You can specify place from which you would like to use module views.
| You can use any combination, but generally it's advisable to add only one,
| extra view namespace.
| By default every extra namespace will be set to false.
*/
'useViewNamespaces'
=>
[
// Read module views from /Themes/<backend-theme-name>/views/modules/asgard/<module-name>
'backend-theme'
=>
false
,
// Read module views from /Themes/<frontend-theme-name>/views/modules/asgard/<module-name>
'frontend-theme'
=>
false
,
// Read module views from /resources/views/asgard/<module-name>
'resources'
=>
false
,
],
];
Modules/Translation/Config/config.php
View file @
40764b7a
...
...
@@ -18,4 +18,22 @@ return [
| No custom sidebar: null
*/
'custom-sidebar'
=>
null
,
/*
|--------------------------------------------------------------------------
| Load additional view namespaces for a module
|--------------------------------------------------------------------------
| You can specify place from which you would like to use module views.
| You can use any combination, but generally it's advisable to add only one,
| extra view namespace.
| By default every extra namespace will be set to false.
*/
'useViewNamespaces'
=>
[
// Read module views from /Themes/<backend-theme-name>/views/modules/asgard/<module-name>
'backend-theme'
=>
false
,
// Read module views from /Themes/<frontend-theme-name>/views/modules/asgard/<module-name>
'frontend-theme'
=>
false
,
// Read module views from /resources/views/asgard/<module-name>
'resources'
=>
false
,
],
];
Modules/User/Config/config.php
View file @
40764b7a
...
...
@@ -98,4 +98,22 @@ return [
| No custom sidebar: null
*/
'custom-sidebar'
=>
null
,
/*
|--------------------------------------------------------------------------
| Load additional view namespaces for a module
|--------------------------------------------------------------------------
| You can specify place from which you would like to use module views.
| You can use any combination, but generally it's advisable to add only one,
| extra view namespace.
| By default every extra namespace will be set to false.
*/
'useViewNamespaces'
=>
[
// Read module views from /Themes/<backend-theme-name>/views/modules/asgard/<module-name>
'backend-theme'
=>
false
,
// Read module views from /Themes/<frontend-theme-name>/views/modules/asgard/<module-name>
'frontend-theme'
=>
false
,
// Read module views from /resources/views/asgard/<module-name>
'resources'
=>
true
,
],
];
Modules/User/Providers/UserServiceProvider.php
View file @
40764b7a
...
...
@@ -67,8 +67,6 @@ class UserServiceProvider extends ServiceProvider
$this
->
publishes
([
__DIR__
.
'/../Resources/views'
=>
base_path
(
'resources/views/asgard/user'
),
]);
$this
->
loadViewsFrom
(
base_path
(
'resources/views/asgard/user'
),
'user'
);
$this
->
loadViewsFrom
(
__DIR__
.
'/../Resources/views'
,
'user'
);
$this
->
publishConfig
(
'user'
,
'permissions'
);
$this
->
publishConfig
(
'user'
,
'config'
);
...
...
Modules/Workshop/Config/config.php
View file @
40764b7a
...
...
@@ -10,4 +10,22 @@ return [
| No custom sidebar: null
*/
'custom-sidebar'
=>
null
,
/*
|--------------------------------------------------------------------------
| Load additional view namespaces for a module
|--------------------------------------------------------------------------
| You can specify place from which you would like to use module views.
| You can use any combination, but generally it's advisable to add only one,
| extra view namespace.
| By default every extra namespace will be set to false.
*/
'useViewNamespaces'
=>
[
// Read module views from /Themes/<backend-theme-name>/views/modules/asgard/<module-name>
'backend-theme'
=>
false
,
// Read module views from /Themes/<frontend-theme-name>/views/modules/asgard/<module-name>
'frontend-theme'
=>
false
,
// Read module views from /resources/views/asgard/<module-name>
'resources'
=>
false
,
],
];
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment