#1 (permalink)  
Old 07-26-2007, 10:04 AM
Registered User
 
Join Date: Jul 2007
Posts: 36
ploppy is on a distinguished road
Default rating_error template

hi. if this is the wrong forum for this post, mod, please feel free to move. I am trying to modify the rating_error.html file. I am having trouble displaying the <%$title%> tag to appear. code is as follows:

Code:
Content visible to License Owner only.
Here is the php:

Code:
Content visible to License Owner only.
I have tried to change the position of the $title var in the php, but no luck. I can see that the variable
Code:
Content visible to License Owner only.
is taking on obviously it is something i haven't set correctly. any help greatly appreciated. Many thanks.

Version: 5.3
  #2 (permalink)  
Old 07-27-2007, 09:43 AM
Registered User
 
Join Date: Jul 2007
Posts: 36
ploppy is on a distinguished road
Default

{{BUMP}} Thinks all peeps have gone to coder heaven :-)
  #3 (permalink)  
Old 07-27-2007, 10:37 AM
Active Member
 
Join Date: Nov 2004
Posts: 1,828
inspireme is on a distinguished road
Default

it wont work if it fails IF the user has already rated, change the line to this :

DisplayTemplate($theme_path . "rating_error.html", "\$error_msg", "\$title");

that asses the title variable to the template.
__________________
Some interesting INDEXU bits :http://www.indexu.co.uk
Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )
  #4 (permalink)  
Old 07-27-2007, 03:30 PM
Registered User
 
Join Date: Jul 2007
Posts: 36
ploppy is on a distinguished road
Default

thanks inspireme. but i have that command already in php file. i am trying print message in someone just presses rate it button without rating site.

Code:
Content visible to License Owner only.
or am i missing something here? i am trying print message in someone just presses rate it button without rating site. another thing, where do the message numbers come from. they are not in lang file. are they generated on the fly. cheers.
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
3 New Template Available + Template Price reduced!! sikumbang Templates 9 07-23-2007 10:27 AM
The Template Tag ime Templates 10 05-01-2006 12:31 PM
php in template snaip Templates 1 10-01-2004 05:31 AM
Add a template to the modify template list? abm193xc v5.x 3 04-24-2003 05:31 PM
Template csengine Templates 3 04-12-2003 08:01 PM

HACKER SAFE certified sites prevent over 99.9% of hacker crime.

All times are GMT -5. The time now is 07:08 PM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO
SSL Certificate