![]() |
Page Names - Event Date: 22 May 2006 - 19 Jan 2007 |
Post Reply
|
| Author | |
giorgoc
Professional
Joined: 01 Mar 2006 Posts: 41 |
Post Options
Quote Reply
Calendar Event: Page NamesPosted: 22 May 2006 at 7:45pm |
|
Hi,
I remember back in oldies (v3) there was some kind of way to include a title into pages so that this will appear in the client as 'page name'. Could you remind me how can I do that? thanks, G |
|
![]() |
|
Stephen
Admin Group
Joined: 21 Oct 2005 Location: Stoke on Trent Posts: 1389 |
Post Options
Quote Reply
Posted: 22 May 2006 at 8:48pm |
|
Hi,
Yes - in the embedded code - simply set the sWOPage ='my page'. If you set the variable it will be used instead of the document name.
You will need to embed the code between <SCRIPT> tags instead of using a include file if you are going to do this.
Thanks
Steve
|
|
![]() |
|
giorgoc
Professional
Joined: 01 Mar 2006 Posts: 41 |
Post Options
Quote Reply
Posted: 23 May 2006 at 10:06pm |
|
thanks,
is there any way to avoid loading all the code into my pages? Any way to pass that variable into the .js file? It's really a lot of code and I wouldn't like to flood my pages with that.
I remember, before doing that there was some kind of method to do it by using a META tag.. is that right? If not, please do consider it for a future update and honestly it's not nice to have to include all the code into my pages..
thanks,
G.
|
|
![]() |
|
Stephen
Admin Group
Joined: 21 Oct 2005 Location: Stoke on Trent Posts: 1389 |
Post Options
Quote Reply
Posted: 24 May 2006 at 9:00am |
|
Hi,
Yes - you could create a global javascript var and then use this in the WhosOn JS file.
eg: - in the WhosOn.JS file set:
var sWOPage = myPage;
Then on your pages BEFORE the WhosOn Include file set:
<SCRIPT Language="Javascript>Var myPage = 'my page name';</SCRIPT>
That should work.
You can also enable the 'Lookup Page Titles' option. This is the same as it was in V3. In which case WhosOn will lookup the page titles via HTTP. You can use the <whoson>page name</whoson> tag to specify a custom name if you dont want to use the <title> tag. Set the 'Show Page Title Instead Of Filename' option to show the title in the real time views. Note: Enabling this option will increase the workload of WhosOn because it has to request each page via HTTP to get the title.
Regards
Steve
|
|
![]() |
|
giorgoc
Professional
Joined: 01 Mar 2006 Posts: 41 |
Post Options
Quote Reply
Posted: 28 May 2006 at 10:19am |
|
Hi Steve,
Great, the idea with the global javascript variable worked.
Though the javascript code you wrote generated some errors, the correct one should be <script type="text/javascript">var myPage= 'My Website Title';</script> just a reference for others.
Steve I got this small problem. I was trying to test the live chat and I entered some funny nickname into the popup window. Since then whenever I do visit my website (me or somebody else using the same proxy with me) has this name into the client in brackets. [:D]
is there any way I can remove this?
thanks,
G
|
|
![]() |
|
Satish Chandran
New User
Joined: 02 Jun 2006 Posts: 5 |
Post Options
Quote Reply
Posted: 02 Jun 2006 at 9:27am |
|
Hi,
In the WhosOn Client
Right click on your visit (having funny name)
Select View Visit Detail and Click on Contact tab
Key in your real name, and click on Update.
This will sort your problem.
|
|
![]() |
|
jlemire
New User
Joined: 10 Apr 2006 Posts: 4 |
Post Options
Quote Reply
Posted: 17 Jan 2007 at 6:38pm |
|
I was wondering if anybody knows of a way to force WhosOnV4 (via command line or other), to do an http lookup for Page Titles, Keywords and Descriptions. The documentation says that it looks for this information on a "weekly" basis. Is there a way to change or modify this schedule?
The solution in this thread was interesting, but I'm looking to popuplate the TitleTag, Description and Keywords columns in the "Page" table. I would like to have a way to have this information without losing the actual page/file.
Jeffrey V. Lemire
|
|
![]() |
|
Stephen
Admin Group
Joined: 21 Oct 2005 Location: Stoke on Trent Posts: 1389 |
Post Options
Quote Reply
Posted: 19 Jan 2007 at 9:58am |
|
Hi,
One way to do it would be to manually change the 'LastChecked' date in the 'Page' table. Then WhosOn will think that the page needs to be looked up again. Set it to an old date - like '01/01/2000'. You can use SQL to do this:
UPDATE Page SET LastChecked = '2000-01-01'
Would cause this field to be set on all pages.
Steve
|
|
![]() |
|
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |