Textpattern CMS support forum

You are not logged in. Register | Login | Help

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

Gocom
Plugin Author
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,530
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,192

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,192

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

#25 2014-10-16 17:30:40

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,213
Website

Re: Minimum Theme for Textpattern

alexandrealmeida.blue wrote #284879:

I’ve changed the background color to blue. Now, I am trying to change the font color in the CCS. There are still some pieces of text in black/darkgray. How can I change it?

Hi,

You can change the instances of h1, h4, and time in the css to

h1 {color:#fff}
h4 {color: #fff}
time {color: #fff}

Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | Respbublika! | NeMe @ github

Offline

#26 2014-10-16 18:30:02

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

Re: Minimum Theme for Textpattern

Nice spots of Curcuma! :)


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

Offline

#27 2014-10-16 22:21:06

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

Re: Minimum Theme for Textpattern

Alexandre, in Admin > Presentation > Styles you’ll find an entry “minimum_style”. On line 73 there, you have the definition for body which is currently at 18px. Your font size="6" equals 32px in my browser, so that’s what you have to enter there (and save). All other font sizes will scale up accordingly, which is great, like it should be. If that’s not what you want, you’ll have to alter the values for the tags you feel are the wrong size then. You’ll have to remove the font tags from your articles, though, when the size value is altered in order to have consistent sizes back.

I’d like to advise you stop using HTML tags in your articles, really. Textile is so great, easy to apply, less error prone (once you learned the first bits) and outputs correct markup! You have a mini cheat sheet on top of the left column of the Write panel (“Textile help”) and, if that’s not enough, there’s also a link there that leads to the Textile documentation.

Feel free to ask if there’s something you don’t get your head around.


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

Offline

#28 2015-01-03 13:03:21

ruud
Developer emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Minimum Theme for Textpattern

Set your website to debug mode and check the tag trace

Looks like the results are shown as many times as there are search results: 1 result = shown once, 4 results = shown 4 times. Might be caused by a nesting of txp:article tags. The tag trace should show that.

Offline

#29 2015-01-03 22:49:54

ruud
Developer emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Minimum Theme for Textpattern

That can’t be right. I don’t see a SQL query for articles.
Can you leave the website in debug mode, so we can check for ourselves?

Offline

#30 2015-01-03 23:05:46

ruud
Developer emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Minimum Theme for Textpattern

In your minimum_default page, you have <txp:article form="minimum_post" limit="5" />
And the minimum_post form contains another <txp:article limit="10"> (and <txp:article limit="10" pgonly="1" />) tag.
That causes the multiplication of posts. You only want one <txp:article> tag instead of one nested inside another.

In case someone else is watching, you have to look at the HTML source for the iframe.

Offline

Board footer

Powered by FluxBB