Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-02-19 14:15:25

rloaderro
Archived Plugin Author
From: Costa Rica
Registered: 2006-01-05
Posts: 190
Website

Curriculum Vitae, Standards-based web application developer

I recently updated my CV online. It was a static HTML website before – I had never even thought about using TXP because it didn’t seem like a traditional layout / format for the CMS. As a static website it remained, well, static for over 3 years. So when I finally needed to update it I almost gave up because of the sheer tedium of coding HTML by hand – that’s when it occurred to me I should probably be using TXP after all. In the end it took much less time to integrate with the CMS than it would have to finish coding by hand – and TXP opened a lot of doors for what was then possible. The site is here (shameless plug):

Aeron Glemann, Curriculum Vitae, Standards-based web application developer, Costa Rica – New York

  • There is some fancy JS coding with Mootools.
  • I use hak_article_image to manage multiple image articles and the essentials: asy_wondertag and chh_if_data and that’s about it for the public side.

I coded a quick and dirty tagging system using the TXP keywords field. In my forms I have something like this (wrapped inside chh_if_data natch):

<txp:php>
	global $thisarticle;
	assert_article();

	$keywords = explode(',', $thisarticle['keywords']);

	$anchors = array();

	foreach ($keywords as $keyword){ 
		$anchors[] = tag($keyword, 'a', ' target="_parent" href="'.hu.'?q='.str_replace(' ', '+', $keyword).'"'); 
	}

	echo implode(', ', $anchors);
</txp:php>

The target attr because projects load in an iframe. Then I had to hack publish.php slightly, around line 590:

$match = "";
$search = " and (Keywords rlike '$q') $s_filter";
if (!$sort) $sort='Posted desc';

Anyway, check it out - hope you like it!

Travel Atlas * Org | Start Somewhere

Offline

#2 2008-02-19 14:21:48

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,446
Website GitHub

Re: Curriculum Vitae, Standards-based web application developer

Hey, very swish!

Couldn’t get your ‘experience’ links to work though. They all go to ~aeronglemann/aeron/?q=something and I get 404s.

Love the examples that pop up on the right. Kudos.

[EDIT: Oh wait, it works now. Was I too quick for ya? :-p ]

Last edited by Bloke (2008-02-19 14:22:49)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#3 2008-02-19 14:27:56

rloaderro
Archived Plugin Author
From: Costa Rica
Registered: 2006-01-05
Posts: 190
Website

Re: Curriculum Vitae, Standards-based web application developer

Bloke wrote:

EDIT: Oh wait, it works now. Was I too quick for ya? :-p ]

Yes :) Just noticed that right after I posted the link. Now I just noticed that the results count is wrong…. well, it’s a tuesday.

Last edited by rloaderro (2008-02-19 15:11:50)


Travel Atlas * Org | Start Somewhere

Offline

#4 2008-02-19 15:18:34

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: Curriculum Vitae, Standards-based web application developer

WOW! everything with js very, very cool. I’m a fan of your work.

Offline

#5 2008-02-19 15:40:38

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: Curriculum Vitae, Standards-based web application developer

Very nicely done Aaron.

I particularly like the Mootools Bubble Math Effect, on the Tooltips

regards, marios

Last edited by marios (2008-02-19 15:46:30)


⌃ ⇧ < ⌃ ⇧ >

Offline

#6 2008-02-22 16:49:00

dbulli
Member
Registered: 2004-11-22
Posts: 195
Website

Re: Curriculum Vitae, Standards-based web application developer

The bubbles is my favorite thing too … saw this from CSS Mania first and didn’t even realize it was Textpattern…

Nice use of AJAX … mootools rocks ! Love that the links are real so AJAX or not you get the same page.


nuff-respec ::: dannyb

Offline

#7 2008-02-22 17:01:31

rloaderro
Archived Plugin Author
From: Costa Rica
Registered: 2006-01-05
Posts: 190
Website

Re: Curriculum Vitae, Standards-based web application developer

dbulli wrote:

Nice use of AJAX … mootools rocks ! Love that the links are real so AJAX or not you get the same page.

hi! Thanks for the kind words! Actually it’s not even half so clever as AJAX: it’s just an iframe. The page template in TXP for the iframe has a script that fades in the content onload – but it would work just the same with JS turned off (just no fade natch).

Last edited by rloaderro (2008-02-22 17:01:53)


Travel Atlas * Org | Start Somewhere

Offline

#8 2008-02-22 17:11:41

dbulli
Member
Registered: 2004-11-22
Posts: 195
Website

Re: Curriculum Vitae, Standards-based web application developer

well mootools still rocks ;) Then good use of redirect to get iframe to work with boomarkable urls !


nuff-respec ::: dannyb

Offline

Board footer

Powered by FluxBB