Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

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

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,941
Website GitHub Twitter

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 | EMAP | A Sea change | NeMe @ github
I do my best editing after I click on the submit button.

Offline

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

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

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

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

#31 2015-01-04 10:47:57

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

Re: Minimum Theme for Textpattern

My mistake, it’s in the form search_results

Offline

#32 2015-01-15 13:09:45

txpwayoflife
Member
Registered: 2015-01-09
Posts: 16

Re: Minimum Theme for Textpattern

The comments form is only displayed in the “txp:permlink /”. Where can I put a link labeled “Comment” in the main page? This is what I am thinking about:

<a href=”<txp:permlink />”>Comments</a>

Last edited by txpwayoflife (2015-01-15 13:11:05)

Offline

#33 2015-01-15 13:39:41

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

Re: Minimum Theme for Textpattern

Hi Alexandre, great to have you back ;)
I’m not really experienced with comments but I know there’s a txp:comment_permlink tag, have you tried it? Maybe reading that page is a piece in the puzzle re your question.


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

Offline

#34 2015-01-15 14:48:38

txpwayoflife
Member
Registered: 2015-01-09
Posts: 16

Re: Minimum Theme for Textpattern

uli wrote #287429:

Hi Alexandre, great to have you back ;)

Thank you, Uli !

I will make some tests here using this piece of code.

Last edited by txpwayoflife (2015-01-15 14:56:12)

Offline

#35 2015-01-15 19:34:43

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Minimum Theme for Textpattern

I’m not sure how this theme is organised and what article forms are used, but in a default installation the tags that display the comments are only in the single article form, and not in the article_listing form. That’s why you don’t see them on an article list page. I guess that if you copy the comment tags from the single article form to the list form it will do what you want.

Offline

#36 2015-01-15 22:40:59

txpwayoflife
Member
Registered: 2015-01-09
Posts: 16

Re: Minimum Theme for Textpattern

Els wrote #287447:

I’m not sure how this theme is organised and what article forms are used, but in a default installation the tags that display the comments are only in the single article form, and not in the article_listing form. That’s why you don’t see them on an article list page. I guess that if you copy the comment tags from the single article form to the list form it will do what you want.

Hi again, Els!

I just wanna say a big THANK YOU, you are a very kind person !!!

Offline

Board footer

Powered by FluxBB