Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2018-08-19 16:05:26
- BryanA.
- Member
- From: Maryland, USA
- Registered: 2007-08-12
- Posts: 101
Section uniquely configured for Alerts
I didn’t know how to title this post! How would i create a special post that
1 appears on the top of all pages but search and tags (tru_tags)
2 won’t create a website navigation link (like out of box 4.7 does for Home, Articles, About)
3 won’t link to any version of itself in the manner of an article
Usage: Like a one-liner site-news alert. I’ve created a Section, Alert, and said yes and no to a few things and guessed it should use Default page but Article form i think.
So I’m up to any changes but not too sure on this one!
Voice Actor – starting up a site for that good book stuff.
Offline
Re: Section uniquely configured for Alerts
Hi Bryan,
I hope the reply is not too laconic…
<txp:if_search>your tags here</txp:if_search>
1. <txp:article_custom section="alert">...</txp:article_custom>
on the templates/pages you want this to appear
2. <txp:section_list exclude="alert" />
for the menu
3. Use preferences in sections tab
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#3 2018-08-19 23:20:25
- BryanA.
- Member
- From: Maryland, USA
- Registered: 2007-08-12
- Posts: 101
Re: Section uniquely configured for Alerts
Super helpful. Just enough hint and just enough mystery for me to be challenging.
Forget this: How would we hide or not display an excerpt if one is accidentally created? Excerpts are used everywhere else. I’m guessing it an instruction within
EDIT: I see the article_listing Form that might provide the answer to removing “read more” and any excerpt. What I’ve never done was to dictate what Form to use. ‘Archive’ Page has control of the Section, ‘alert’ that I’ve made work so far.
I see what to strike out, but I’m unsure how to ‘call’ the Form I create by editing a copy of article_listing I think.
Last edited by BryanA. (2018-08-20 01:10:35)
Voice Actor – starting up a site for that good book stuff.
Offline
Re: Section uniquely configured for Alerts
BryanA. wrote #313515:
EDIT: I see the article_listing Form that might provide the answer to removing “read more” and any excerpt. What I’ve never done was to dictate what Form to use. ‘Archive’ Page has control of the Section, ‘alert’ that I’ve made work so far.
I see what to strike out, but I’m unsure how to ‘call’ the Form I create by editing a copy of article_listing I think.
Hi Bryan
You do not need a form. You can include/edit the code below in the page you need it
<txp:article_custom section="alert" form="" limit="2">
<txp:body />
</txp:article_custom>
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#5 2018-08-20 12:05:10
- BryanA.
- Member
- From: Maryland, USA
- Registered: 2007-08-12
- Posts: 101
Re: Section uniquely configured for Alerts
This has gone very well for me. There’s a lot I didn’t know that seems obvious when I see it. Thanks for the help!
Voice Actor – starting up a site for that good book stuff.
Offline