Jul 04 2008

How To Get Wordpress to Link to an External URL

Justin | Category: Web | 4 Comments

This requires a little code hacking but it’s pretty simple. Open up: wp-includes/classes.php and find function: start_el

After the if else block that sets the value of the $css_class variable add the following code:


$url = get_page_link($page->ID);
$post_url = get_post_meta($page->ID, "url", true);
if ( $post_url ) {
    $url = $post_url;
}

and then remove get_page_link($page->ID) from the following line<a href="' get_page_link($page->ID) . '".... and replace it with $url: <a href="' . $url . '"

Now log in and edit the page or post you wish to specify a customized url for. Add a ‘Custom Field’ with key: ‘url‘ and a value of the full url (including http://) that you wish to send users to. The screenshot below shows the completed hack. NOTE: This will get wiped out next time you upgrade! I’ve also used the same logic to show/hide posts and pages from the menu systems.



Oct 16 2007

Subversion Basics for Windows Users: How to use Tortoise SVN

Justin | Category: Web | 0 Comments

1. Check out files from a Subversion server.

Right click on the folder where you want to save the files and select SVN Checkout:
Checkout Step 1
Copy and paste or type the url of the repository and click OK:
Checkout Step 2
Confirmation screen indicating that a folder called ‘resources’ and a file called AssetMapping.pdf were downloaded successfully:
Checkout Step 3

(more…)

Oct 15 2007

Configuring svnX on Mac OS X

Justin | Category: Web | 0 Comments

1. Create a folder somewhere you like to keep documents that will hold all revision controlled files. I created the ‘ALP’ folder below.
Create Folder for Subversion Files
2. Start svnX (it should be in Applications)Start svnX

3. Load Repository Window. If the repository window is not visible it can be loaded by navigating to Window –> Repositories.Repository Default
4. Configure Repository (the server where the files permanently live).Repository Configured
  • Name: A descriptive name
  • The path: http://www1.sevaserver.org/svn/community/alp
  • Your username
  • Your password
5. Double click on the URL configured in the upper scrollable pane to launch the repository browser.
6. Click the svn checkout button (left hand, big green arrow in the top right corner of the window). Browse to the folder you created to store the local copy of your documents and click open. This will do two things: download the files from the server to your machine and open a small window titled “Working Copies”. The Path field should be filled in for you already. Change the name to match the name in the repositories window (not required but makes sense to do). Fill in your username and password.
Working Copy Default
Working Copy Configured
7. My next post will cover how to use svnX!
Mar 29 2007

kiva.org Enables Third World Entrepreneurs with Micro Loans

Justin | Category: Web | 0 Comments

KIVA Microfunds are building on the success of the microcredit banking model created by the Grameen Foundation. KIVA is leveraging all that is great about the internet to fund poor entrepreneurs in third world countries by matching philanthropic microlenders with third world entrepreneurs in need. Their simple to use website lets you search entrepreneur’s profiles and make $25, $50, $75 loans to the entrepreneurs of your choice.

References

[tags]KIVA, Grameen Bank, Microcredit, Microloans[/tags]

Mar 06 2007

Geo-tagging Wordpress Posts

Justin | Category: Web | 0 Comments

I installed the Geo & Plug ‘n’ Play Google Map plugins so I can geo-tag my posts. You can see it working here: http://shibumi.net/appropriate-technology/high-tech/web/geo-tag/.

I tried several different google maps plugins and this combo was the only one that worked. Install Geo first, then Plug ‘n’ Play Google Map. You can use Google Maps or Free Geocoder to find your logitude and latitude.

References

[tags]Wordpress Plugin, Geo-tag[/tags]

Feb 28 2007

Sharing Backyards in Greater Vancouver

Justin | Category: Urban Agriculture, Web | 0 Comments

Praise for Google Maps and a little creative use of their free API! This excellent website visually displays people in Vancouver with yards who would like a garden alongside those who want to garden but don’t have a yard.

References

[tags]Urban Agriculture, Yard Sharing, Vancouver[/tags]

Feb 08 2007

Web Directions North

Justin | Category: Web | 0 Comments

I just landed from the vortex of Web Directions North, a web design conference here in Vancouver. Thanks to Elastic Path for sponsoring my attendance and providing the opportunity to learn from some of the web industry’s thought leaders.

It was inspiring to listen and learn from some of the people actively involved in evolving the Internet. Topics covered the gamut of issues from accessibility issues for disabled users, designing for usability, mapping frameworks, AJAX, microformats and mashups.

I found the talks on usability, microformats and mashups to be the most relevant for my world.

What are microformats, might you be asking? From their website:

Designed for humans first and machines second, microformats are a set of simple, open data formats built upon existing and widely adopted standards.

Microformats are new on the scene and much is yet to evolve. They promise to standardize many elements in the html/css world that will make it much easier to interact with websites, both as a user and as software consuming data.

© 2006 shibumi.net | Wordpress | dKret2 1.2 | Top