Forums Sign Up Reply Search Statistics
Star Rating System GraFX Software Solutions - Forum / Star Rating System /

How do I place the star rating on a page ?

 Page Page:  1  2  »» 
Author General Bousal
Forums Member
#1 Posted: 28 Sep 2007 16:36:30
Reply 
I installed the rating system but can't place it on web pages. Can I get some help please ?
Author software
Admin
#2 Posted: 29 Sep 2007 09:41:02
Reply 
How do you like to place it, as JavaScript or PHP code?
Author General Bousal
Forums Member
#3 Posted: 29 Sep 2007 23:48:32
Reply 
I WOULD LIKE TO PLACE THE STAR RATING SCRIPT AS JAVASCRIPT, THANKS
Author software
Admin
#4 Posted: 30 Sep 2007 15:50:09
Reply 
Try like this

<script type="text/javascript" language="javascript" src="rate/jsrate.php?file=yourfile.html"></script>
Author Frank
Forums Member
#5 Posted: 18 Oct 2007 14:26:59
Reply 
Hello,
my website is big and dynamic with mod rewrite, means my urls looks like:

domain.com/UniqueID/rewritten-title-in-url(may be.html or simple slash)

So if I add the script to my template I can define the ID, but never the exact html url.

Is there still a way ?

Regards
Frank
Author software
Admin
#6 Posted: 18 Oct 2007 17:39:24
Reply 
We actually read the URL, so you can use
<script type="text/javascript" language="javascript" src="jsrate.php?file=<?php echo $_SERVER["PHP_SELF"]; ?>"></script>
Author Frank
Forums Member
#7 Posted: 18 Oct 2007 21:20:46
Reply 
No, that will take the script url, by sample like /category/ID/title-in-url.html it will show /category.php
Author software
Admin
#8 Posted: 18 Oct 2007 23:17:27
Reply 
Can we have a FTP access or a copy of a script? If yes, send to support at grafxsoftware.com
Author Frank
Forums Member
#9 Posted: 18 Oct 2007 23:54:32
Reply 
Sorry, but impossible, because it is under copyright.

But it is nothing special, output via smarty template and with mod rewrite rewritten urls.

Must I define products by url or can I define also by id and add more own information to the database, means can I add changes to the script ?

Regards
Frank
Author software
Admin
#10 Posted: 19 Oct 2007 07:28:34
Reply 
You can change the script of course, but I am sure there is an easy way someway.

Could be for example:
domain.com/UniqueID/rewritten-title-in-url

domain.com/{ID}/{TITLE} if match. And your software should easy rewrite this and match.

Or send us FTP to test it by us.
Author Shooter
Forums Member
#11 Posted: 16 Jan 2010 15:35:22
Reply 
How do I go about adding it with PHP? And I cannot seem to get the javascript code working any I placed it into the code of my web page and it doesn't show, I have installed, the test pages function correctly so I'm assuming I have installed coreectly.
Author software
Admin
#12 Posted: 18 Jan 2010 08:49:03
Reply 
see the PATH for JavaScript, usually that is the problem
Author tykra
Forums Member
#13 Posted: 12 Feb 2010 03:10:07 Edited by: tykra
Reply 
Frank did you ever get this to work with your dynamic site? Thats the primary reason I purchased this because they said it would work on dynamic sites ...

I got it to show up on my dynamic pages by using a variable in url like /jsrate.php?file=$mydatafield This works but I dont like the javascript method - gives a javascript error in IE - going to try and find out why today.

software,

Is the jrate.php the file which is required to be added to the pages or are there other methods of getting the rater on the pages?
Author software
Admin
#14 Posted: 13 Feb 2010 19:55:43
Reply 
We use it on dynamic pages, and we just get the page URL. And work in IE and FF as well. Try to see if not interfere with other JS on your page.
Author tykra2
Forums Member
#15 Posted: 13 Feb 2010 21:35:07
Reply 
What other methods can I use to include the star rate pro in my php files?

I would like to use a php include - which php file do I use for this?
 Page Page:  1  2  »» 
Your Reply

» Username  » Password 
Only registered users are allowed to post here. Please enter your login/password details upon posting a message, or sign up first.