Showing posts with label Joomla Customization. Show all posts
Showing posts with label Joomla Customization. Show all posts

Friday, 23 November 2018

Remove Copyright Info from Smaraddons Joomla Templates

To remove Copyright Info form Footer in Smart Addons Templates, follow the below steps

  1. Go to templates/you-template-name
  2. Then go to includes/lib/template.php
  3. Edit template.php
  4. Remove the Copyright Information
  5. Save File

How to set Minimum Purchase Quantity in Virtuemart Joomla

How to set Minimum Purchase Quantity in Virtuemart Joomla
I modified the following file: /components/com_virtuemart/themes/default/templates/product_details/includes/quantity_box_general.tpl.php

I added the following code immediately after:
extract( $quantity_options );

Code:

//Minimum Quantity added by Asgard Development
require_once('administrator/components/com_virtuemart/classes/ps_product.php');
$minimum_quantity_ad = ps_product::product_order_levels($prod_id);


//Minimum Quantity added by Asgard Development
if($minimum_quantity_ad[0])
  $quantity = $minimum_quantity_ad[0];

Remove Spam Comments from K2 component

Remove Spam Comments from K2 component


  1. Navigate to PHPMyadmin
  2. Select your Joomla database from the drop down
  3. Make a backup of the database (always safer than sorry!)
  4. Navigate to the k2_comments table in your database. Depending on your custom prefix, it may look something like: ag3w_k2_comments
  5. Click on the SQL tab
  6. Replace "yourprefix" below with your databases prefix, copy it into the text field then run the query below by clicking GO


DELETE FROM yourprefix_k2_comments WHERE id > 1

How to Remove copyright in Joomla

 Please go to "your_site/language/en-GB/en-GB.tpl_templatename.ini", finding:


/language/en-GB/en-GB.mod_footer.ini

How to Remove Notice: Undefined property: stdClass::$fulltext in ...skipped...modules/mod_otminislideshow/helper.php on line 120



How to Remove Notice: Undefined property: stdClass::$fulltext in ...skipped...modules/mod_otminislideshow/helper.php on line 120


Notice: Undefined property: stdClass::$fulltext in......modules/mod_otminislideshow/helper.php on line 120

Solution
Just remove the var $item->fulltext anywhere you find out in the helper.php
Path of helper.php file is below
modules/mod_otminislideshow/helper.php

Solution of Error:- Deprecated: iconv_set_encoding(): Use of iconv.internal_encoding is deprecated in public_html\joomla\libraries\joomla\string\string.php on line 27

Solution of Error:- Deprecated: iconv_set_encoding(): Use of iconv.internal_encoding is deprecated in public_html\joomla\libraries\joomla\string\string.php on line 27
Deprecated: iconv_set_encoding(): Use of iconv.internal_encoding is deprecated in public_html\joomla\libraries\joomla\string\string.php on line 27

Deprecated: iconv_set_encoding(): Use of iconv.input_encoding is deprecated in public_html\joomla\libraries\joomla\string\string.php on line 28

Deprecated: iconv_set_encoding(): Use of iconv.output_encoding is deprecated in public_html\joomla\libraries\joomla\string\string.php on line 29

Let’s see how to deal with this issue.


    Open the file string.php in ‘public_html\joomla\libraries\joomla\string\’ directory. Go to the line 27.

   
    if (function_exists('iconv'))
    {
    // These are settings that can be set inside code
    iconv_set_encoding("internal_encoding", "UTF-8");
    iconv_set_encoding("input_encoding", "UTF-8");
    iconv_set_encoding("output_encoding", "UTF-8");
    }

    to the following:

 
   
    if (function_exists('iconv') && PHP_VERSION_ID < 50600)
    {
    // These are settings that can be set inside code
    iconv_set_encoding("internal_encoding", "UTF-8");
    iconv_set_encoding("input_encoding", "UTF-8");
    iconv_set_encoding("output_encoding", "UTF-8");
    }
    elseif (PHP_VERSION_ID >= 50600)
    {
    ini_set("default_charset", "UTF-8");
    }

How to Remove Copyright Footer Information from Joomla Monster Themes


To remove Copyright Info form Footer in Joomla Monster Themes, follow the below step

  1. Go to templates/you-template-name/tpl/blocks/footer.php
  2. Edit footer.php file of the template in that folder
  3. Edit there whatever you want like Footer Text, Footer Link or Delete both
  4. Message me below if have any issue


When Save Close Cancel Buttons Does not Work in Joomla Administrator Area



When Save Close Cancel Buttons Does not Work in Joomla Administrator Area
Edit the following file When Save Close Cancel Buttons Does not Work in Joomla Administrator Area.

Please go to 'plugins\system\helix\js\admin\layout.admin.js' and on line 143 just remove ' return false;' or replace 'false' with 'true'.

Send me message if have any issue