Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-06-09 01:06:59
- lux0r
- New Member
- Registered: 2007-05-23
- Posts: 6
breadcrumb question
I have used the following form :
<p><txp:breadcrumb link=“y” sep=”>” > <txp:page_title /> </p>
then i included it to the page template like:
<txp:article form=“breadcrumb” />
Now i was hoping to be able to add extra information to bread crumb like :
home link > section > then article / section title with no link to show where the visitor is actually at.
The above form code did not product the last trail I was hoping for.
How can I use forms to manipulate data from article / section data, and get my idea to work?
Offline
#2 2007-06-09 12:28:26
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: breadcrumb question
txp:page_title is meant to use in the page head’s <title />
tags.
Have a look here.
Offline
#3 2007-06-11 06:23:01
- brianlux0r
- Member
- Registered: 2007-06-04
- Posts: 41
Re: breadcrumb question
i placed
<txp:if_individual_article>
<txp:article form=“article_title” />
</txp:if_individual_article>
in my default and archive pages.
then for the article_title form i place :
<txp:title />
..when i view live site nothing happens on article pages. Im not sure what Im missing.
Offline
#4 2007-06-11 15:13:53
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: breadcrumb question
Are you sure the section these articles are in are set to use the default or archive page?
Offline
#5 2007-06-11 16:02:48
- brianlux0r
- Member
- Registered: 2007-06-04
- Posts: 41
Re: breadcrumb question
ok I have got it to work.
But now the “Commenting is closed for this article.” Is showing up below where i place that code.
How do I eliminate the comment code from the output when creating articles froms like this?
Thanks a million.
Offline
#6 2007-06-11 18:00:59
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: breadcrumb question
This happens when you have ‘Automatically append comments to articles’ (Admin > Preferences) set to ‘yes’, and there is more than one txp:article tag on the page. You can set this to ‘no’, you’ll probably have to make some changes to your comment related tags in other forms, see explanation in the FAQ.
Offline
#7 2007-06-11 18:13:08
- brianlux0r
- Member
- Registered: 2007-06-04
- Posts: 41
Re: breadcrumb question
great I understand thanks for your excellent help.
Offline
Pages: 1