Joomla-Visites - Web analytics for Joomla!

Personnal tools

Sign-up!

Statistiques

1 user online
of which 0 member

friendly pagenames


chappy72
Fresh Boarder

Posts: 2
 
Posté le 2007/11/19 12:56 Sujet du message : friendly pagenames

Hello everybody

first of all: your Joomla Visites is great!
I've got this software tip some days ago and tested it yesterday. It's really great!

Now, one small question I don't understand:
you write, I have to type the following for friendly pagenames:

Code:

 var pagename document.title;



but I don't understand where to integrate this?
In which file I have to add it?

Thanks for your help!

Daniel

Click here to see the profile of this user The topic has been locked.
chappy72
Fresh Boarder

Posts: 2
 
Posté le 2007/11/21 07:49 Sujet du message : Re:friendly pagenames

Hello

I've solved now with sh404SEF.
This SEF works fine.

But, have a look to this picture:


It's very hard to read this entries due to grouping after each slash.
Is there a chance to ungroup all and show only the pages?

Thanks a lot!

Daniel

Post edited by: chappy72, at: 2007/11/21 07:49

Post edited by: chappy72, at: 2007/11/21 07:50

Click here to see the profile of this user The topic has been locked.
Claus Egholm Nielsen
Fresh Boarder

Posts: 1
 
Posté le 2007/11/25 23:06 Sujet du message : Re:friendly pagenames

Hi

You should edit the file "mod_joomla-visites.php" located in /modules folder (the modules folder in the root of your site). In that file you'll find the following line:
var pagename = '';
That's the line mentioned in the "documentation"

Change it to:

var pagename = document.title;

and you're done! All pages will now be reported with page title instead of URL.

**Claus

Click here to see the profile of this user The topic has been locked.
arnaud
Admin

Posts: 133
 
Posté le 2008/01/17 14:19 Sujet du message : Re:friendly pagenames

Yes, that's it, thanks for answering!

Arnaud

Click here to see the profile of this user The topic has been locked.
judithwien
Fresh Boarder

Posts: 2
 
Posté le 2008/03/07 10:34 Sujet du message : Re:friendly pagenames

Hello everybody!
I have a problem with friendly pagenames.

1. I ve installed Joomla-Visites 1.1 RC2
2. In mod_joomla-visites.php i ve changed
var pagename = '';
to
var pagename = document.title;
3. But there is no effect.

this is what i get:

Seitenaufrufe
index
index.php?option=com_content&task=view&id=68&Itemi...
index.php?option=com_content&task=view&id=69&Itemi...
index.php?option=com_content&task=view&id=57&Itemi...
index.php?option=com_content&task=view&id=61&Itemi...
index.php?option=com_content&task=view&id=65&Itemi...

Can someone help?

judy

Click here to see the profile of this user The topic has been locked.
judithwien
Fresh Boarder

Posts: 2
 
Posté le 2008/03/13 15:21 Sujet du message : Re:friendly pagenames

ok, now it works. i don't know why.
judy

Click here to see the profile of this user The topic has been locked.
(C) 2008 VISOCREA | Contact