Search This Blog

Showing posts with label classes. Show all posts
Showing posts with label classes. Show all posts

Thursday, April 9, 2020

Added Google Site Verification HTML TAG in old Joomla Templates

Google Console

1. goto search.google.com
2. select right side option, give ur index url
    ex: http://www.infovijay.com
3. go down, select html tag verification.
4. Generate. copy that metatag, apply into your html/php of the main index.
5. Click verify


In your Joomla Template

1. Open filemanager
2. goto public_html/templates/avatar_nine/core/classes folder
3. Open template.php
4. find public function addHead()
{} method and add before return.

sample 

public function addHead() 
{
....
$head .= '< meta name="google-site-verification" content="BTDlLui-sdfdsfdsfdsf4r4454ergdrfgrdfgdfgikORSxw" / >';

return $head;

}

Tuesday, March 24, 2020

Java : Static method to get classes/Resources folder and copy from inside zip to outter



URL url = MethodHandles.lookup().lookupClass().getResource ( "text.json" );
FileUtils.copyURLToFile(url,  new File ( "D:/text.json" ) );

Hit Counter


View My Stats