travellers
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: The Events Calendar] Maps showing multiple events?Just to say Anton that even if there are no reply posts here that doesn’t mean this isn’t valuable research – I know that there are plenty of users of TEC who’d like that extra functionality and who are, like me, watching this thread with interest.
Forum: Plugins
In reply to: [Plugin: The Events Calendar] Google map not showing@ Anton
Yes the postcode takes you direct to Beninborough in a map from either Google.com or Google.co.uk, but they don’t do that in a TEC version of a Google map – you just get a whole USA map.The code I have in there is completely standard and unmodified as here:
$google_url = "https://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q="; if ( $country == "United States" && !empty( $address ) && !empty( $city ) && !empty( $state) && !empty( $zip ) ) { return $google_url . urlencode( $address . " " . $city . " " . $state . " " . $zip . " " . $country); } elseif ( !empty( $country ) && !empty( $address ) && !empty( $city ) && !empty( $province ) && !empty( $zip ) ) { return $google_url . urlencode( $address . " " . $city . " " . $province . " " . $zip . " " . $country); } return ""; }
for lines 1325-1332, and:
if ( $country == "United States" && !empty( $address ) && !empty( $city ) && !empty( $state) && !empty( $zip ) ) { $googleaddress = urlencode( $address . " " . $city . " " . $state . " " . $zip . " " . $country); } elseif ( !empty( $country ) && !empty( $address ) && !empty( $city ) && !empty( $province ) && !empty( $zip ) ) { $googleaddress = urlencode( $address . " " . $city . " " . $province . " " . $zip . " " . $country); };
for lines 1369 to 1373. If I change them both to the code you suggested then no map is displayed at all – we’re back to the requirement of a TEC map to have every field filled in
Forum: Plugins
In reply to: [Plugin: The Events Calendar] Google map not showingI was really hoping this would work for me but no joy ??
Perhaps it only works with US Zips, but I edited as per your edits above and still generated just a country-wide US map for a place called Beningborough Hall by just entering the postcode YO30 1DD. I did try changing the google.com to google.co.uk too, because if I enter that postcode in Google Map UK it gets the address fine, but still no joy.Thing is, most of our events are in fields or whatever and don’t actually have a full address – a postcode is often all we have. Frustrated as hell now, especially seeing as it obviously works for RageBanken!
Forum: Plugins
In reply to: [Plugin: The Events Calendar] Google map not showing@ Anton
I’m with you in that some of my events don’t have a physical street address which is making an embedded map difficult. A standard Google map is locating them fine from just a postcode (the UK version of a ZIP), but even with the postcode defined in TEC the result is simply a map of America.I was quite excited when I found your post as I thought I’d be able to edit out the requirement for all fields and let Google deliver the map based solely on the postcode, but looking at the lines you suggest I can’t see what to edit – any chance you could post them here so we could all see it?
Oh, and I’m also with you about an ‘overall’ view map showing all future events on it too – please feedback here on how you get on with that as I’d love to do similar!
Forum: Plugins
In reply to: [Plugin: The Events Calendar] Google Maps showing map of america?more @ Nigel
Like you I was only getting America for a valid UK postcode that happily brings up the correct location if entered on a Google Map UK page, but not in the plugin. Unlike you though, I can’t resolve it no matter WHAT I put in for the address entry – try Beningborough Hall in Yorkshire, postcode YO30 1DD, and see what happens :o(Forum: Plugins
In reply to: [Plugin: The Events Calendar] Google Maps showing map of america?@ Nigel
Your background isn’t showing because the event list, or the calendar, are not fitting nicely into your default page style. Don’t know what theme you’re running, but copy across all the event pages (gridview.php, single.php, and list.php) into a new folder under your theme called ‘events’ and modify them a little. For example, all I needed to do with my theme was add `<div id=”sub-column”>
<div id=”sub-top”>
<?php include(TEMPLATEPATH.”/scripts/breadcrumb.php”);?>
</div>
<div id=”sub-content”>
<div class=”content”>
between
include (TEMPLATEPATH.’/header.php’); ?>
and
<div id=”tec-content” class=”upcoming”>
at the top of each of those pages, and then replace
<?php
include (TEMPLATEPATH.’/footer.php’);with
<?php
include (TEMPLATEPATH.’/sidebar.php’); ?><?php
include (TEMPLATEPATH.’/footer.php’); ?>
</div>` at the bottom, and all worked properly (as you can see at https://www.niftyfifty.org.uk/). Obviously you’ll need to change that around a little depending on your theme, but the theory works, honest!Forum: Plugins
In reply to: Sites using “The Events Calendar”https://www.niftyfifty.org.uk/
I’m using it here, NEARLY got it sorted, but still having trouble getting the map to correctly identify a location (even though if you type the postcode into Google Maps, it comes up fine, but if you type it in as location into a Event Calendar map, it shows me the middle of America!).
I’ve had to modify it a bit, to fit in the page width and to add my sidebar, and for some reason one of the table cells wasn’t identified in the css which mucked up the positioning. It’s pretty good overall though!
Forum: Themes and Templates
In reply to: WP-Creativix – Free Premium WordPress Theme releasedIWEBIX
Can you tell me where I can edit the template to show a list of *pages* in the portfolio template, rather than a list of *posts*?Forum: Themes and Templates
In reply to: Absolutely positioned div’s break in WordPress pageD’oh, I should have thought of that. Yep, that works. Many thanks alchymyth, that’s sorted now – mark this one down as ‘Resolved’!
Forum: Themes and Templates
In reply to: Absolutely positioned div’s break in WordPress pageHarsh, but fair ??
I just looked at the source code I copied into WP from – no line breaks or orphaned paragraphs there. But yep, they were in the source of the WP page. Can’t figure that, perhaps I dropped them in in visual rather than HTML mode. Whatever, I’ve cured those now, absolutely positioned the first element and referenced all other images to that first one and hey presto, it all lines up correctly. Only one small remaining issue… the page length is at the size it would be if all the images were in their ‘natural’ position rather than the relative positioning thats applied, so there is a huge length of empty space beneath my mosaic before the footer. How can I force the end of the content area up to the bottom of the last image, so my footer appears where it should?Forum: Themes and Templates
In reply to: WP-Creativix – Free Premium WordPress Theme releasedCrittek
You probably noticed already but in case not, your portfolio page also has an inconsistency with the caption in some boxes underlined on mouseover and not in others and one that has no ahref at all. Also somehow your footer box has disappeared off that page.Forum: Themes and Templates
In reply to: Absolutely positioned div’s break in WordPress pageIts at the default page on https://www.unique2uphotography.co.uk/ (the surrounding table cell is temporary so I can see what’s going on). This exact same html works correctly in its own page, but inside Creativix on WP you can see that the second and third image are dropping 10 pixels beneath their inline place, the bottom right image is horizontally aligned to the bottom edge of topmiddle when its relative positioning should place it above that, and the remainging two images simply drop to the next line rather than displaying as ‘columns’. Something’s up, and my head hurts!
Forum: Themes and Templates
In reply to: WP-Creativix – Free Premium WordPress Theme releasedHi IWEBIX
Many thanks for your reply a couple of days ago – I only just noticed it (that’s because WP support forums don’t have any method by which you can get an email when a reply’s been added, unlike every other support forum in the world!). Yup, now I know what’s in it, I’ll update the theme.That said, I’ve another problem now. I’ve created the raw css to make a photo ‘mosaic’ page, here’s a demo picture of it https://www.fastuploader.com/images/layout.gif . That’s a genuine screenprint of an online page, so the css actually works, but when I put it inside a Creativix page it breaks and all images line up vertically down the page. Any idea of what gives? Here’s the html I’ve inserted in the page ‘<img class=”thumbnail” src=”…/frontthumb.jpg” width=”410″ height=”280″>
<img class=”thumbnail” src=”…/frontthumb.jpg” width=”160″ height=”340″>
<img class=”thumbnail” src=”…/frontthumb.jpg” width=”230″ height=”130″>
<img class=”thumbnail” src=”…/frontthumb.jpg” width=”230″ height=”150″>
<div id=”div-1a”>
<img class=”thumbnail” src=”…/frontthumb.jpg” width=”290″ height=”230″></div>
<div id=”div-1b”>
<img class=”thumbnail” src=”…/frontthumb.jpg” width=”280″ height=”240″></div>
<div id=”div-1c”>
<img class=”thumbnail” src=”…/frontthumb.jpg” width=”230″ height=”150″></div>’and the relevant bit of css I’ve added
‘{
float:left;
margin:5px;
}
#div-1 {
position:relative;
width:280px;}
#div-1a {
position:relative;
top:-60;
right:0;
width:200px;
}
#div-1b {
position:relative;
top:-235;
left:300;
width:200px;
}
#div-1c {
position:relative;
top:-530;
left:590;
width:200px;
}#div-1d {
position:relative;
top:100;
left:420;
width:200px;
}’
Like I said, it works perfectly well as a page by itself, but not for some reason in your theme?Forum: Themes and Templates
In reply to: WP-Creativix – Free Premium WordPress Theme releasedIWEBIX
I see you’ve released a newer version of this and I’d love to upgrade, but I dare not as I’ve customised your theme extensively around what I wanted it to look like, and you haven’t given any details of what the newer version has changed over the old one!Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] password protect an album?Show us what you did and where? </hopeful> ??