LinkWithin without

2012-11-01 11:44

Keywords: carousel, related

LinkWithin presentation with etc_query, per this request. Below are three preceding articles in the same category (amended with some ajax/style). One could add article images and style them as necessary.

Current article: LinkWithin without

Article paginationSort XML with XSLTurn a list into table

Add this to the individual article part of your article form:

<txp:variable name="category-list">
  <txp:article_custom limit="999" category='<txp:category />' sort="Posted DESC">
    <txp:permlink><txp:title /></txp:permlink>

  data='<txp:variable name="category-list" />'
  query='a[@href=''<txp:permlink />'']/following-sibling::a[position()<4]'
  break="div" />