Home › Forums › Calendar Products › Events Calendar PRO › Adjust mobile.php
- This topic has 6 replies, 3 voices, and was last updated 9 years ago by
dmystudio.
-
AuthorPosts
-
March 18, 2017 at 7:41 pm #1256411
dmystudio
ParticipantHi there,
I don’t know the proper syntax to make this change….
Lines 25-27 in month >> mobile.php
[[=raw title]]
I need to change it to:
” >Learn more or even
” >Learn moreOr at least that is what it would look like outside of the <script> tags.
The site is at ncrt.flywheelsites.com, if you need.
Thanks so much for your help!
March 18, 2017 at 9:03 pm #1256417dmystudio
ParticipantSorry – lets try this again
____________
don’t know the proper syntax to make this change….Lines 25-27 in month >> mobile.php
<a class="url" href="[[=permalink]]" title="[[=title]]" rel="bookmark">[[=raw title]]</a>I need to change it to:
<a href="<?php echo esc_url( $showlink ); ?>" rel="bookmark">[[=raw title]]</a>or even
<a href="<?php the_field('link'); ?>">[[=raw title]]</a>Basically, I need to direct to another page that is not the single event page generated by tec…..
The site is at ncrt.flywheelsites.com, if you need.
Thanks so much for your help!
-
This reply was modified 9 years, 1 month ago by
dmystudio.
March 20, 2017 at 9:07 pm #1257024Hunter
ModeratorHi and welcome 🙂
Are you familiar with our Themer’s Guide? It’s the best resource we have geared towards customizing all event-related content.
Most info can be found in our Technical Docs, so check that out and let me know what you’re able to find. Please note we’re limited with customizations as stated in our What support is provided for license holders? Knowledgebase article, but I’ll do my best to at the least point you in the right direction.
Basically, I need to direct to another page that is not the single event page generated by tec…..
Where exactly are you linking to? Where are these links coming from/stored? Last recommendation is to search our forums in hopes another user has requested similar info which has a working solution.
Keep me posted and take care. Cheers!
March 20, 2017 at 11:44 pm #1257117dmystudio
ParticipantYes – if you could point me in the right direction, that would be great.
I’ve gone through your themes guide etc.I have this working on the regular calendar and events widget – but not the
mobile version of the calendar.I need to provide a ‘Learn more’ link that directs users to a static page.
I used acf which pulls the URL I want to direct users to. I actually also
have a Buy Tickets link as well which goes to specific pages of our
ticketing system (again using acf).It works beautifully, except on mobile.
If you could point me to documentation for mobile.php that might apply?
Thanks for any help you may be able to give – I really appreciate it. I
know this is beyond your scope….March 23, 2017 at 9:05 am #1258701Trisha
MemberHi Denise,
I’m jumping in here to help Hunter out a bit. Sorry to hear your having trouble with this, the documentation for this file is quite a bit different than the others but we’ll get you set up! 🙂
If you’ll refer back to the Themer’s Guide https://theeventscalendar.com/knowledgebase/themers-guide/ and scroll to the bottom to the section entitled “Javascript Templating” that will get you headed in the right direction.
Basically, the documentation that you need for the mobile.php file lives at the top of
‘src/views/month/single-event.php’
The syntax is different because we’re using javascript templating for the mobile view. Your normal php syntax won’t work…as you’ve seen!
Hopefully this gets you headed in the right direction. Let us know how it goes! ?
Cheers,
TrishaApril 14, 2017 at 9:35 am #1270044Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
This reply was modified 9 years, 1 month ago by
-
AuthorPosts
- The topic ‘Adjust mobile.php’ is closed to new replies.
