FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cbcommerce/ModuleConfig.cfc at main · contentbox-modules/cbcommerce · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
contentbox-modules
/
cbcommerce
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cbcommerce
/
ModuleConfig.cfc
Copy path
More file actions
More file actions
Latest commit
History
History
History
46 lines (38 loc) · 1.32 KB
Breadcrumbs
cbcommerce
/
ModuleConfig.cfc
Copy path
File metadata and controls
46 lines (38 loc) · 1.32 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
component
{
this
.
name
=
"
contentbox-cbcommerce
"
;
this
.
title
=
"
cbCommerce for ContentBox
"
this
.
description
=
"
cbCommerce module for the ContentBox CMS
"
this
.
version
=
"
1.0.0-alpha1
"
this
.
author
=
"
Jon Clausen <jclausen@ortussolutions.com>
"
;
this
.
webUrl
=
"
https://github.com/contentbox-modules/cbcommerce
"
;
this
.
cfmapping
=
"
contentboxCommerce
"
;
this
.
modelNamespace
=
"
contentboxCommerce
"
;
this
.
entryPoint
=
"
contentbox-cbcommerce
"
;
this
.
viewParentLookup
=
true
;
this
.
layoutParentLookup
=
true
;
this
.
dependencies
=
[
"
cbcommerce-api
"
,
"
cbcommerce-admin
"
,
"
cbcommerce-ui
"
];
/**
* Configure Module
*/
function
configure
() {}
function
onLoad
() {
/**
* Overload for ContentBox default Sitemap Routing
*/
appRouter
.
prepend
()
.
route
(
"
sitemap
"
)
.
to
(
"
cbCommerce:Sitemap.index
"
);
//
Add our menu item
var
menuService
=
controller
.
getWireBox
().
getInstance
(
"
AdminMenuService@cb
"
);
menuService
.
addSubMenu
(
topMenu
=
menuService
.
MODULES
,
name
=
"
cbCommerce
"
,
label
=
"
Store Admin
"
,
href
=
menuService
.
buildModuleLink
(
'
store
'
,
'
admin
'
)
);
}
}
Back
|
FazBrowse Home
|
New Git URL