Help needed with customizing | The Conference App | Forum

This forum requires Javascript to be enabled for posting content

 

Current User: Guest
Login
Members
Please consider registering

Lost Your Password?

Search Forums:

 










Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Help needed with customizing

Reply to Post
Add a New Topic
No Tags
User Post

6:04 pm
April 9, 2012

DanielSchwartz

Member

posts 5

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;
}

?>

6:35 pm
April 9, 2012

DanielSchwartz

Member

posts 5

Just started working all of a sudden.  Maybe a caching issue?
 

No Tags
Reply to Post

Reply to Topic:
Help needed with customizing

Guest Name (Required):

Guest Email (Required):

Smileys
Confused
Cool
Cry
Embarassed
Frown
Kiss
Laugh
Smile
Surprised
Wink
Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
9 + 9
   

© Simple:Press