Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2010-03-02 00:14:11
- lister
- Member
- Registered: 2008-02-13
- Posts: 76
lenka template install - newbie question
I have installed the textpattern template lenka on my Local Mac server. I have added all the pages and forms, but have a problem with the permlink title and comment not showing up in the default section (home), but the body shows. If I add a title to the default form I can see a recuring title so the correct form is being used. I think it maybe something to do with the page/sections.
I have created 2 Sections Archive (using the archive page) and Contact (contact Page) and assigning hte default page to default. When writing posts I have only archive and contact section to choose from.
I have attached some png to show the problem I have, please could someone help..
Hopefully I havent missed anything important…
Thanks for the help..
lister
link to the lenka template: lenka
Offline
Re: lenka template install - newbie question
Best way to get help for this sort of problem (and also to learn how to resolve such problems yourself) is to put your site in debugging mode and post a link to the site or post a tag trace in the forum (you’d do the latter in this case since the site is on your local server).
See:
What does the Production Status setting do?
and
Code is topiary
Offline
#3 2010-03-02 14:26:51
- lister
- Member
- Registered: 2008-02-13
- Posts: 76
Re: lenka template install - newbie question
Thanks, I’ll try the troubleshooting guide.. hopefully this will shed some light..
Offline
#4 2010-03-07 23:20:31
- lister
- Member
- Registered: 2008-02-13
- Posts: 76
Re: lenka template install - newbie question
I installed a complete new template (TXP Afterglow) but the permlinks still don’t show up? Its a little odd, is it something to do with my preferences for this new user (local) I have setup?
here is the code:
<!-- end default page template -->
<!-- Runtime: 0.1286 -->
<!-- Query time: 0.044603 -->
<!-- Queries: 17 -->
<!-- Memory: 2660Kb, <txp:title /> -->
<!-- txp tag trace:
[SQL (0.0141520500183): select name, data from txp_lang where lang='en-gb' AND ( event='public' OR event='common')]
[SQL (0.00722193717957): select name, code, version from txp_plugin where status = 1 AND type IN (0,1) order by load_order]
[SQL (0.00133395195007): select title from txp_section where name='']
[SQL (0.000948190689087): select page, css from txp_section where name = 'default' limit 1]
[SQL (0.00151515007019): select host from txp_log where ip='127.0.0.1' limit 1]
[SQL (0.0015869140625): insert into txp_log set `time`=now(),page='/',ip='127.0.0.1',host='localhost',refer='',status='200',method='GET']
[SQL (0.00103807449341): select user_html from txp_page where name='default']
[Page: default]
<txp:output_form form="DTD_head" />
[SQL (0.00180602073669): select Form from txp_form where name='DTD_head']
[Form: DTD_head]
<txp:css format="link" />
<txp:css n="print" />
<txp:if_article_list>
[<txp:if_article_list>: true]
<txp:if_category>
[<txp:if_category>: false]
<txp:if_section name="default">
[<txp:if_section name="default">: true]
</txp:if_section>
<txp:site_name />
</txp:if_category>
</txp:if_article_list>
<txp:if_individual_article>
[<txp:if_individual_article>: false]
</txp:if_individual_article>
<txp:rss_live_search_js />
<txp:output_form form="header" />
[SQL (0.00182819366455): select Form from txp_form where name='header']
[Form: header]
<txp:link_to_home>
<txp:site_name />
</txp:link_to_home>
<txp:if_article_list>
[<txp:if_article_list>: true]
<txp:if_category>
[<txp:if_category>: false]
<txp:if_section name="default">
[<txp:if_section name="default">: true]
</txp:if_section>
<txp:site_name />
</txp:if_category>
</txp:if_article_list>
<txp:if_individual_article>
[<txp:if_individual_article>: false]
</txp:if_individual_article>
<txp:if_section name=",default">
[<txp:if_section name=",default">: true]
<txp:if_category>
[<txp:if_category>: false]
</txp:if_category>
<txp:article form="default" limit="2" listform="default" />
[SQL (0.00126695632935): select name from txp_section where on_frontpage != '1']
[SQL (0.00200390815735): select count(*) from textpattern where 1=1 and Status = 4 and Posted <= now() and (now() <= Expires or Expires = '0000-00-00 00:00:00') and Section != 'archivescat' and Section != 'about' and Section != 'archivesmonth' and Section != 'contact' and Section != 'links' and Section != 'search']
[SQL (0.00268387794495): select *, unix_timestamp(Posted) as uPosted, unix_timestamp(Expires) as uExpires, unix_timestamp(LastMod) as uLastMod from textpattern where 1=1 and Status = 4 and Posted <= now() and (now() <= Expires or Expires = '0000-00-00 00:00:00') and Section != 'archivescat' and Section != 'about' and Section != 'archivesmonth' and Section != 'contact' and Section != 'links' and Section != 'search' order by Posted desc limit 0, 2]
[article 9]
[SQL (0.00080394744873): select Form from txp_form where name='default']
[Form: default]
<txp:posted />
<txp:permlink>
<txp:title />
</txp:permlink>
<txp:category1 link="1" />
<txp:category2 link="1" />
<txp:author link="0" />
[SQL (0.00102496147156): select RealName from txp_users where `name` = 'gatekeeper' limit 1]
<txp:body />
<txp:comments_invite />
[article 8]
[Form: default]
<txp:posted />
<txp:permlink>
<txp:title />
</txp:permlink>
<txp:category1 link="1" />
<txp:category2 link="1" />
<txp:author link="0" />
<txp:body />
<txp:comments_invite />
<txp:output_form form="postnavigation" />
[SQL (0.00130915641785): select Form from txp_form where name='postnavigation']
[Form: postnavigation]
<txp:older>
</txp:older>
<txp:newer>
</txp:newer>
</txp:if_section>
<txp:if_section name="about,contact">
[<txp:if_section name="about,contact">: false]
</txp:if_section>
<txp:if_section name="links">
[<txp:if_section name="links">: false]
</txp:if_section>
<txp:if_section name="archivescat">
[<txp:if_section name="archivescat">: false]
</txp:if_section>
<txp:if_section name="archivesmonth">
[<txp:if_section name="archivesmonth">: false]
</txp:if_section>
<txp:if_section name="search">
[<txp:if_section name="search">: false]
</txp:if_section>
<txp:output_form form="sidebar" />
[SQL (0.000751972198486): select Form from txp_form where name='sidebar']
[Form: sidebar]
<txp:site_url />
<txp:site_url />
<txp:site_url />
<txp:site_url />
<txp:site_url />
<txp:site_url />
[ ~~~ secondpass ~~~ ]
-->
could anyone help??
lister
Offline
#5 2010-03-07 23:45:05
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: lenka template install - newbie question
Do you have a custom field named ‘title’?
Offline
#6 2010-03-08 00:38:02
- lister
- Member
- Registered: 2008-02-13
- Posts: 76
Re: lenka template install - newbie question
yes, i did create 2 custom fields in the preferences when i installed the first theme,..one of them title, could this conflict with the title in the post.. didnt think of this?
Last edited by lister (2010-03-08 00:40:24)
Offline
#7 2010-03-08 07:57:02
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: lenka template install - newbie question
lister wrote:
could this conflict with the title in the post.. didnt think of this?
Definitely. (Textbook)
Offline