On page http://topquark.com/blog/2011/11/16/customize-the-conference-app-quick-start/ you provide a link to a custom_sample.zip.
I uploaded the plugin and edited with paths to the images I want for icon and splashscreens. However, when I launch the app, it doesn't show me these images.
Any ideas?
App sits at http://csn.qxmd.com/app
Here is the edited plugin:
<?php
/*
Plugin Name: The Conference App Customizations
Plugin URI: http://www.yourdomain.com
Description: Customizations to The Conference App
Version: 1
Author: Your Name
Author URI: http://www.yourdomain.com
*/
add_filter('the_conference_app_tablet_startup','custom_tablet_startup');
function custom_tablet_startup($image){
// Image should be 768 x 1004
$image = 'http://csn.qxmd.com/wp-content/uploads/2012/04/CSN_Mobile_App_Tablet.png';
return $image;
}
add_filter('the_conference_app_phone_startup','custom_phone_startup');
function custom_phone_startup($image){
// Image should be 320 x 460
$image = 'http://csn.qxmd.com/wp-content/uploads/2012/04/CSN_Mobile_App_Phone_Splash_Screen.png';
return $image;
}
add_filter('the_conference_app_icon','custom_icon');
function custom_icon($image){
// Image should be 72 x 72 to cover tablet & phone devices
$image = 'http://csn.qxmd.com/wp-content/uploads/2012/04/CSN-Icon.png';
return $image;
}
add_action('the_conference_app_print_stylesheets','custom_app_print_stylesheets');
function custom_app_print_stylesheets(){
echo '<link rel="stylesheet" href="'.plugins_url('custom_sample/the-app/css/stylesheet.css').'" type="text/css" />'."\n";
}
add_action('the_conference_app_print_manifest','custom_app_print_manifest');
function custom_app_print_manifest(){
// Necessary for working offline to make the app still work offline.
// Not necessary to put the startup images or icons
echo plugins_url('custom_sample/the-app/css/stylesheet.css')."\n";
echo plugins_url('custom_sample/the-app/css/images/top-quark-banner.jpg')."\n";
}
add_filter('the_conference_app_about_pages','custom_app_about_pages',1);
function custom_app_about_pages($pages){
$pages[] = array(
'title' => 'Overview',
'card' => array(
'xtype' => 'htmlpage',
'content' => file_get_contents(dirname(__FILE__).'/the-app/overview.html')
)
);
return $pages;
}
?>