hawkesley
Forum Replies Created
-
Forum: Plugins
In reply to: [Trackserver] IOS testing UpdateThanks Martijn,
Just to clarify my question I was seeking to add or overlay the tracks onto way points.
That is a first level map would display the way points and the the track map would show the progress toward the waypoint etc.Forum: Plugins
In reply to: [Trackserver] Testing with IOSHi,
I found the problem. I had mistyped the http url in the IOS app.
Now working so will check it out.
ThanksRight. I think I am in the wrong support group I thought this was NGG public image uploader.
My mistake thank you for your help.
I have Next Gen Gallery but had difficulties with it. I will try it again when its been cleaned up.
ThanksI am using 1.2.2 and WP 3.7
Forum: Networking WordPress
In reply to: Database connection errorThanks,
My mistake.Forum: Networking WordPress
In reply to: Database connection errorAfter rechecking everything, I added define (‘MULTISITE’,true); to wp-config.php and bingo connected.
However I have no idea why because I had define(WP_ALLOW_MULTISITE’, true); in there and the instructions did not mention the above addition.Forum: Fixing WordPress
In reply to: Moving from development to liveI have solved my problem. The site was not in the root directory.
Forum: Plugins
In reply to: How to add custome sub menu in admin sideI am trying to do the same thing.
Did you solve it?
my code is as follows and shows the top menu and dispalys the content of the sub menu but not a submenu tab.
`
// mt_add_pages() is the sink function for the ‘admin_menu’ hook
function mt_add_pages()
{
// Add a new top-level menu:
// The first parameter is the Page name(Site Help), second is the Menu name(Help)
//and the number(5) is the user level that gets access
add_menu_page(‘Site Help’, ‘Help’, 5, __FILE__, ‘mt_toplevel_page’);
add_submenu_page(‘__FILE__’,’Site Help’,’Authors’,5,__FILE__,’submenu_1′);
}// mt_toplevel_page() displays the page content for the custom Test Toplevel menu
function mt_toplevel_page() {
echo ‘
<div class=”wrap”>
<h2>Site Help</h2>
//content
</div>
‘;
}
function submenu_1(){
echo “hello World”;
}
// Insert the mt_add_pages() sink into the plugin hook list for ‘admin_menu’
add_action(‘admin_menu’, ‘mt_add_pages’);
?>Forum: Fixing WordPress
In reply to: First plugin syntax errorRetyping cured it.
Forum: Fixing WordPress
In reply to: Form action attributeJust spotted ab error.
It should be ?page_id=x
Is this the right way to do this please?Forum: Fixing WordPress
In reply to: appending a page url to a form or link in a custom php pageI spoke too soon. Can anyone help please
Forum: Fixing WordPress
In reply to: appending a page url to a form or link in a custom php pageI have it working but not sure if this is the best way, but for the record if it can help anyone else.
<p>Link to tiny test page</p> <?php $my_url=get_bloginfo('template_url').'/tiny.php'; echo $my_url; ?> <a href="<?php ('$my_url');?>">Link to tiny</a>
Forum: Fixing WordPress
In reply to: appending a page url to a form or link in a custom php page<a href="<?php bloginfo('template_url');?>/tiny.php">Link to tiny</a>
Forum: Fixing WordPress
In reply to: appending a page url to a form or link in a custom php pagedont think the code showed correctly
soForum: Themes and Templates
In reply to: Removing bulletsThanks. I will do that.