Skip to content

Just a simple cache delete button in your admin to ease in development

License

Notifications You must be signed in to change notification settings

ankursinghagra/opencart-cache-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

opencart-cache-module

Just a simple cache delete button in your admin to ease in development

Getting Started

Step 1: Copy the files from the "upload" and paste them into the root folder on your opencart installation.

Step 2: Copy the following code and add it to your "/admin/controller/common/column_left.php" just after where "tool/log" is mentioned ref. the image.

	if ($this->user->hasPermission('access', 'tool/cache')) {
		$maintenance[] = array(
			'name'	   => $this->language->get('text_cache'),
			'href'     => $this->url->link('tool/cache', 'user_token=' . $this->session->data['user_token'], true),
			'children' => array()		
		);
	}

Where to Paste Code

Prerequisites

Need a working opencart 3.0.2.0 installation.

Built With

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Just a simple cache delete button in your admin to ease in development

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages