Change location of admin.css for CCounter

Post your Click counter digestion problems here
Post Reply
vaidyamanishjoshi
Posts: 1
Joined: Thu Dec 03, 2015 3:09 am

Change location of admin.css for CCounter

Post 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:
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Change location of admin.css for CCounter

Post by Klemen »

Thanks for sharing your solution :wink:
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply