Zen Follower
- Join Date:
- Mar 2010
- Location:
- California
- Posts:
- 236
- Plugin Contributions:
- 0
Return Authorization Module (RMA)
How can I change the word "Returns" in the information side box to "RMA Requests"?
BigAl
Views: 109,995
Zen Follower
How can I change the word "Returns" in the information side box to "RMA Requests"?
BigAl
Deceased
BigAl49:
How can I change the word "Returns" in the information side box to "RMA Requests"?
BigAl
open includes/languages/english/extra_definitions/YOUR_TEMPLATE/returns_defines.php
make your edits and save the file and upload to your server
Zen Follower
Thanks again, that did it.
AL
Deceased
BigAl49:
Thanks again, that did it.
AL
Glad to help
New Zenner
Zen Cart 1.3.9c
Return Authorization
Version: v2.3.3a
Last Updated: Apr 28 2010
I just installed this and all is working fine...except the input field for the reason of the return. It is way off to the right. What should I change to get it back in the proper position?
You can see the error here.
Thank you.
New Zenner
7 min past edit time :(
I just noticed that my 'submit' button is not where I believe it should be...accroding to where the 'back' button is at. I hope that's part of the same fix as the text box.
Deceased
FunkyPapa:
Zen Cart 1.3.9c
Return Authorization
Version: v2.3.3a
Last Updated: Apr 28 2010I just installed this and all is working fine...except the input field for the reason of the return. It is way off to the right. What should I change to get it back in the proper position?
You can see the error here.
Thank you.
Make sure you've uploaded the stylesheet (returns.css) that comes with the mod.
New Zenner
clydejones:
Make sure you've uploaded the stylesheet (returns.css) that comes with the mod.
I am. I had changed all instances of 'returns' to 'return_authorization'....... I renamed the css to returns and did ctrl+r to refresh....it's still the same. Everything else functions fine.
I'm having the jumbled email problem but that's not a real issue to me.
Deceased
FunkyPapa:
I am. I had changed all instances of 'returns' to 'return_authorization'....... I renamed the css to returns and did ctrl+r to refresh....it's still the same. Everything else functions fine.
I'm having the jumbled email problem but that's not a real issue to me.
did you change the name of returns.css to return_authorization.css
When checking your site I did not see either of the css files.
New Zenner
clydejones:
did you change the name of returns.css to return_authorization.css
When checking your site I did not see either of the css files.
Yes I did. I even tried changing it back to returns.css....and that didn't change anything. I use HTMLKit to edit with. I used the search feature too look for 'returns'...and manually changed each one, so I could make sure of what i was changing inside of the files. Right now it is back to what I had it originally....return_authorization.css
Below is what the file contains:
fieldset {
float: left;
clear: left;
width: 100%;
margin: 0 0 1.5em 0;
padding: 0;
}
fieldset #personal, fieldset #order, fieldset #write{
padding:0;
border:1px solid #000;
border-width: 1px 0 0;
}
fieldset ol {
padding: .5em .5em 0 .5em;
list-style: none;
}
fieldset li {
float: left;
clear: left;
width: 100%;
padding-bottom: 1em;
}
legend {
padding: 0.3em;
font-size: 1.1em;
color: #000;
font-weight:bold;
}
select {
margin: 0.1em;
}
textarea {
margin: auto;
padding:0.5em;
display: inline;
width: 40%;
border:1px solid #B6ABD5;
overflow:auto;
}
/*label.inputLabel {
width: 11em;
float: left;
color: #000;
}*/
label {
float: left;
width: 11.5em;
margin-right: 1em;
color: #000;
font-weight: bold;
}
fieldset div {
text-align:left;
}
and it is in includes/templates/funky/css
Deceased
FunkyPapa:
Yes I did. I even tried changing it back to returns.css....and that didn't change anything. I use HTMLKit to edit with. I used the search feature too look for 'returns'...and manually changed each one, so I could make sure of what i was changing inside of the files. Right now it is back to what I had it originally....return_authorization.css
Below is what the file contains:
fieldset {
float: left;
clear: left;
width: 100%;
margin: 0 0 1.5em 0;
padding: 0;
}
fieldset #personal, fieldset #order, fieldset #write{
padding:0;
border:1px solid #000;
border-width: 1px 0 0;
}
fieldset ol {
padding: .5em .5em 0 .5em;
list-style: none;
}
fieldset li {
float: left;
clear: left;
width: 100%;
padding-bottom: 1em;
}
legend {
padding: 0.3em;
font-size: 1.1em;
color: #000;
font-weight:bold;
}
select {
margin: 0.1em;
}
textarea {
margin: auto;
padding:0.5em;
display: inline;
width: 40%;
border:1px solid #B6ABD5;
overflow:auto;
}
/label.inputLabel {
width: 11em;
float: left;
color: #000;
}/
label {
float: left;
width: 11.5em;
margin-right: 1em;
color: #000;
font-weight: bold;
}
fieldset div {
text-align:left;
}
>
> and it is in includes/templates/funky/css
As I said, I don't see any reference to return_authorization.css
when checking your site.
New Zenner
Well, I took out what I had put in, easy since there are no overwrites....and I uploaded it as original to read all 'returns' instead of what I changed it too.
The box looks odd now, as it only takes up 1/2 of the screen, and now the boxes around all the areas are off :(
The only changes I did in this upload was to change YOUR_TEMPLATE to funky and let her rip. This time if I use Firefox's web developer..I can see the returns.css....but don't know what to change in there for the borders and to make the box wider. I apologize, I'm still trying to wrap my head around a good portion of the coding concept....Also..the Send button still looks like it's in the wrong place on this screen.
Again, you can see it here.
Would my problem have been missing a 'returns' somewhere in my last pass through the files when I changed all occurances to 'return_authorization'?
The reason I did that change was, I'd like our returns policy to be on the 'returns' page....and the actual form to be on the 'return_authorization' page. Please let me know if that is not the correct way to accomplish what I'm after.
Deceased
FunkyPapa:
Well, I took out what I had put in, easy since there are no overwrites....and I uploaded it as original to read all 'returns' instead of what I changed it too.
The box looks odd now, as it only takes up 1/2 of the screen, and now the boxes around all the areas are off :(
The only changes I did in this upload was to change YOUR_TEMPLATE to funky and let her rip. This time if I use Firefox's web developer..I can see the returns.css....but don't know what to change in there for the borders and to make the box wider. I apologize, I'm still trying to wrap my head around a good portion of the coding concept....Also..the Send button still looks like it's in the wrong place on this screen.
Again, you can see it here.
Would my problem have been missing a 'returns' somewhere in my last pass through the files when I changed all occurances to 'return_authorization'?
The reason I did that change was, I'd like our returns policy to be on the 'returns' page....and the actual form to be on the 'return_authorization' page. Please let me know if that is not the correct way to accomplish what I'm after.
To make the text box wider:
open returns.css find the following declaration and change the highlighted portion as indicated:
textarea {
margin: auto;
padding:0.5em;
display: inline;
width: 90%;
border:1px solid #B6ABD5;
overflow:auto;
}
for the borders, find the following declaration and make what changes you need.
fieldset #personal, fieldset #order, fieldset #write{
padding:0;
border:1px solid #000;
border-width: 1px 0 0;
}
You may also want to edit the fieldset declaration in stylesheet.css
New Zenner
Awesome, showing me just what part to play with...
I changed
fieldset {
float: left;
clear: left;
width: 100%;
margin: 0 0 1.5em 0;
padding: 0;
}
to
fieldset {
float: left;
clear: left;
width: 97%;
margin: 0 0 1.5em 0;
padding: .5em;
}
That fixed the line issue.
Did I do something wrong for trying to put in the page to be http:// funkymunkys.ca/index.php?main_page=return_authorization instead of it being http://funkymunkys.ca/index.php?main_page=returns...as in should I do something other than change each folder (I think there was one) from returns to return_authorization.....then go through each file name doing the same and finally go through each file with an editor to change all the 'returns' and the 'RETURNS'?
Deceased
FunkyPapa:
Awesome, showing me just what part to play with...
I changed
fieldset {
float: left;
clear: left;
width: 100%;
margin: 0 0 1.5em 0;
padding: 0;
}
>
> to
>
> ```html
fieldset {
float: left;
clear: left;
width: 97%;
margin: 0 0 1.5em 0;
padding: .5em;
}
That fixed the line issue.
Did I do something wrong for trying to put in the page to be http:// funkymunkys.ca/index.php?main_page=return_authorization instead of it being http://funkymunkys.ca/index.php?main_page=returns...as in should I do something other than change each folder (I think there was one) from returns to return_authorization.....then go through each file name doing the same and finally go through each file with an editor to change all the 'returns' and the 'RETURNS'?
You will have to go through each and every file and and folder change everything to return_authorization
You will need to change includes/modules/pages/returns to return_authorization
You will need to change includes/extra_datafiles/returns_filenames.php to return_authorization_filenames.php
and then change the define statements.
You will need to change includes/templates/YOUR_TEMPLATE/templates/tpl_returns_default.php to tpl_return_authorization_default.php
includes/extra_datafiles/returns_filenames.php
includes/languages/english/extra_definitions/YOUR_TEMPLATE/returns_defines.php
includes/languages/english/YOUR_TEMPLATE/returns.php
includes/languages/english/html_includes/define_returns.php
includes/languages/english/html_includes/YOUR_TEMPLATE/define_returns.php
includes/modules/pages/returns
includes/templates/YOUR_TEMPLATE/templates/tpl_returns_default.php
includes/templates/YOUR_TEMPLATE/css/returns.css
New Zenner
Thank you so much for your very quick responses :clap:
New Zenner
clydejones:
You will have to go through each and every file and and folder change everything to return_authorization
You will need to change includes/modules/pages/returns to return_authorization
You will need to change includes/extra_datafiles/returns_filenames.php to return_authorization_filenames.php
and then change the define statements.You will need to change includes/templates/YOUR_TEMPLATE/templates/tpl_returns_default.php to tpl_return_authorization_default.php
includes/extra_datafiles/returns_filenames.php
includes/languages/english/extra_definitions/YOUR_TEMPLATE/returns_defines.php
includes/languages/english/YOUR_TEMPLATE/returns.php
includes/languages/english/html_includes/define_returns.php
includes/languages/english/html_includes/YOUR_TEMPLATE/define_returns.php
includes/modules/pages/returns
includes/templates/YOUR_TEMPLATE/templates/tpl_returns_default.php
includes/templates/YOUR_TEMPLATE/css/returns.css
This morning (on a good night's sleep and a cup of coffee) I sit down and redo what you mentioned here just to make sure I didn't miss anything yesterday. I'm still getting the same issue of the text box being way off to the right. Everything installs fine, however, I can not get the return_authorization.css to show when trying to look at it in Web Developer using Firefox. Would you have any idea, why the css for the page doesn't come up. It worked fine the way it was written originally.
I'm including a zip of the changes I've made. I don't know if you would (or would even have time) to glance at it. I can't see that I've missed any returns or RETURNS anywhere, I just have no idea why the stylesheet wouldn't be loading :(
Here it is working as original (returns)
Here's how it is as returns_authorization
Deceased
FunkyPapa:
This morning (on a good night's sleep and a cup of coffee) I sit down and redo what you mentioned here just to make sure I didn't miss anything yesterday. I'm still getting the same issue of the text box being way off to the right. Everything installs fine, however, I can not get the return_authorization.css to show when trying to look at it in Web Developer using Firefox. Would you have any idea, why the css for the page doesn't come up. It worked fine the way it was written originally.
I'm including a zip of the changes I've made. I don't know if you would (or would even have time) to glance at it. I can't see that I've missed any returns or RETURNS anywhere, I just have no idea why the stylesheet wouldn't be loading :(
Here it is working as original (returns)
Here's how it is as returns_authorization
remove the extra underscore in return__authorization.css
New Zenner
Ug, something so simple Once again thank you ever so much.
New Zenner
The RMA email I receive in my admin email, the format is all screwed up. I installed your awesomeness addon, and I have gotten the customers email format working fine, with spaces between the paragraphs and etc.
In the customers email, i just added <br after <br on every line.
In the admin email, I get everything squished together. Its not spaced between one and another.
This is the default code, I added <br after the <br and everything disspeared in my email. the tag doesnt work. What code can I add to put a space between these lines?
// Prepare Text-only portion of message
$text_message = OFFICE_FROM . "\t" . $name . "<br />" .
OFFICE_EMAIL . "\t" . $email_address . "<br />" .
"Phone Number:" . "\t" .$telephone . "<br />" .
"Address:" . "\t" . $address . "<br />" .
"City:" . "\t" . $city . "<br />" .
"Post Code:" . "\t" . $postcode . "<br />" .
"Country:" . "\t" . $country . "<br />" .
"State:" . "\t" . $state . "<br />" .
"Order Number:" . "\t" . $order_number . "<br />" .
"Total Value:" . "\t" . $value . "<br />" .
"Item Number:" . "\t" . $item_number . "<br />" .
"Item Name:" . "\t" . $item_name . "<br />" .
"Action Requested:" . "\t" . $action . "<br />" .
'------------------------------------------------------' . "<br />" .
"Reason:" . "\t" . $reason . "<br />" .
'------------------------------------------------------' . "<br />" .
$extra_info['TEXT'];
This is the output when I get the admin email
From: mynameEmail: myemailPhone
Number: mynumberAddress: addressCity: floriedaPost
Code: 51234Country: romaniaState: MAOrder Number: 0Total Value: Item
Number: Item Name: sdsdfAction
Requested: Refund------------------------------------------------------Reason: testing
RMA email------------------------------------------------------Office Use
Only:
From: myname
Email: myemail
Telephone: 000-000-0000
IP Address: 0.0.0.0.0.0
Host Address: 0.0.0.0.0.0
Date and Time: Thu Jun 24 2010 15:49:10 EDT
How can or what do I add to put a space between the lines?
Thank you.
Tell staff why this post should be reviewed.