Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2013-08-21 20:30:52

PascalL
Member
From: Switzerland
Registered: 2009-03-09
Posts: 132
Website

Re: Minimum Theme for Textpattern

Hi Stephan, this is excellent.
I see a problem with headings: you use the Ovo font, which doesn’t have a bold variant, Firefox displays a faux bold because there’s a font-weight:bold in bootstrap stylesheet. Didn’t try other browsers, but I guess they do the same. You could easily set it back to “normal” in you stylesheet.

Pascal

P.S: well, you definitely have the same problem with italics, and also with the Average font which misses proper variants as well.

Last edited by PascalL (2013-08-21 20:42:37)

Offline

#14 2013-08-22 06:51:55

stephan
Plugin Author
From: Bochum, Germany
Registered: 2004-07-26
Posts: 196
Website

Re: Minimum Theme for Textpattern

Thanks, I made an update to the github repo removing the bold, but no packaged zip file yet.
Feel free to send my pull requests for the other variants you mentioned – I currently have only limited time to work on txp themes :-(


Yoko for Textpattern – A free blog themeMinimum Theme – If all you want to do is write.
Note: I am currently not actively using Textpattern, so I am not in the forums very often

Offline

#15 2014-01-09 23:38:44

Marcos
Member
Registered: 2004-04-08
Posts: 70

Re: Minimum Theme for Textpattern

Hi.
I have installed the minimum theme, and all works well, but not google+ comments, that does not display.

This is the content of minimum_post block:

<article role="article" itemscope itemtype="http://schema.org/Article">
	<txp:if_individual_article>
		<h1 itemprop="name"><txp:title /></h1>
	<txp:else />
		<h1 itemprop="name"><txp:permlink><txp:title /></txp:permlink></h1>
	</txp:if_individual_article>
	<h4><time datetime="<txp:posted format="%d de %b, %Y" />" itemprop="datePublished"><txp:posted format="%d de %b, %Y" /></time></h4>
	<div class="body" itemprop="articleBody">
		<txp:body />
	</div>

</article>
<txp:if_individual_article>
<div class="g-comments"
data-href="<txp:permlink />"
data-width="1040"
data-first_party_property="BLOGGER"
data-view_type="FILTERED_POSTMOD">
</div>
</txp:if_individual_article>

And this is the content of minimum_javascript:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/prettify/r224/prettify.js"></script>
<script>
	$(function () {
		// Google Code Prettify
		window.prettyPrint && prettyPrint();

		// initialise drawer
		var drawer = new hideShow('drawer-trigger');
	});

	// function hideShow() is the constructor for a hideShow widget
	function hideShow(id) {
		this.$id = $('#' + id);
		this.$region = $('#' + this.$id.attr('aria-controls'));
		this.toggleSpeed = 100;
		this.bindHandlers();
	}

	// function bindHandlers() is a member function to bind event handlers to the hideShow region
	hideShow.prototype.bindHandlers = function() {
		var thisObj = this;
		this.$id.click(function(e) {
			thisObj.toggleRegion();
			e.stopPropagation();
			return false;
		});
	}

	// function toggleRegion() is a member function to toggle the display of the hideShow region
	hideShow.prototype.toggleRegion = function() {
		var thisObj = this;

		// toggle the region
		this.$region.slideToggle(this.toggleSpeed, function() {
			// region is collapsed
			if ($(this).attr('aria-expanded') === 'false') { 
				// update the aria-expanded attribute of the region
				$(this).attr('aria-expanded', 'true');
				// update the button state
				thisObj.$id.attr('aria-pressed', 'true');
			}
			// region is expanded
			else {
				// update the aria-expanded attribute of the region
				$(this).attr('aria-expanded', 'false');
				// update the button state
				thisObj.$id.attr('aria-pressed', 'false');
			}
		});
	}
</script>
<script src="http://yauh.de/js/slimbox2.js"></script>
<script src="https://apis.google.com/js/plusone.js">

Can you see something that causes the malfunction?

{Edited to add syntax highlighting (the actually wrong but more eye-opening, JS). That way the faulty area (lacking closing tag) is exposed much better. – Uli}

Last edited by uli (2014-01-10 14:42:32)

Offline

#16 2014-01-10 10:24:11

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,303

Re: Minimum Theme for Textpattern

Browsers might not like the unclosed script tag at the very bottom of minimum_javascript.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#17 2014-01-10 12:32:59

Marcos
Member
Registered: 2004-04-08
Posts: 70

Re: Minimum Theme for Textpattern

Oh, my god, thats it… Revised a thousand times and… Thank you!

Offline

#18 2014-01-10 13:13:36

stephan
Plugin Author
From: Bochum, Germany
Registered: 2004-07-26
Posts: 196
Website

Re: Minimum Theme for Textpattern

Glad it finally worked. I also missed this missing script tag…


Yoko for Textpattern – A free blog themeMinimum Theme – If all you want to do is write.
Note: I am currently not actively using Textpattern, so I am not in the forums very often

Offline

#19 2014-01-10 13:37:50

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,303

Re: Minimum Theme for Textpattern

Marcos wrote #277995:

Revised a thousand times and…

One tends to become clueless at the bottom.
You’re welcome, great that it wasn’t more.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#20 2014-05-04 19:50:26

Snooze
New Member
Registered: 2009-04-21
Posts: 4

Re: Minimum Theme for Textpattern

I attempted to download this theme using the link on the site:

Minimum

The destination now fails at a 404 page.

Is their an alternate download link?

Offline

#21 2014-05-04 22:16:30

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Minimum Theme for Textpattern

Offline

#22 2014-05-05 00:02:54

Snooze
New Member
Registered: 2009-04-21
Posts: 4

Re: Minimum Theme for Textpattern

I got it, though the fact remains that there is bad link on the theme page.

Offline

#23 2014-10-10 15:23:17

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,303

Re: Minimum Theme for Textpattern

Hi Alexandre and welcome to the forum!

I’m not a huge fan of FB because of their user tracking and so didn’t care for what plugins we have for liking, if any. This is usually an easy job, though, that one can realise without a plugin, with just a snippet of code (probably offered on the facebook website or anywhere google-able on the web) that you put into a textpattern form (admin side: Presentation > Forms) and place some small TXP tags like <txp:site_url /> or <txp:permlink /> in it at the appropriate spots.

You’ll call that form whereever you need it with a tag like <txp:output_form form="ENTER_YOUR_FORM_NAME_HERE" />, most probably inside the default article form.

Feel free to ask what’s strange from my advise.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#24 2014-10-10 15:42:16

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,303

Re: Minimum Theme for Textpattern

And, as usual on the web, someone’s already invented the wheel.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB