Page 1 of 1

Change location of admin.css for CCounter

Posted: Thu Dec 03, 2015 3:38 am
by vaidyamanishjoshi
CCounter is great nodoubt...

But if you are using specific code in your .htaccess file to hide file extension in url

e.g. your url in address bar is looking like

Code: Select all

http://yourdomain.com/link
instead of

Code: Select all

http://yourdomain.com/link.php
or

Code: Select all

http://yourdomain.com/link.html
then you may need some changes in your CCounter folders on your server.

otherwise after login to CCounter admin panel, you will see just admin.css file code instead of admin.php file.

SUGGESTION to this issue is :

1) Go to your CCounter/admin folder on server.
2) Create new folder with name : css
3) Move admin.css file in this new folder css
4) Open admin_header.inc.php file existing in admin folder
5) Make following changes (around line 60):

REPLACE :

Code: Select all

   <!-- Custom styles for this template -->
		<link href="../admin/admin.css" rel="stylesheet">
TO

Code: Select all

  <!-- Custom styles for this template -->
		<link href="../admin/css/admin.css" rel="stylesheet">
6) Save file

DONE !!! :lol:

Re: Change location of admin.css for CCounter

Posted: Sat Dec 05, 2015 2:24 pm
by Klemen
Thanks for sharing your solution :wink: