Zen Cart Logo
Forums / Addon Sideboxes / Returns Authorization contrib - prob with form fields

Returns Authorization contrib - prob with form fields

Locked

Views: 11,342

Results 21 to 40 of 45
This thread is locked. New replies are disabled.
11 May 2006, 2:09 AM
#21
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Returns Authorization contrib - prob with form fields

Merlinpa1969:

It might be ugly, it was for 1.2 and it dosnt meet 1.3 standards,
If it works at all.

Thanks Tony for the alert! I am going to hold off...there is no point installing this mod if it's not stable for 1.3.0.1. Considering we've only had two returns since opening our site, it's not critical to our customers to have this.

11 May 2006, 2:37 AM
#22
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Returns Authorization contrib - prob with form fields

:wacko: Sorry, I'm not sure why. Its working for me.

Here's how the directory structure looks:

includes -> extra_datafiles -> returns_filenames.php
includes -> languages -> english -> CUSTOM_TEMPLATE -> returns.php
includes -> languages -> english -> extra_defintions -> CUSTOM_TEMPLATE -> returns_defines.php
includes -> languages -> english -> html_includes -> CUSTOM_TEMPLATE -> define_returns_.php
includes -> modules -> pages -> returns -> header_php.php
This line of code:
$information[] = '<a href="' . zen_href_link(FILENAME_RETURNS, '', 'SSL') . '">' . BOX_INFORMATION_RETURNS . '</a>';
Included in: includes -> modules -> sideboxes -> CUSTOM_TEMPLATE -> information.php
includes -> templates -> CUSTOM_TEMPLATE -> templates -> tpl_returns_default.php

As I said the tpl_returns_default.php was modified to conform to other FORM based templates in v1.3.0.1

11 May 2006, 3:23 AM
#23
rxalex avatar

rxalex

Totally Zenned

Join Date:
Feb 2006
Posts:
588
Plugin Contributions:
0

Re: Returns Authorization contrib - prob with form fields

Fatal error: main() [function.require]: Failed opening required '' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/c1800s/public_html/new/includes/templates/newest/templates/tpl_returns_default.php on line 18

This is line 18

require($define_page);

11 May 2006, 3:27 AM
#24
rxalex avatar

rxalex

Totally Zenned

Join Date:
Feb 2006
Posts:
588
Plugin Contributions:
0

Re: Returns Authorization contrib - prob with form fields

I took this line out looks like it started working.. Clyde is going to cause any problems?

11 May 2006, 4:09 AM
#25
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Returns Authorization contrib - prob with form fields

It just calls the page located in the HTML_INCLUDES.

try copying the define_returns.php from YOUR_CUSTOM and add it to HTML_INCLUDES

The call is defined in includes -> modules -> pages -> return -> header_php.php

See if that helps, if not leave it out if its working.

11 May 2006, 4:15 AM
#26
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Returns Authorization contrib - prob with form fields

Sorry clyde, didnt realizee you had fixed it.

I thought it was still the one I put out in early 2005

11 May 2006, 5:16 AM
#27
rxalex avatar

rxalex

Totally Zenned

Join Date:
Feb 2006
Posts:
588
Plugin Contributions:
0

Re: Returns Authorization contrib - prob with form fields

Sorry the last suggestion didnt work! but taking that line out altogether makes it work! Thanks again Clyde :)

11 May 2006, 7:05 AM
#28
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Returns Authorization contrib - prob with form fields

Merlin,

Not a problem.

I did it just for me, not thinking that others might want to use it.

11 May 2006, 12:30 PM
#29
heavenlynights avatar

heavenlynights

Zen Follower

Join Date:
Jan 2006
Location:
Australia
Posts:
303
Plugin Contributions:
0

Re: Returns Authorization contrib - prob with form fields

clydejones:

In your tpl_returns_default.php

near the top of the file find and delete the following lines of code:

<tr> <td class="breadCrumb" colspan="2"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></td> </tr>

This will take care of your breadcrumb issue.

In the same file, find the following line of code; near the bottom.

<td class="main"><?php echo zen_draw_textarea_field('reason', 'soft', 40, 15); ?></td> and change it as follows: <td class="main"><?php echo zen_draw_textarea_field('reason', 'soft', 'cols="40" rows="15"'); ?></td>

That should take care of the stray 15.

Let me know if everything works.

PS. I re-wrote the entire template file so it would work better with v1.3.0.1

Thanks Clyde - Worked a treat!!! :clap:

11 May 2006, 1:30 PM
#30
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Returns Authorization contrib - prob with form fields

:thumbsup: Not at all. Glad I could help.

11 May 2006, 11:40 PM
#31
heavenlynights avatar

heavenlynights

Zen Follower

Join Date:
Jan 2006
Location:
Australia
Posts:
303
Plugin Contributions:
0

Re: Returns Authorization contrib - prob with form fields

Hi There

Just wanted everyone to know that clyde's solution also worked with my other problem with link manager 1.5 which was the same as better categories problem.

links manager 1.5 thread

10 Aug 2006, 6:31 AM
#32
tweedybird avatar

tweedybird

New Zenner

Join Date:
Jun 2004
Location:
Louisiana
Posts:
34
Plugin Contributions:
0

Re: Returns Authorization contrib - prob with form fields

heavenlynights:

Hi There

Just wanted everyone to know that clyde's solution also worked with my other problem with link manager 1.5 which was the same as better categories problem.

links manager 1.5 thread

Hi heavenly

exactly what do you do to make this work with link manager 1.5 if you dont mind me asking because I am haveing that same problem. This is where I posted the problem

http://www.zen-cart.com/forum/showthread.php?t=43032

11 Aug 2006, 12:56 AM
#33
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Returns Authorization contrib - prob with form fields

Where can I get this mod for 1.3.0.2? I tried clicking the links in previous posts but it said they were invalid. I can't find it in the downloads section either :(

Thanks!

11 Aug 2006, 8:59 AM
#34
tweedybird avatar

tweedybird

New Zenner

Join Date:
Jun 2004
Location:
Louisiana
Posts:
34
Plugin Contributions:
0

Re: Returns Authorization contrib - prob with form fields

TweedyBird:

Hi heavenly

exactly what do you do to make this work with link manager 1.5 if you dont mind me asking because I am haveing that same problem. This is where I posted the problem

http://www.zen-cart.com/forum/showthread.php?t=43032

Ok I figured the part out on how to get the number 5 out of the descriptions box for links manager but I still need help with the submit button. When you go to submit a link page the button reads IMAGE_BUTTON_CONTINUE. If anyone could be of help please let me know. :thumbsup:

This is for my website Lindsey's Jewerly

http://www.lindseysjewelry.com/index.php?main_page=links_submit

11 Aug 2006, 9:35 AM
#35
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Returns Authorization contrib - prob with form fields

When you go to submit a link page the button reads IMAGE_BUTTON_CONTINUE. If anyone could be of help please let me know.You're missing the definition for the indicated constant.

In one of your files, you "should" have a definition for that button already. Perhaps you redefined it or missed something.
Button definitions are typically in the includes/languages/english/button_names.php file

11 Aug 2006, 4:29 PM
#36
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Returns Authorization contrib - prob with form fields

TweedyBird:

Ok I figured the part out on how to get the number 5 out of the descriptions box for links manager but I still need help with the submit button. When you go to submit a link page the button reads IMAGE_BUTTON_CONTINUE. If anyone could be of help please let me know. :thumbsup:

This is for my website Lindsey's Jewerly

http://www.lindseysjewelry.com/index.php?main_page=links_submit

Look in includes/languages/english/YOUR_TEMPLATE/links.php. Is there a line that says this:

define('IMAGE_BUTTON_SUBMIT_LINK', 'Submit Link');

If not, you need to add that in.

11 Aug 2006, 5:06 PM
#37
tweedybird avatar

tweedybird

New Zenner

Join Date:
Jun 2004
Location:
Louisiana
Posts:
34
Plugin Contributions:
0

Re: Returns Authorization contrib - prob with form fields

Danielle:

Look in includes/languages/english/YOUR_TEMPLATE/links.php. Is there a line that says this:

define('IMAGE_BUTTON_SUBMIT_LINK', 'Submit Link');

If not, you need to add that in.

Yes it is there. I dont know what is wrong because all the other submit link buttons shows correctly in links manager execpt for when you go to enter your link information after clicking submit link. :dontgetit

11 Aug 2006, 6:37 PM
#38
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Returns Authorization contrib - prob with form fields

Hmmm...try adding that same line into includes/languages/english/custom/links_submit.php.

11 Aug 2006, 10:13 PM
#39
tweedybird avatar

tweedybird

New Zenner

Join Date:
Jun 2004
Location:
Louisiana
Posts:
34
Plugin Contributions:
0

Re: Returns Authorization contrib - prob with form fields

Danielle:

Hmmm...try adding that same line into includes/languages/english/custom/links_submit.php.

Tried that and still no luck. :no: :cry:

16 Aug 2006, 1:15 AM
#40
heavenlynights avatar

heavenlynights

Zen Follower

Join Date:
Jan 2006
Location:
Australia
Posts:
303
Plugin Contributions:
0

Re: Returns Authorization contrib - prob with form fields

TweedyBird:

Ok I figured the part out on how to get the number 5 out of the descriptions box for links manager but I still need help with the submit button. When you go to submit a link page the button reads IMAGE_BUTTON_CONTINUE. If anyone could be of help please let me know. :thumbsup:
Hi Tweety

Sorry I haven't responded earlier but been flat out and haven't had a chance to get to the forums in the last few days.

I never actually had this problem when installing on to my v1.3.02. Click here to visit my submit my links page.

My issues were the trailing links and the #5 in the description field. But after saying that I still have issues with my emails which I posted thread and am still unable to fix. View Thread

I am really not much help to anyone when it comes to this issue. Sorry. Hopefully someone else can shed some light on the subject.