Forum Replies Created
-
AuthorPosts
-
fifteen15studios
ParticipantThanks! I think that might work.
However, I’m a person who doesn’t really understand documentation. (Seriously, I do not know what this is asking me to do.) I’m trying to use the function in my single-event.php file like the others, which are working fine, but it doesn’t seem to be working.
I tried the following and none of these seem to be showing me data:
$theid = tribe_get_venue_id(); tribe_get_event_categories($theid);$theid = tribe_get_venue_id(); echo tribe_get_event_categories($theid);tribe_get_event_categories();echo tribe_get_event_categories();Doesn’t seem to work. I’m not sure why, but is there something I’m doing wrong?
Thanks!
Brendanfifteen15studios
ParticipantThat will probably work! Thanks!
fifteen15studios
ParticipantNah, I think I’m all set. If I have another question, I’ll open another post. Thanks! That was helpful! I’ll play around with the functions and features a bit.
Thank you very much for all your help!
fifteen15studios
ParticipantThanks! that was helpful!
However, you answered that it’s not possible to collect information from each person on each ticket at this time. I’ve been playing around with WooCommmerce lately, and I may have a solution. It’s an untested theory, but I see you have a WooCommerce plugin for ticketing. There are a couple of plugins out there which allow a administrator to put particular questions on each item sold on WooCommerce (such as if you wanted to put someone’s name on a ticket, or an engraving on a necklace, or note on a card, or something). With this, it might be possible to get individual information from each user. 🙂
It’s just a thought. If you want to test it, feel free, but I don’t have the paid WooCommerce plugin for this yet.
Thanks!
Brendanfifteen15studios
ParticipantOk, cool! That worked! That gets me most of the way there. The preset classes and styles on that image were messing me up. You’ve been a great help. Thanks!
By any chance, would you know how to get just the raw data for each part of the address, time, cost, etc? I know these display by default too, but I’d like to remove the formatting and put my own on it. 🙂
Thanks!
Brendanfifteen15studios
ParticipantWell, though I understand PHP well enough, it seems like WordPress wants to use its own language. I’m still having trouble. The code you suggested I use gives the same error. It wants a parameter and I don’t know what to put there. I can put “1” or “null”, but it doesn’t make the image appear.
fifteen15studios
ParticipantThanks! And Happy New Year! Thanks for working on the off-time! (And I’m pretty sure that’s your face featured on the elf?)
This is helpful, but it opens the door for a lot of other questions. I still can’t seem to get it to work, mainly becuase I don’t know what the $attachment_id = 8 means. Where does that id come from? Is it unique to each event? If so, I’ll probably need a different number for each post, and I don’t know how to get that.
It seems like TheEventsCalendar, as well as other software, makes a bunch of functions to easily populate our page with information while giving us control through the backend. This is to make things easy, but if we’re modifying the code, it seems to make it near impossible. all I want is raw data, really. Just the price, in string form, with no formatting. Just the image source. Just the title. Just the summary. Just the address. Then I can piece it all together using my own code. 🙂 I wonder, is there a way to get all these in a neat array or a series of variables for each post listing in the Lists view?
Thanks,
Brendanfifteen15studios
ParticipantThanks, but that didn’t work. It gave me an error. I added it to my single-event.php page, and got this:
Warning: Missing argument 1 for wp_get_attachment_image_src(), called in /homepages/2/d499430932/htdocs/clickandbuilds/CabinFever/wp-content/themes/responsive/tribe-events/list/single-event.php on line 90 and defined in /homepages/2/d499430932/htdocs/clickandbuilds/CabinFever/wp-includes/media.php on line 695
Any ideas why? Am I doing something wrong?
My implementation looks like this:
<?php wp_get_attachment_image_src() ?>and this `
<?php echo wp_get_attachment_image_src(); ?>`Also, is there a list of ALL these functions which I can use to grab raw data? 🙂 Like price, title, map, etc?
-
This reply was modified 10 years, 3 months ago by
fifteen15studios. Reason: Add info
fifteen15studios
ParticipantIt does! However, it’s still not full control over the content. For example, I see this code:
<?php echo tribe_event_featured_image( null, 'medium' ) ?>That’s great, but I want to not process that image in any way other than what I want to do with it. Is there a way just to get the URL?
Thanks,
Brendanfifteen15studios
ParticipantThanks, but I was asking about the modification of the code. Sure, I’ll copy it so I can do an override, but what code do I copy? It seems to be in bits and pieces everywhere which might make creating a new format a bit more complex. What I’m looking to do is just create an HTML and CSS box which displays the elements in the manner I choose (ie. date over here, in this font, followed by the price over here in this font, followed by an icon here if there’s a map, followed by the image presented in this div, etc.)
Can I do that?
fifteen15studios
ParticipantOk, thanks! I’ll be writing my own code for this, but I wanted to ask how I could write a snippet of code to refresh the page using Ajax? Is there a certain function I’m supposed to call to do that?
For example, if I press a button, I want to initiate something which runs some scripts to change some field vlaues, and then refresh the content.
Thanks!
BrendanNovember 24, 2015 at 9:21 am in reply to: Does Events Calendar Pro support user submission? #1030256fifteen15studios
ParticipantIf you need it for just the one site, personal should work for you. The only difference between the three is the number of websites on which you can install it.
The Community Events plugin should be just what you need to allow people to submit events without creating an account. If it’s not what you expected, or it doesn’t install in your website, you can get your money back. I think there’s a 15-day window.
Brendan
fifteen15studios
ParticipantHmm… I didn’t do anything and the site just started working again. Not sure why. Well, it seems to be resolved, so I’m going to leave it alone now. 🙂
Thanks!
November 7, 2015 at 9:59 pm in reply to: After updating The Events Calendar from 3.12.3 to 3.12.4 Filter Bar Ajax broke #1022977fifteen15studios
ParticipantMe too. 🙁 The site is completely non-functional after the upgrade to 4, which I made two days ago.
fifteen15studios
ParticipantOh, and I should clarify further. I’m not just interested in removing the search bar. I want the whole filtering box gone. I don’t want the <form> tag to appear anywhere in my script. I created another using a different form tag with the same ID so I can’t have them overlap.
-
This reply was modified 10 years, 3 months ago by
-
AuthorPosts
