| View previous topic :: View next topic |
| Author |
Message |
TomPaine Patron of all things Cheesy


Joined: 22 Jun 2003 Posts: 2616 Location: Germany
|
Posted: Mon Jul 27, 2009 8:43 am Post subject: Some nitty gritty stuff |
|
|
i think we must have a separate thread that contains some of the changes or improvements that amazon made.
since Chris worked on the older version from MrRat and MrRat did not change the default TotalPages number, the user can do this manually:
open the apf_main.pm file and go to line 409.
change it from
| Code: | | if ($AWS_variables{TotalPages} > 250) |
to read
| Code: | | if ($AWS_variables{TotalPages} > 400) |
... more to follow probably ... _________________ Affiliate Program - Tom Paine - my BlogSpot |
|
| Back to top |
|
 |
TomPaine Patron of all things Cheesy


Joined: 22 Jun 2003 Posts: 2616 Location: Germany
|
Posted: Mon Jul 27, 2009 8:47 am Post subject: Dean's attempt at conditional content. |
|
|
i still have this code that came from Dean some long long time ago. it resides below line 1397 of the new apf_main.pm file:
| Code: | ## === Dean's attempt at conditional content. ===
$temp_result =~ s/(\[\[(\w+)\]\]([^\[\]]*)\[\[\/\2\]\])/
my $captured_text = $1;
my $testvar = $2;
my $conditional_contents = $3;
my $res;
# this didn't work : if (exists $AWS_variables{$testvar} || exists $MY_variables{$testvar} || exists $language_text{$testvar}){
if ($AWS_variables{$testvar} || $MY_variables{$testvar} || $language_text{$testvar}){
$res = $conditional_contents;
} else {
$res = "";
}
$res;/ge;
## === End of Dean's attempt at conditional content |
_________________ Affiliate Program - Tom Paine - my BlogSpot |
|
| Back to top |
|
 |
TomPaine Patron of all things Cheesy


Joined: 22 Jun 2003 Posts: 2616 Location: Germany
|
Posted: Mon Jul 27, 2009 8:54 am Post subject: manufacturer |
|
|
there was a string replace recommended a short while ago on the manufacturer issue related to line 601 of the apf_main.pm script under sub my_artists. MrRat recommended the following string replacements:
| Code: | #(my $search_manufacturer_string = $AWS_variables{Manufacturer}) =~ s/ /+/g;
#(my $search_manufacturer_string = $AWS_variables{Manufacturer}) =~ s/\./ /g;
(my $search_manufacturer_string = $AWS_variables{Manufacturer}) =~ s/\./\%2E/g;
|
(the first line is the original, the second line was MrRat's first recommendation, the third line was his further recommendation which i now use). ... _________________ Affiliate Program - Tom Paine - my BlogSpot |
|
| Back to top |
|
 |
TomPaine Patron of all things Cheesy


Joined: 22 Jun 2003 Posts: 2616 Location: Germany
|
|
| Back to top |
|
 |
TomPaine Patron of all things Cheesy


Joined: 22 Jun 2003 Posts: 2616 Location: Germany
|
Posted: Mon Jul 27, 2009 9:39 am Post subject: alignment |
|
|
a small beauty correction, in the page.template add valign="top" to the td element just before %%products_html%%. if for instance your shopping cart is empty and you got this menu on the left side, you won't see the message 'cart is empty' unless you scroll down. ... _________________ Affiliate Program - Tom Paine - my BlogSpot |
|
| Back to top |
|
 |
BlackRain Cheese Wheel

Joined: 22 Nov 2003 Posts: 92 Location: Bikini Bottom
|
Posted: Mon Jul 27, 2009 7:16 pm Post subject: |
|
|
Thanks for the bits. I was saddened to see the AFPmods site disappear that had a lot of great modifications. _________________ Lingerie |
|
| Back to top |
|
 |
TomPaine Patron of all things Cheesy


Joined: 22 Jun 2003 Posts: 2616 Location: Germany
|
Posted: Tue Jul 28, 2009 3:50 am Post subject: mods |
|
|
you want those mods? i must have quite a few of those somewhere, question is, will they still work. _________________ Affiliate Program - Tom Paine - my BlogSpot |
|
| Back to top |
|
 |
BlackRain Cheese Wheel

Joined: 22 Nov 2003 Posts: 92 Location: Bikini Bottom
|
Posted: Tue Jul 28, 2009 7:25 am Post subject: |
|
|
I am sure the 'mods' could be modded to work, which ones do you have? _________________ Lingerie |
|
| Back to top |
|
 |
TomPaine Patron of all things Cheesy


Joined: 22 Jun 2003 Posts: 2616 Location: Germany
|
Posted: Tue Jul 28, 2009 12:03 pm Post subject: mods |
|
|
which ones do i have? i was just wondering if i didn't store them somewhere on a backup disc that i might have to find. but here's the list:
alphadvd.mod
creator.mod
Creator.txt
digitalcameras.mod
include_locale.mod
include_searchindex.mod
music_boxsets.mod
uk_computer.mod
uk_photo.mod
of course: marketplace.mod
compatibility.mod
harrypotter.mod
custom_header.mod
international.mod
template_addin.mod
pricecompare.mod
they're all over the show at my site ... with every new version mods mods mods ... you want me to zip'em up? _________________ Affiliate Program - Tom Paine - my BlogSpot |
|
| Back to top |
|
 |
BlackRain Cheese Wheel

Joined: 22 Nov 2003 Posts: 92 Location: Bikini Bottom
|
Posted: Tue Jul 28, 2009 12:19 pm Post subject: |
|
|
What does that 'creator' mod do again? I can't remember. _________________ Lingerie |
|
| Back to top |
|
 |
|