Forums

BuddyPress Mobile
Add jet event system to mobile site (7 posts)

  1. shoeyn
    Member
    Posted 1 year ago #

    Is there a way to make jet event system viewable in the mobile site?

    http://wordpress.org/extend/plugins/buddypress-mobile/

  2. shoeyn
    Member
    Posted 1 year ago #

    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)

  3. Alejandro Urrutia
    Member
    Posted 1 year ago #

    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...

  4. shoeyn
    Member
    Posted 1 year ago #

    Sorry, yes, that's what I got in my code, must of been a copy and paste error :S

    I'm slowly converting it all, here's my progress so far, when I finish, I'll give you the code :)

    The screen shot was taken from debugging on the computer that's why it's big

  5. Alejandro Urrutia
    Member
    Posted 1 year ago #

    Oh, thanks so much shoeyn!

  6. shoeyn
    Member
    Posted 1 year ago #

    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

  7. Alejandro Urrutia
    Member
    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic