Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter shoeyn

    (@shoeyn)

    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…

    Thread Starter shoeyn

    (@shoeyn)

    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

    Oh, thanks so much shoeyn!

    Thread Starter shoeyn

    (@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!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: BuddyPress Mobile] Add jet event system to mobile site’ is closed to new replies.