Website

From Ecotopia Biketour Wiki
Jump to: navigation, search

The website is hosted by rankenstein (administrative contact: webmaster@rankenste.in) and has a Wordpress installation (admins are User:Eiland, User:Taborda and User:Candid)

Till 2009 the website was static (some old version of the website can be found at [1]) User:Eiland made the first migration to wordpress. On 2012 User:Taborda made some changes on the design (we now use The Clear Line Theme) to make it more customizable without having to be too hard code, some plugins were also activated.

Wordpress website (the main site)

At the moment, the BT site runs on wordpress. The info here is only relevant for administrators of the website.

To become an editor of the website and be able to modify all texts, register yourself at https://www.ecotopiabiketour.net/wp/wp-login.php?action=register, and ask on the Bt-Org list to upgrade your account to the level of an "editor", on which level you can modify all texts.

changing the menus

Only admins have permissions to change the menus (we can, and it's probably wise, to change this) new pages will not appear in the menu while an admin don't add it there (on the backoffice: Appearance->Menus)

facebook default image on share

facebook (and other social networks) try to get an image and show it as thumbnail when you share a link, to force it to show the correct image User:taborda followed this instructions and add this line on the webpage theme header.php (on sftp /appdata/wordpress/wp-content/themes/biketour_2012/header.php)

<link rel="image_src" href="http://www.ecotopiabiketour.net/wp/wp-content/uploads/biketour/2012/05/BT2012logo-social-en-e1337183509611.png" /> 

to clean facebook cached images for our website go here

WARNING: Adding an img_src share preview image may take away the ability to let users select from various images when sharing your site. This code tells sites which image to chose rather than gives the user some options.

Used Wordpress plugins (or at least the most important)

These plugins were working fine on Wordpress 3.0.5 (bugs fixed manually by ecobytes) and shouldd keep working if it (hopefully) updated to a more recent WP version

Contact Form 7

This plugin helps making forms to interact with website users, it's an alternative to wufoo.com (the service that was being used on last biketours, before 2012)

It's used on the Contact page, the registration and as a hack to bypass https untrusted conection to eyfa's mailling list subscribe

User:Taborda tested it on version 2.3.1 and used it with some other plugins

You can edit the diferent forms on the WP backoffice "Contact" menu, the forms are built on html mixed with an easy CF7 tag syntax.

Contact Form 7 Datepicker

adds a datepicker to the registration form

for the next years, don't forget to change the start day on the plugin settings

it has a problem with the url linking to an non-existing directory...

version tested: 0.7.4

Contact Form 7 to database extension

besides sending an email (the main funcionality of CF7) thisit also saves the form data onto a database (so anyone - with a password - can look at it on the Wordpress backoffice, left side, "Database" under "Contact"

version tested: 2.3

qTranslate

installed to be able to have a multi-language site...patched to show default language when no translation is available

the patch just work if language posts are EMPTY (to empty them you need to go into HTML view and also erase the annoying

that keep on appearing when you edit something on a different language!!)

version tested: 2.5.15 (patched with this: http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=4&t=1920)

Sub pages widget

used on the right menu to show sub-pages of the current page

version tested: 1.1

Image Widget

allows adding images to sidebars and footers

version tested: 3.2.11

texts

we have a lot of texts floating around: on this wiki, our old website, on the 2005 wiki and the 2004 wiki with quite some texts in Czech and German.

i worked on a structure of the website and will put all the ideas for texts to write here. those pages are divided in two part: first you will find the ideas behind this page, things to mention or to explain in detail, then the text. please work on both and discuss your ideas on the discussion part of that page - see it up there between article and edit.

home
help
tasks

wordpress

To change the front page between dynamic (showing the latest blog posts) and static (while not on tour, just advertise BT), go to "pages", and edit "Home". Then change the template from that page from "Front page" to "default template" or the other way around. This is an implementation of [2]