Hi all,
A really straightforward thing I’m sure, but its got me stumped at the mo?? :(
Currently using the Matrix module to display my portfolio gallery (the usual, list of thumbnails, click through to specific page with full size image), unsure of what code to pop into the href src? I was hoping to have both the portfolio page, and single entry page code in the same template then use segments, but not 100% sure of the exact code I would need?
My current portfolio/index.php code is as follows :
{if segment_1 == 'portfolio'}
{exp:channel:entries channel="portfolio"}
<h1>{title}</h1>
{portfolio_introduction}
{/exp:channel:entries}
{exp:channel:entries channel="portfolio"}
<ul id="portfolio-thumbnails">
{gallery}
<li><a href="http://{path={segment_1}/segment_2}">_ {exp:ce_img:pair src="{image}" max="260" crop="yes|center,center|130,-250|no"}_ {made}_ {/exp:ce_img:pair}_ <span>{image_title}</span></a></li>
{/gallery}
</ul>
{/exp:channel:entries}
{/if}I am also using the Structure module, will this affect the way I would code up this template file?
thanks in advance
Marc