This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Menu Odoo Support | |
.................................. | |
path: /opt/odoo/odoo/addons/im_odoo_support/static/src/xml/im_odoo_support.xml | |
Menu Odoo Preferences, My Odoo.com account, About Odoo, Help, Log out | |
.................................. | |
path: /opt/odoo/odoo/addons/web/static/src/xml/base.xml | |
Search for 'data-menu' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Success Message: Message sent successfully! | |
Contact Us Auto Response | |
------------------------- | |
<p>Hi {{ forms_getField(input,'name') | raw }},</p> | |
<p>We have received your message, and we will contact you shortly!</p> | |
<p>Thanks!<br></p> | |
<p>AR Audio Medical</p> | |
Contact Us To Admin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Setting Value | |
{{ setting_value('streams::field_slug', config_get('streams::distribution.field_slug')) }} | |
// Content View | |
{{ page.content.render | raw}} | |
// Content Exerpt View | |
{{ page.content | striptags | slice(0, 120) }} | |
// Multiple File View |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.content { | |
display: -webkit-box; | |
display: -moz-box; | |
display: -ms-flexbox; | |
display: -webkit-flex; | |
display: flex; | |
-webkit-flex-direction: column; | |
-moz-flex-direction: column; | |
-ms-flex-direction: column; | |
flex-direction: column; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:::::::::::::::::::::::::::: | |
set "params=Problem_with_elevating_UAC_for_Administrator_Privileges"&if exist "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" | |
fsutil dirty query %systemdrive% >nul 2>&1 && goto :GotPrivileges | |
:: The following test is to avoid infinite looping if elevating UAC for Administrator Privileges failed | |
If "%1"=="%params%" (echo Elevating UAC for Administrator Privileges failed&echo Right click on the script and select 'Run as administrator'&echo Press any key to exit...&pause>nul 2>&1&exit) | |
cmd /u /c echo Set UAC = CreateObject^("Shell.Application"^) : UAC.ShellExecute "%~0", "%params%", "", "runas", 1 > "%temp%\getadmin.vbs"&cscript //nologo "%temp%\getadmin.vbs"&exit | |
:GotPrivileges | |
:::::::::::::::::::::::::::: | |
color 1F |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form method="POST" action="/our/url"> | |
<!-- this should have the current value of version_number --> | |
<input type="hidden" name="version_number" value="1" /> | |
<textarea name="input" onChange="save(event)" /> | |
</form> | |
function save(event) { | |
event.target.form['version_number'].value++; | |
var request = new XMLHttpRequest(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form method="POST" action="/our/url"> | |
<textarea name="input" onChange="save(event)" /> | |
</form> | |
<script language="javascript"> | |
function save(event) { | |
var request = new XMLHttpRequest(); | |
request.open(event.target.form.method, event.target.form.action); | |
request.send(new FormData(event.target.form)); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @license MIT | |
* @author Ruben Decleyn [email protected]> | |
* @created 12/02/2017 | |
*/ | |
namespace App\TwigExtensions; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
////// Rename or remove order statuses ////// | |
function wc_renaming_order_status($order_statuses) { | |
$order_statuses = array( | |
'wc-pending' => _x('Pending', 'Order status', 'woocommerce'), | |
'wc-processing' => _x('New Order', 'Order status', 'woocommerce'), | |
'wc-cancelled' => _x('Cancelled', 'Order status', 'woocommerce'), | |
'wc-completed' => _x('Approved', 'Order status', 'woocommerce'), | |
'wc-on-hold' => _x('On Hold', 'Order status', 'woocommerce'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I use the first | |
—– BEGIN LICENSE —– | |
Michael Barnes | |
Single User License | |
EA7E-821385 | |
8A353C41 872A0D5C DF9B2950 AFF6F667 | |
C458EA6D 8EA3C286 98D1D650 131A97AB | |
AA919AEC EF20E143 B361B1E7 4C8B7F04 |
NewerOlder