Skip to content

Instantly share code, notes, and snippets.

View hiteshaggarwal's full-sized avatar

Hitesh Aggarwal hiteshaggarwal

View GitHub Profile

Table of Contents:

  1. Introduction

  2. Entities

    1. Company
    2. Subsidiary
    3. Location
  3. Restaurant

Repositories

Idoraa Website: (Static Content on Laravel) https://github.com/hiteshaggarwal/Idoraa-Website

Idoraa Admin + Api: (Laravel) https://github.com/hiteshaggarwal/Idoraa

Idoraa WebApp: (React Native + ReactJS) https://github.com/hiteshaggarwal/Idoraa-WebApp

<?php
$params = Astroid\Framework::getTemplate()->getParams();
$template_layout = $params->get('template_layout', 'wide');
if ($template_layout != 'boxed') return false;
$layout_background_image = $params->get('layout_background_image', '');
if (!empty($layout_background_image)) {
$style = new Astroid\Helper\Style('body');
$style->addCss('background-image', 'url(' . \JURI::root() . Astroid\Helper\Media::getPath() . '/' . $layout_background_image . ')');
<?php
/**
* @package Astroid Framework
* @author JoomDev https://www.joomdev.com
* @copyright Copyright (C) 2009 - 2018 JoomDev.
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later
*/
// No direct access.
defined('_JEXEC') or die;
<?php
/**
* @package Astroid Framework
* @author JoomDev https://www.joomdev.com
* @copyright Copyright (C) 2009 - 2018 JoomDev.
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later
*/
defined('_JEXEC') or die;
class AstroidFrameworkConstants {
/**
* Summernote StripTags
*
* This is a plugin for Summernote (www.summernote.org) WYSIWYG editor.
* To strip unwanted HTML tags and attributes while pasting content in editor.
*
* @author Hitesh Aggarwal, Extenzine
*
*/