Forum Replies Created
-
AuthorPosts
-
Joshua
ParticipantHey Barry. I believe so. I’m not learned in PHP so I’ve managed to get things working using trial and error. In this case I may have to get a friend who does to help me. I’ll see if he can use your instructions to get a list.php view that orders upcoming events by category and I need it to display a warning when there are no upcoming events (such as, check back later). thanks.
Joshua
ParticipantHey Barry. I currently have two seperate pages that list upcoming by category. Wouldn’t it be possible to list on one page both sets of events? You can see one category here: http://www.escoladabiblia.com/cursos-de-idiomas/
Second category here: http://www.escoladabiblia.com/cursos-biblicos/
I would like to view both in this fashion on one page.Joshua
ParticipantHey Stefan, to do what you’d like you need to set up two page templates with wp_query for pulling in an event category. I don’t remember now, but the forum has a tutorial on this. What I want is a little bit different, I want to divide multiple categories on the same page.
Joshua
ParticipantThanks Jonah. I’m satisfied with how we resolved this issue!
Joshua
ParticipantHey Jonah. That probably would do the trick, however I would like to keep everything with The Event Calendar Pro. If there is no way to change the character separating each value, I would rather create a new text custom field and just write out “value 1 and value 2” for each event. Makes sense?
Joshua
ParticipantHey Jonah, I created a custom field (checkbox style) where the label is “days” and the values are the weekdays (mon, tue, wed, thu, fri, sat, sun). So, if an event is on Tuesdays and Wednesday, I can create an event and select tue adn wed. I would like the custom field to show up as “tue and wed” instead of its currently display “tue|wed”. Do I have to add some code to the php get_custom_fields?
Joshua
ParticipantHey, figured out how to show my custom field – I just had to add a label in between the parenthesis. I would like to know if there is anyway to customize the display of the custom field’s value. For example, I am using a checkbox custom field that is currently showing as “value1|value2”. How can I get this to show up like this: “value1 and value2” when there are multiple checkboxes selected?
Joshua
ParticipantHey Jonah,
I’m not that good with PHP but I’m trying. Please check out the code I’m ussing. For some reason its showing up as “array”. Not sure what this is. I would like only the value of the custom filed to appear here. The label was entered manually.
Here is the code: http://awesomescreenshot.com/010166lkecJoshua
ParticipantHey Jonah, I think I confused things by saying custom html. I added the custom message and image to my list.php. However, these additions are only visible when I choose the default template within The Calendar plugin’s settings. If I choose the setting to use the page template from my theme (which is what I want) – than the custom message and image codes are stripped from view. Why is this only visible on the default template and not on my theme’s page?
Joshua
ParticipantHey Jonah, I sort of figured out what is going on. When I use my theme’s page template for the list view, the custom html does not appear. If I go into the plugin’s settings and resort to the plugin’s default page template, than I can see the custom html. The problem is that I need to use my theme’s page template to view the events. How can I keep this from disabling any custom html?
Joshua
ParticipantHey Jonah. Yes, it is in the events folder within my active theme. I have made changes in the past to both the list.php and single.php – both of which are live and working. For some reason, any code modifying that warning doesn’t work. Don’t really know what to do!
Joshua
ParticipantHey Jonah. For some reason this code is not working. You can see my code here: http://snippi.com/s/5bz3p4j and the result here: http://new.escoladabiblia.com/cursos/
Joshua
ParticipantThanks. I think I’ll resort to creating a single event and add a custom field that informs people of when the course meets. I’ll have to remove the add to Google calendar button to avoid confusion.
Joshua
ParticipantHey Jonah. I’ve been able to do that. I have a custom list.php live on my site and have managed to customize the warning text line – however, I haven’t been able to add any extra code. Would it be possible for you give me an example of where custom code would go on list.php to make this work?
-
AuthorPosts
