Re: WorldPay Module version 2.0 - Support thread
Hi Bigenuf, yes I enabled whitelist and noticed the "Thank you" page sort of works but is still a mess. I have done what you "designed" and yes it looks a lot better, well done. However...
I can't seem to disable the header etc (as I am not that familiar with php).
The instruction in tpl_main_page.php to uncomment $flag_disable_header = true: <br/> ... Does that mean remove the * if so this does not seem to uncomment it and doesn't work. Am I being a bit thick here?:dontgetit
I thought that in php, // commented things out, what is the * ?
Also on my site I have extra stylesheets that are needed but I do not know how to include them as they are not called up in html_header.php like the other 3 are.
I use the CSS drop down menu module which needs it own stylesheet (I have disabled it for now)
I also have another stylesheet for the Ezpages side boxes....any ideas how I can get these to see their stylesheets....I am getting a little confused.
You never know, all this effort and worldpay might just allow all the tags we need again :clap:
Re: WorldPay Module version 2.0 - Support thread
Quote:
Originally Posted by
petelutonuk
Hi Bigenuf, yes I enabled whitelist and noticed the "Thank you" page sort of works but is still a mess. I have done what you "designed" and yes it looks a lot better, well done. However...
I can't seem to disable the header etc (as I am not that familiar with php).
The instruction in tpl_main_page.php to uncomment $flag_disable_header = true: <br/> ... Does that mean remove the * if so this does not seem to uncomment it and doesn't work. Am I being a bit thick here?:dontgetit
I thought that in php, // commented things out, what is the * ?
Also on my site I have extra stylesheets that are needed but I do not know how to include them as they are not called up in html_header.php like the other 3 are.
I use the CSS drop down menu module which needs it own stylesheet (I have disabled it for now)
I also have another stylesheet for the Ezpages side boxes....any ideas how I can get these to see their stylesheets....I am getting a little confused.
You never know, all this effort and worldpay might just allow all the tags we need again :clap:
This is what i used
PHP Code:
// the following IF statement can be duplicated/modified as needed to set additional flags
if (in_array($current_page_base,explode(",",'wp_callback')) ) {
$flag_disable_right = true;
$flag_disable_left = true;
// $flag_disable_footer = true;
// $flag_disable_header = true;
}
I have to admit i never tried to uncomment that section as i had this in my page. Give it a try or something similar might be in your page.
You can hard code to any stylesheet using this in the html_header.php
<link rel="stylesheet" type="text/css" href="http://YOURSITE.co.uk/includes/templates/YOUR_TEMPLATE/css/stylesheet.css" />
or the location of the stylesheet.
But it looks like the <base href= works now. Try running a test on your site and see ho it looks.
Lake
Re: WorldPay Module version 2.0 - Support thread
rename the override folder in your template folder, the wp_callback folder in order to see what the page looks like without the override since worldpay allow the <base href= now. otherwise it will still try and override it. all side boxes and graphics should work now under worldpay.
Lake
Re: WorldPay Module version 2.0 - Support thread
Thanks Bigenuf. I will give that a go later.
On the subject of the tags now appearing to be in the whitelist but pages still looking crap, I did a transaction with it enabled and one with it disabled. I saved the html and used winmerge to compare the files... haven't looked at it all as that would take all night but it seems they are dropping some </div> tags amongst other things.
For example, when my page displays ok about 41 lines down I have this:-
<div class="clearBoth"></div>
<!--eof-navigation display-->
<!--bof-branding display-->
<div id="logoWrapperOuter">
But on the whitelisted attempt I have this :-
<div class="clearBoth" />
<div id="logoWrapperOuter">
(the spaces are where the <!-- --> were)
They are obviously filtering out any comments.
To me it seems like their filter is very flakey.
Perhaps we should just wait till the finish poking about!
No wonder Philip got so hacked off with them.
Re: WorldPay Module version 2.0 - Support thread
It appears they are making changes as we speak because a few hours ago the <base href= did not work so we might have to give it 24-48 hours to settle down. I do all my testing on a test site and when i tried my fixed test site it was a mess so i checked to see if the whitelist was enabled in test and it was and when i disabled the override (wp_callback) folder the site looked alsmost exactly like it should with graphics and everything so i tested it on my live site i turned on the whitelist in production and everything looked fine with some small exceptions. I've never installed an override on my main site.
Lake
Re: WorldPay Module version 2.0 - Support thread
yes I renamed my template wp_callback folder.
I will keep it there so I can use it if need be.
I am off to bed now, brain cell is frazzled:smile:
And also just discovered I get 7 minutes to edit any mistakes I make when posting in this forum.
Re: WorldPay Module version 2.0 - Support thread
hmmm looks like i will be having to test my thankyou pages again! lol
hopefully they will fix the things then leave it at that.....cant afford to keep having to test this site for my client
:)
1 Attachment(s)
Re: WorldPay Module version 2.0 - Support thread
So I made a test payment tonight with the withelisting enabled. I put the WP module in test mode and processed an order on my credit card. The results aren't that bad - even though there are some overlapping texts - I could live with that for now - if we cannot make it any better.
Please see the picture attached of the hank you page.
Re: WorldPay Module version 2.0 - Support thread
It looks like your footer is being displaced you could turn that off for the page but other then that it looks great. I would imagine for whatever reason they are replacing some of the </div> with /> kinda throws things out of whack.
Lake
Re: WorldPay Module version 2.0 - Support thread
Returning code from worldpay is inconsistent.
On one line you see:
<div id="navMainWrapper"> <div id="navMain">
and a few lines down you see
<div id="navMainSearch" />
But the closing </div> is there in more places then not.