Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 Today 01:28:09

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,282
Website Mastodon

Link to full article

brain fog has hit me – yet again.
I cannot work out how to get to a full article from a brief output.

In my Notebook section I output three articles …. title and image and category and date.
From here I wish to link to the full Notebook article. But all I get is a hung browser:

In my Page: Notebook I call for three items:

<txp:article_custom form="notebook" limit="3" sort="posted desc" />

In the Form (Article) : notebook I have :

 <txp:article_image class="img-fluid" alt=""/>  
              <div class="meta-top">
                 <ul>
       <li class="d-flex align-items-center"> <txp:category /></li>
       <li class="d-flex align-items-center"><i class="bi bi-dot"></i> <txp:posted format="%b %d, %Y" /></li>
                 </ul>
               </div>
  <h2 class="title"> <txp:permlink><txp:title /></txp:permlink></h2> 
             </article>
           </div><!-- End post list item -->
 <!--  works as expected  BUT PERMLINK not working  -->

when I hover over the permalink I see the URL I expect http://piovedue.local/notebook/using-grep-to-find-caps
But all I get is a hung browser that fails to reach the url.

in the Form (Article) : notebook_listing I have:

 <section id="note-details" class="note-details section"> 
	<div class="container">
	  <article class="article">
		<div class="post-img">
 <txp:article_image wraptag="p" alt="" class="img-fluid"/>
		</div>
<txp:permlink><h2 class="title"><txp:title /></h2> </txp:permlink>
		<div class="meta-top">
		  <ul>
			<li class="d-flex align-items-center"><i class="bi bi-clock"></i> 
<txp:permlink> <txp:title /> </txp:permlink> &nbsp <txp:posted format="%b %d, %Y" /></li>
		  </ul>
		</div><!-- End meta top -->
		<div class="content">
		   <txp:body />  
<txp:if_excerpt>
        <div itemprop="description">
            <txp:excerpt />
        </div>
    </txp:if_excerpt>
		</div><!-- End post content -->
	  </article>
	</div>
  </section><!-- /Blog Details Section -->
<!-- ==== /POST FULL NOTEBOOK ARTICLE ==== -->

I am sure there must be something trivial and obvious that I am overlooking. A fresh set of eyes might help…


…. texted postive

Offline

Board footer

Powered by FluxBB