Last updated on March 2nd, 2019 at 06:46 pm
Oxwall and Skadate uses Smarty template engine for html compilation and caches various section of the software, such as the database and static files. Static files are specifically stored in the /ow_static/ folder.
In essence, changes you make on static files or template files will not appear in real time. The role Smarty plays in Oxwall is very crucial as it aids in efficient template management and separate the role of developers and designers. However, at other times it can turn out to be a real pain in the neck, especially when you are trying to deal with some custom code modifications.
Let say for instance, you just finished reading one of my fine Oxwall tutorials, (say, “Add Adsense code within oxwall forum topics“) and you found out that your code didn’t work. There is no need to panic, developer mode wasn’t enabled on your Oxwall site, hence, the system has failed to regenerate your smarty templates and static files.
In this tutorial, I will try to the best of my profession to explain to you how you can enable developer mode in Oxwall and Skadate. Do not forget to bookmark this page for future reference.
How to do I enable Dev_Mode in Oxwall or Skadate?
Well, I won’t be surprised if I find you asking this question; it was hell for me at the beginning and I expect same from every newbie. In my “beginner” days there was only one way of doing this and that is through your cpanel but luckily for everyone there are now two ways (cpanel & plugin) of achieving the same result, of which we shall discuss them here and leave you with the option of going the way you find convenient.
Enable Skadate and Oxwall DEV Mode through File Manager
This method is quite stressful and most time you might even forget to revert your changes which will result in slowing down your site load time. If your web hosting server has cPanel or you are using a code editor, follow the steps below:
- Login to your cPanel account.
- Browse to the directory ow_includes in your oxwall installation path.
- Open config.php file in the Edit mode.
- At the end of the file, find the following constant OW_DEV_MODE
- Now change the values from false to true.
if ( defined('OW_CRON') )
* Make changes in this block if you want to enable DEV mode and DEBUG mode
Save your changes. See screenshot below.
Once you are done with your activities, remember to change the value back to false like in the first image.
How to Clear your Oxwall and Skadate Cache using a Plugin
Guys, I must admit that this was a total revolution in my life, just sit back and watch it go all in one click from my admin panel, it is all thanks to Roderick for introducing the cache cleaner extreme plugin that made life easier for you and me.
How does it work? Well, compared to what we had seen in the past, it works like magic (all in one click) right from your admin panel.
Time needed: 2 minutes.
Follow the steps below to clear your static and smarty template files on Oxwall and Skadate via your admin dashboard.
If you seek a custom feature developed for your website or need 24/7 premium support to help you get started with your social network or Skadate dating website, save hours of searching online or wasting money on unnecessary plugins, get in touch with me
and let's discuss a suitable plan for your project. Best thing about this service is that you are never placed on hold and get to talk to an expereinced Oxwall/Skadate developer. Get in Touch
- Download Cache Cleaner Extreme Plugin
Simply download the Cache Cleaner Extreme from the Oxwall store.
- Install and Activate Cache Cleaner Extreme Plugin
Install and activate the plugin. See, step by step guide on how to install a plugin on Oxwall and Skadate sites.
- Launch Cache Cleaner Extreme Plugin Settings
To clear your website cache, open Cache Cleaner Extreme plugin settings page by navigating to Admin > Plugins > Installed Plugins > Cache Cleaner Extreme > Settings. You can navigate directly to the plugin setting page by simply entering http://yourwebsite.com/admin/plugins/cacheextreme on your browser address bar. Change yourwebsite.com to your Oxwall or Skadate website address.
- Clear your Website Cache
When you are done with your activities, simply click on “clean it up”