![]() |
I'm losing my brain, where do I add "Terms & Condit
I have read (for about the last two hours) every thread on this topic. I've edited the Languages/lbl_terms_n_conditions and it doesn't add anything inside the "box" under Terms and Conditions, in fact, it becomes part of the link to the left. I've messed with the template conditions.tpl under the help and I cannot figure this out. I just want to add a couple of sentences, that's it. :( Extremely frustrating.
|
editing help/conditions.tpl should do the trick. If its not updating for you try running the www.yourdomain.com/xcart/cleanup.php and then give it another try and see if your changes appear. ;)
|
thanks; I'll try that. :)
|
Can you tell me where I would edit this? Between the * * don't work; tried that.
{* $Id: conditions.tpl,v 1.10 2002/10/22 12:25:54 alfiya Exp $ *} {capture name=dialog} {* Place terms and conditions here *} {if $usertype eq "B" } {include file="help/conditions_affiliates.tpl"} {else} {include file="help/conditions_customers.tpl"} {/if} {/capture} {include file="dialog.tpl" title=$lng.lbl_terms_n_conditions content=$smarty.capture.dialog extra="width=100%"} (sorry if I'm not aloud to post this code, please advise if I'm not) |
{* this is a comment *}
Remove the ENTIRE line including the {* and *} ending tags. |
Terms/Conditions
I think it's sad that the X-Cart people didn't put in a sample Terms and conditions, forcing people who may not be savy in php, or just don't have enough time, to either figure out for themselves how to make changes or pay their idioitic monthly tech services fee. :evil:
|
I have the same problem... Terms and Conditions not showing up... I tried changing the template and also tried the cleanup.php and it still isnt working...
Any ideas? |
Fix for Terms and Conditions....
I have the answer for you, but it may take a little doing....
First, my complaint....the X-Cart makers are pretty shysty for not making that available for the non-php person. So here it goes... X-Cart works on a Label (lbl) and Text (txt) basis on much of the site. If you find your 'conditions.tpl', you must of come across that damn *Place Terms and Conditions Here* statement. A txt_whatever line should have went there for conditions.tpl to pull in and display. First, don't actually put Terms and conditions there. That is to say, don't actually cut and paste something there. This part of the programming needs a 'txt_terms' line to refer to, as it does for the lbl_terms_n_conditions' line you see a little bit below in the same conditions.tpl file. Anyway, this is probably what you have already: {capture name=dialog} {*place terms and conditions here*} this is what the line should look like: {capture name=dialog} {$lng.txt_terms} Now, go into the Languages menu in the admin menu. Select your language, select Text in topics, then go to the bottom and 'Add New Entry' In the first Box....txt_terms In the second box .... Terms and Conditions In the third box....cut and paste your terms and conditions. Be advised, HTML codes work fine here. X-Cart people could have done this as they did for the other pages, but looks like it's a reason to pay for Tech support if you ask me. I think I covered what it takes to fix that....let me know if I missed anything. |
Works like a charm !
|
Where is conditions_tpl ??????
I think I'm going blind trying to find conditions_tpl in ver 3.4 Where is it?
MJ onlysurvivor@yahoo.com |
/help/conditions.tpl
|
Took me a while to figure it out too, I ended up adding a language addition so my client could change it.
Seems to be an oversight by x-cart team that's been in the system for ages, even 3.4.2 still has that problem. Not sure why they simply haven't added an new language variable in there. :roll: Sometimes you get the feeling they have too many developers working on small bits of x-cart all the time so no one is looking after smaller issues like this one. Personally if I didn't know PHP/mysql etc I wouldn't use x-cart, it's a large complex system and doesn't always make sense about how it goes about some things. |
Thanks
That did it. Not as easy as one would expect though.
|
Re: Terms/Conditions
Quote:
This is so true. :( I followed the helpful instructions in this thread up and down, and still can't get the content for my terms and conditions to show up. Does something also need to be edited in the /help.tpl file? 1. Followed rkaydz's notes to a "T" 2. performed boomer's suggested "cleanup.php" 3. deleted browser cache 4. open/closed browser Is there something I am missing? Thanks. |
it's easy...
edit languages, go to bottom, add :
txt_terms then, in the next box type: Terms and Conditions Then take your html or text (in case of HTML, put it in a table and copy ONLY the table data from <table width=> to the final </table> tag) and paste it into the 3rd box....now click on apply changes. Go to Edit Templates, and go to HELP>conditions.tpl, and change: {capture name=dialog} {*place terms and conditions here*} to {capture name=dialog} {$lng.txt_terms} you will find that this definitely works. |
Thank you so much, i was pulling out my hair trying to figure out why i couldnt add anything to the terms and conditions
|
All times are GMT -8. The time now is 01:35 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.