Forum Replies Created
-
AuthorPosts
-
Darren
ParticipantI’d like to set a default start and end time just like you can with Venue. It would make entering info so much faster for me.
Darren
ParticipantHi Jonah
It was the quote marks – I never thought to look if they were different. Simple when you know how 🙂
Thanks for your help
Darren
ParticipantIt all looks correct. I’ve added 3 versions of the code, the two earlier ones you suggested and the one that worked previously but now breaks the link it does however pull the actual variable I want but along with some markup.
Heres the code http://pastie.org/3554548
And the page you can see it working on http://www.highamhall.com/course/after-matisse-and-cezanne-pastel-into-still-life/ At the top of event entry you can see the ‘Ref A1649’- its that I want to pass through the link.
Darren
ParticipantIts not showing as a fault any more but the new code isn’t pulling any variable from the custom field. I’ve searched the mySQL db but cant see where it may be so I can only assume I’m using the correct name as I’ve set up in the calendar settings page.
Any suggestions?
Darren
ParticipantHi Jonah
Tried both of those examples and they show the link correctly but doesnt grab the custom field. I’ve set the custom field label to Ref as it is in Additional Fields on the settings page – is that correct?
Darren
ParticipantTo make this thread less confused I shall explain my problem again.
I’m not sure whats happened here as it was working but not now. It coudl be an update as custom field now seems to pull css markup where previously it was only the actual variable in the custom field.
I have made a child of single.php so I can add a link to a contact form that drops a ref code (custom field) into a subject field of a contact form but its broken and I cannot see why.
The code is posted here http://pastie.org/3534943
The page with the error – http://www.highamhall.com/course/westmorland-quilt/ – just under the facebook logo you can see ‘Ref C1646 Make an enquiry’. The Ref C1646 shouldn’t be part of the visible link it should be passed to through the link to the contact form.
Any ideas what’s happened to break it?
Thanks
Darren
ParticipantThanks Rob at least I can now get the code seen 🙂
Darren
ParticipantMaybe this time it will work?
[sourcecode language=”css”]
<a href="http://highamhall.com/contact?1subject=Enquiry+regarding+course+">Make an enquiry about this course.</a>
[/sourcecode]Darren
ParticipantI give up!
Darren
Participant
<a href="http://highamhall.com/contact?1subject=Enquiry+regarding+course+">Make an enquiry about this course.
Darren
Participant
<a href="http://highamhall.com/contact?1subject=Enquiry+regarding+course+">Make an enquiry about this course.
</codeDarren
Participantarghhh – cant even paste the code!
Darren
Participantah juts noticed the message board has edited my code. Has this worked?
<a href="http://highamhall.com/contact?1subject=Enquiry+regarding+course+”>Make an enquiry about this course.
Darren
ParticipantIt may be helpful to see the error on a live page – just under the facebook logo you can see Ref C1646 Make an enquiry. The Ref C1646 shouldn’t be part of the visible link.
Darren
ParticipantFixed it!. It was because I placed it on the last line it should been above the comment ‘stop editing’ obvious when you know!
-
AuthorPosts
