Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
joshine
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
joshine
Commits
df1740a5
Commit
df1740a5
authored
May 19, 2023
by
dhn
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://47.99.244.21:9999/root/joshine
into Branchs_developer
parents
f29cdf9d
a2768f3c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
3 deletions
+40
-3
app/code/Joshine/InstagramFeed/Model/Cache/Type.php
+1
-1
app/code/Magepow/Sizechart/Block/Adminhtml/Sizechart/AddRow.php
+18
-2
app/code/Magepow/Sizechart/etc/acl.xml
+21
-0
No files found.
app/code/Joshine/InstagramFeed/Model/Cache/Type.php
View file @
df1740a5
...
@@ -10,7 +10,7 @@ class Type extends TagScope
...
@@ -10,7 +10,7 @@ class Type extends TagScope
const
CACHE_TAG
=
'INSTAGRAM_FEED'
;
const
CACHE_TAG
=
'INSTAGRAM_FEED'
;
const
CACHE_LIFETIME
=
60
*
60
;
const
CACHE_LIFETIME
=
60
*
60
*
24
;
/**
/**
* @param FrontendPool $cacheFrontendPool
* @param FrontendPool $cacheFrontendPool
...
...
app/code/Magepow/Sizechart/Block/Adminhtml/Sizechart/AddRow.php
View file @
df1740a5
...
@@ -21,7 +21,7 @@ class AddRow extends \Magento\Backend\Block\Widget\Form\Container
...
@@ -21,7 +21,7 @@ class AddRow extends \Magento\Backend\Block\Widget\Form\Container
$this
->
_blockGroup
=
'Magepow_Sizechart'
;
$this
->
_blockGroup
=
'Magepow_Sizechart'
;
$this
->
_controller
=
'adminhtml_sizechart'
;
$this
->
_controller
=
'adminhtml_sizechart'
;
parent
::
_construct
();
parent
::
_construct
();
if
(
$this
->
_isAllowedAction
(
'Magepow_Sizechart::add_row'
))
{
/*
if ($this->_isAllowedAction('Magepow_Sizechart::add_row')) {
$this->buttonList->update('save', 'label', __('Save'));
$this->buttonList->update('save', 'label', __('Save'));
$this->buttonList->add(
$this->buttonList->add(
'saveandcontinue',
'saveandcontinue',
...
@@ -40,7 +40,23 @@ class AddRow extends \Magento\Backend\Block\Widget\Form\Container
...
@@ -40,7 +40,23 @@ class AddRow extends \Magento\Backend\Block\Widget\Form\Container
);
);
} else {
} else {
$this->buttonList->remove('save');
$this->buttonList->remove('save');
}
}*/
$this
->
buttonList
->
update
(
'save'
,
'label'
,
__
(
'Save'
));
$this
->
buttonList
->
add
(
'saveandcontinue'
,
[
'label'
=>
__
(
'Save and Continue Edit'
),
'class'
=>
'save'
,
'data_attribute'
=>
[
'mage-init'
=>
[
'button'
=>
[
'event'
=>
'saveAndContinueEdit'
,
'target'
=>
'#edit_form'
]
]
]
]
);
// $this->buttonList->remove('reset');
// $this->buttonList->remove('reset');
}
}
...
...
app/code/Magepow/Sizechart/etc/acl.xml
0 → 100644
View file @
df1740a5
<?xml version="1.0"?>
<config
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"urn:magento:framework:Acl/etc/acl.xsd"
>
<acl>
<resources>
<resource
id=
"Magento_Backend::admin"
>
<resource
id=
"Magepow_Sizechart::magepow"
title=
"Size Chart"
sortOrder=
"10"
>
<resource
id=
"Magepow_Sizechart::sizechart"
title=
"Size Chart Management"
sortOrder=
"50"
/>
</resource>
<resource
id=
"Magento_Backend::stores"
>
<resource
id=
"Magento_Backend::stores_settings"
>
<resource
id=
"Magento_Config::config"
>
<resource
id=
"Magepow_Sizechart::config"
title=
"Size Chart"
/>
</resource>
</resource>
</resource>
</resource>
</resources>
</acl>
</config>
\ No newline at end of file
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