Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-06-22 19:25:20

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,634
GitHub Twitter

Static site ported in TXP

Here a static site we ported in 3 days into TXP : Access to the site

Lot of back-end plugin used ; lot of PHP raws ; few front-end plugins :

cbs_category_list modified for this project Explanations in French here post #14 ;
hak_feed_append for the images include within feeds.
ZCR and pap_cleaner.

Colors can be changed into the layout with the help of some custom_fields

That’s all :)

Regards,

Last edited by Pat64 (2007-06-22 19:29:14)


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#2 2007-06-27 21:01:45

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Re: Static site ported in TXP

Very interesting site, Patrick, both design and content. It seems counter-intuitive to have the menu and link to home page at the bottom, opposite the norm. But I suppose it puts more emphasis on the content. Also people will scroll down to the bottom every time, eg in the blog part, and so may see something they may otherwise have missed.

Did you create the original design before you ported it?


BB6 Band My band
Gud One My blog

Offline

#3 2007-06-28 14:02:10

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,634
GitHub Twitter

Re: Static site ported in TXP

zero wrote:

Did you create the original design before you ported it?

Nope. Just ported within TXP. It’s a free work for a friend of mine.


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#4 2007-08-15 14:17:59

skoggy
Member
From: Westcoast of Sweden
Registered: 2005-03-27
Posts: 209
Website

Re: Static site ported in TXP

Pat64:

Nice job. Hope you don´t mind me asking about your work with the feed_append plugin… Posted my problems here but still no answers. So I thought that I might turn to you, since you´ve got it to work.

Offline

#5 2007-08-15 17:20:32

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,634
GitHub Twitter

Re: Static site ported in TXP

hi skoggy.

Here the “feed_append” form I use :
<txp:body /> <txp:article_image align="left" style="margin:0;clear:both" thumbnail="1" /> <span style="clear:both;height:40px">&nbsp;</span> <span style="clear:both;font-size:6px;align:left">Photo : © xxx, all rights reserved.</span>

and simply link to rss feed with :

<a href="<txp:site_url />rss?section=instantanes" title="<txp:text item="Flux RSS des Instantanés" />"><img src="<txp:site_url />img/feed-icon.png" width="16" height="16" alt="Feed icon" /></a>

I Noted that only the articles posted after all the stuff needed by this plugin are displaying with the thumbnails. That’s why, in the website below, the first article in the rss feed don’t have any thumbnail at all!

Here the content of hack_feed_append plugin by Patrick Woods :

register_callback('hak_feed_append', 'rss_entry'); // register_callback('hak_feed_append', 'atom_entry'); function hak_feed_append($event, $step) { global $thisarticle; $form = fetch_form('feed_append'); $thisarticle['body'] = parse($form); // $thisarticle['body'] .= parse($form); }


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

Board footer

Powered by FluxBB