Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2019-11-23 14:34:05

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,578
Website

Re: New website

Pat64 wrote #320227:

For the special rows you noticed ;) (with 1-2-3 pics …) that’s the result of magic advices by Oleg (see here).

I remember that thread with Oleg’s radically simplified solution. But I meant the overlaid images on the about page that you’ve stacked with z-index or shifted in position, made grey etc. On closer inspection, I suspect you hand-coded that because it looks pretty complex to make into a short-tag form. I’ve played with – or struggled with – ways to automate different combined image display mechanisms…

No plugin used for the “Fake” Instagram feed: just images uploaded from the TXP back-office with the corresponding links included into the “Alt Text” (I didn’t want to load external dependencies provided by fb).

:-) That’s exactly why I asked. I know there’s oui_instagram but I’m not sure how much it brings in from FB when just showing the images (obviously the images themselves and when you click on them). I’ve used tweetledee to pre-retrieve twitter feeds so that you can display them without your visitors being sent all tw*tter’s gunk. I wonder if there’s something similar for instagram. Alternatively, you might want to suggest PixelFed (a federated instagram equivalent) to them but again it depends how much they use instagram #hashtags to be discovered.


TXP Builders – finely-crafted code, design and txp

Offline

#14 2019-11-23 14:37:10

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

Re: New website

Sorry Jakob, I didn’t understand you want the code. Here it is:

<txp:article_custom section="workshops-retreats" break="div" breakclass="full table mt2em" breakby="3" time="future" sold='%' expired='<txp:variable name="first_event" />' sort="Posted asc" limit="12">

		<txp:evaluate query='<txp:variable name="inner_counter" /> = 0'><div class="_1/6 ie7-hide"> </div></txp:evaluate>


			<div class="_1/3 inner-centered rel mb2em card no-select">
				<div class="_inner rel shadow">
					<txp:permlink>
					<div class="_1/1 protect">
						<txp:if_article_image><txp:images limit="1" break="">
						<txp::image_w420 /></txp:images><txp:else /><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP89R8AAvkB+0p/ESEAAAAASUVORK5CYII=" width="420" height="420" alt="-" /></txp:if_article_image>
					</div>
					<div class="fl-l inner-card">
						<span class="tiny-date block txt-c"><txp:posted /><br /><txp:expires /></span>
						<h3 class="txt-c font-large mt0 mb0"><txp:evaluate query='replace(",", "<br />", "<txp:title />")' /></h3>
						<p class="full txt-c"><txp:custom_field name="medium" />&nbsp;</p>
						<div class="_1/1 dark">
							<span class="more">
								<strong class="price mr1em ml1em"><txp:custom_field name="range" /></strong>
								<strong class="ghost-btn fl-r white-border mr1em ripple"><svg role="img" aria-label="Discover" aria-hidden="true" focusable="false" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><switch><g><path d="M16.172 11l-5.364-5.364 1.414-1.414L20 12l-7.778 7.778-1.414-1.414L16.172 13H4v-2z"></path></g><foreignObject width="0" height="0" overflow="hidden">→</foreignObject></switch></svg> Discover</strong>
							</span>
						</div>
					</div>
					</txp:permlink>
				</div>
			</div>

<txp:variable name="inner_counter" value='<txp:evaluate query=''<txp:variable name="inner_counter" /> + 1'' />' />
		<txp:evaluate query='<txp:variable name="inner_counter" /> = 3'><div class="_1/6 ie7-hide"> </div><txp:variable name="inner_counter" value="0" /></txp:evaluate>
<txp:if_last_article><div class="_1/6 ie7-hide"> </div></txp:if_last_article>


</txp:article_custom>

Patrick.

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

Offline

#15 2019-11-23 16:41:36

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,134
GitHub

Re: New website

Pat64 wrote #320228:

Thank you Pete for your screenshot: the footer’s width is corrected ;)

Confirmed, that’s fixed it.

Offline

#16 2020-03-19 16:59:31

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

Re: New website

Latest version propulsed by TXP 4.8 with some pretty good “Google LightHouse” scores:

https://atelier.clos-mirabel.com/

Last edited by Pat64 (2020-03-20 14:10:13)


Patrick.

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

Offline

#17 2020-03-19 17:14:58

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

Re: New website

That’s lightning fast, especially considering there’s so much content. Txp for the win :)

A slick and nice-looking site. Well done, Patrick!


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

#18 2020-03-19 18:47:26

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

Re: New website

Thanks so much, Stef!

(with the help of your amazing plugin: smd_thumbnail)


Patrick.

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

Offline

#19 2020-03-19 22:08:59

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,072
Website Mastodon

Re: New website

very impressive!


…. texted postive

Offline

#20 2020-03-20 17:32:30

Vienuolis
Member
From: Vilnius, Lithuania
Registered: 2009-06-14
Posts: 307
Website GitHub GitLab Twitter

Re: New website

My admiration and congratulations, too. And impressive automated challenge and test results.

Offline

Board footer

Powered by FluxBB