Forum Replies Created
-
AuthorPosts
-
indrakubicek
ParticipantI had this problem too. In my case I had copied all the plugin files into my theme folder so that I could simply override them as necessary during development. I hadn’t actually changed the list view though and I got my list view working again by deleting the override files. Hopefully this applies/ will work for you too π
indrakubicek
ParticipantWorked it out! π
(and updated code linked to above in question marked as answer)
indrakubicek
ParticipantAh, actually, I still need to get null, true in there somewhere so that events without prices look correct too… can you help me with the final stretch?
indrakubicek
ParticipantHi Barry,
I hadn’t actually kept a copy, but your response prompted me to give it another try and I sussed it! π
My related-events.php file in theme-folder/tribe-events/pro now looks like this
The extra code I used can be found in lines 50-54.
indrakubicek
Participantthis thread solved my particular issue if anyone want to do the same thing…
June 19, 2014 at 4:43 pm in reply to: Change Photo View Date Selector to be the same as in Month view #236475indrakubicek
ParticipantThanks Barry, if I just wanted to change the text that is displayed, that would help, yes. But I don’t.
I obviously wasn’t really clear enough, because I think you missed a key part of my question:
“<b>rather than</b> displaying βDateβ and <b>being able to select a specific date, I want</b> it to say βEvents inβ and <b>[to be]just given the options to choose a specific month.</b>”
So, it isn’t just the <i>text</i> from the month view I want to use in photo view it is the <b>functionality</b>.
Make sense?
indrakubicek
ParticipantI’d like to do something similar but you’ve removed the code you shared in the pastebin – any chance of sharing that again irishrunner16? π
June 19, 2014 at 9:47 am in reply to: Change Photo View Date Selector to be the same as in Month view #235705indrakubicek
Participantedit: that *doesn’t* seem to do the trick.
indrakubicek
ParticipantWonderful, that works, thanks!
One last thing… I couldn’t help noticing that the title for the page shown e.g. in browser title bars is still ‘Upcoming Events’ i.e. if I do ctrl+U is see:
<head> <meta charset="UTF-8" /> <title>Upcoming Events</title>How would I go about changing that to display the category titles too?
Thanks!
indrakubicek
ParticipantHey, thanks loads for trying to help Barry. I just tried replacing my two bits of code with the consolidated code you provide above but it didn’t seem to work: ‘Upcoming Events >’ was still displayed. :-/ any ideas?
indrakubicek
Participantdamn, formatting wrong on the above post and not possible to edit, hopefully you get the picture :-/
indrakubicek
ParticipantJust to add so this can be a complete solution to anyone else who wants to achieve the same thing, I put this code:
‘
<!– Add event cost –>
<div class=”tribe-events-event-cost-photo”>
<?php echo tribe_get_cost( null, true ); ?>
</div>In my /theme-folder/tribe-events/pro/photo/single-event.php file (I've got it after the line ending <!-- .tribe-events-event-meta --> which seems to work OK for me, but I guess you could experiment with putting it in other places too) I've then got the following css in my /theme-folder/tribe-events/pro/tribe-events-pro.css file: ' /* Styling price on photo page ----------------------------------------- */ div.tribe-events-event-cost-photo { border: 1px solid #ddd; float: right; text-align: center; padding: 5px 10px; font-weight: bold; background: white; }indrakubicek
ParticipantAha, upon further experimentation I tried the following:
<?php echo tribe_get_cost( null, true ); ?>And now the currency symbol is displayed! (shows how much I know about how functions work! i.e. very little! π )
Also managed to style in the end too π
(funny how often getting desperate and asking a question somehow helps to answer it oneself).For some reason trying to use the tribe-events-event-cost css class used elsewhere didn’t seem to work (just made the price disappear), so I created tribe-events-event-cost-photo and used that instead.
Now I have the following in my tribe-events-pro.css file and all seems to work fine π :
/* Styling price on photo page ----------------------------------------- */ div.tribe-events-event-cost-photo { border: 1px solid #ddd; float: right; text-align: center; padding: 5px 10px; font-weight: bold; background: white; }indrakubicek
ParticipantHi Casey,
Thanks for the initial pointer but I’m really struggling to get this working.
Displaying the prices is a pretty basic/ key bit of functionality so I don’t really get why it is not displayed on the photo view (whereas it is displayed pretty much everywhere else).
Again, any additional help to simply get the price showing on the photo view very warmly received. At the very least I need the relevant currency symbol to be displayed.
Thanks!
indrakubicek
ParticipantHey Casey,
Thanks for your response. I’ll look into trying to work out the php code I’ll need to do this, but – assuming I work out the necessary code, where would I put it? into each individual template for each view? or in functions.php? or what?
Thanks! -
AuthorPosts
