avotronicsuk
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Adding category description to top of a pagebump
Nevermind, I was being dumb:
[dynamictext adid uneditable "CF7_GET key='advertid'"]
errr… poo!
Okay, I misunderstood.
So I’m doing something wrong, I have on the button on the referring page;
<input id="enquiries" type="submit" value="Enquiries" onclick="location.href='https://yadayada/enquiry?advertid=<?php echo $post->ID; ?>';" />
and on CF7 DTE
[dynamictext adid uneditable "CF7_get_post_var key='advertid'"]
What may I ask, am I doing wrong? nothing gets passed but the post id is in the url on the form page.
Forum: Themes and Templates
In reply to: How to prevent DIV overlapping image!!!Hi,
Yes it is css, I’m being a fool.
I used overflow: auto; and it’s fine now.Thanks I have been spending too long staring at this code.
I’ve still got this issue too, I never fixed it.
But it adds slashes whenever I edit through admin backend,it doesn’t matter whether I do it before approval or not, still adds slashes.Hi,
You mean leave the above code in place in -admin.php and remove just the ‘if’ part so it processes the function regardless?
Php 5.x
Sure did;
[1035 lines of code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
Matthew,
Thanks for taking time out to resolve this issue, however, ive added the code where you said, just after the <?php and it doesn’t fix it for me!
Ive checked and double checked ive done it right, not that its difficult, and it still wont work…
Confused…
Hi,
It does indeed only add slashes when editing through the backend.
Though I use the response field and can only edit that through the backend.“recursive stripslashes function perhaps” – Yes, absolutely but I have no idea how to implement that.
I’ve just edited the slashes out through mysql for now, though it’s a pita and shouldn’t have to do that.
Ta
Danny