Is there a way to make jet event system viewable in the mobile site?
Is there a way to make jet event system viewable in the mobile site?
solved - I copied all the files from jet-event-system-for-buddypress/templates/events/ and changed the index.php to have some of the style mods and edited home.php of buddypress mobile to include:
<?php if (is_user_logged_in()) : ?>
<li class="menu"><a>/<?php echo JES_SLUG ?>/" title="<?php _e( 'Events', 'jet-event-system' ) ?>">
<span class="name"><?php _e( 'Events', 'jet-event-system' ) ?></span><span class="arrow"></span></a
<?php endif; ?>
just before the end of nav. (added if statement to only show if the person is logged in as well)
Hi shoeyn, I tried your code, but seems doen't work, so I modified it
<?php if (is_user_logged_in()) : ?>
<li class="menu"><a href="<?php echo site_url() ?>/<?php echo JES_SLUG ?>"><span class="name"><?php _e( 'Events', 'jet-event-system' ) ?></span><span class="arrow"></span></a></li>
<?php endif; ?>
Anyway when I click on Events I only get the Events, not the rest of website structure...
Oh, thanks so much shoeyn!
I haven't finished yet, there's a lot more files than I expected, but here's my progress this is /wp-content/plugins/buddypress-mobile/themes/default directory zipped up, so you'll have all the mods I've done. It's all done except for viewing and editing an individual event. You'll find a nice surprise on the index page of the mobile site as well :)
Just rename your folder to default_backup for example and just upload the extracted folder
Hi Shoeyn, thanks for sharing, but I couldn't find the events link on home page, just your website title and google adsense on the bottom. I checked and the event's folder is there so I don't know what would happen.
Have a great new year!
This topic has been closed to new replies.