Forum Replies Created
-
AuthorPosts
-
Chris
ParticipantI’ll live without it for now.
Chris
ParticipantI had disabled all plugins but Modern Tribe plugins. Turns the “Advanced Post Manager” was causing the issue. Disabling it, resolved the issue. Question is, do I need the APM plugin?
Chris
ParticipantBarry, your snipped modified to http://pastebin.com/tLTYN60r only works when the additional field type is set to TEXT. When the field type is URL it doesn’t work.
Perhaps a feature request is to add a field to the field type URL on the event page admin view that would allow users to add a different label. If blank, the URL appears. If text is entered, the URL is displayed as text.
Just a thought. And thanks for helping me out.
Chris
ParticipantCool. Thanks man.
Chris
ParticipantThat does the trick. Thank you much.
Out of continued curiosity, where is the file/s that controls the Event Meta?
Chris
ParticipantNeill, that works. Thanks. The downside, there are 70 events that need to be edited from a generic empty venue to blank. Is there a way to bulk edit venues, or would it be easier to comment out the venue section of the page?
Chris
ParticipantThanks Barry. I’ll have a look at the if/else and switch blocks.
There’s something that must be staring at me in the face with the code. I’ve replaced the href with “$meta” and the end result is the event url/$meta
I’ll keep looking. If you can help, great.
Chris
ParticipantWell, I see that I need to create a new function for each label. That part is solved.
I did, however, overlook the URL that was being generated as it is not linking correctly. I want to use the URL value of the additional field so that the value of the field becomes replacement words
Chris
ParticipantWell, almost. The addition works for relabeling one label, but does not work when the if and return portions are repeated for other labels (mostly because I don’t know PHP and I’m pretty sure I’m doing it incorrectly). My guess is that the function looks to resolve the first if statement and once it does, the other if statements are not considered. http://pastebin.com/8755SiKC
Chris
ParticipantThanks for the feedback Barry. This is pretty close to what I needed. The bit that was missing was adding a URL. I modified your code to change the label to an active URL. http://pastebin.com/tkwTRpFB
Chris
ParticipantIf you have the pro version copy the list-widget.php over from events-calendar-pro/views/widgets/list-widget.php to [your theme]/tribe-events/widgets/
You can then create your own class in the a tribe-events-pro.css file in the [your theme]/tribe-events/pro directory. OR you can hard code the change to the list-widgets.php file you copied over to your theme.
For example in the list-widgets.php file (line 22 ish) change to . Just be sure to change to a few lines down.
The numbering has to do with the li class: .tribe-events-adv-list-widget ol li. If the list-style isn’t set to “none” you’ll see the numbers. From what I can tell, yours is set to “decimal”
Chris
ParticipantDebbie, check out the list-widget.php file in the widgets folder within the-events-calendar directory. In it you’ll see direction on how to modify the title. Currently it is set to (h4 class=”entry-title summary”). Either add a class or just hardcode the style of choice.
Directions in the list-widget.php file read: “You can recreate an ENTIRELY new events list widget view by doing a template override, and placing a list-widget.php file in a tribe-events/widgets/ directory within your theme directory, which will override the /views/widgets/list-widget.php.”
Kudos to tri.be for good commenting.
Chris
ParticipantThe widget is grabbing the site’s main h4 style. I’m having the same issue.
Chris
ParticipantBasically, I’m just trying to figure out how to remove categories from the event page section that includes Details, Venue, Other, etc.
Here’s what it looks like now: http://cl.ly/image/150j1t0Z2q0r
Here’s what I’m looking to do: http://cl.ly/image/1Z2a1N1n3o1w
Chris
ParticipantThanks Jonah. I figured as much.
BTW, are you all planning to incorporate URL or other types of add’l fields in the future?
-
AuthorPosts
