I’m trying to create a very simple portfolio weblog. The custom fields are title, portfolio_image, and portfolio_link. For some reason I cannot get a link to work using the {portfolio_link} tag. I’m pretty certain this is very simple, but for some reason I can’t get it to work.
Here’s the code I have:
<div id="mainContent">
<h1> Portfolio </h1>
{exp:weblog:entries weblog="portfolio" }
<div id="portfolioEntry">
<div id="rightColumn">
<a href="http://{portfolio_link}">{portfolio_image}</a>
<!-- end #rightColumn --></div>
<div id="leftColumn">
<h2>{title}</h2>
<p> {site_info} <br />
<a href="http://{portfolio_link}">Visit the site</a><br />
<!-- end #leftColumn --></div><br />
<!-- end #portfolioEntry --></div><br />
</p>
<p> {/exp:weblog:entries}
This is the portfolio I’m trying to get (fyi…just a test portfolio now so the images and links are screwy). And here is the portfolio I’m getting.
I have to be missing something simple here…this shouldn’t be that difficult. Does anyone have any ideas?
Thanks.