Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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?
Offline
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
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
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"> </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