<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Support Forum - Topic: Portfolio</title>
		<link>http://www.kriesi.at/support/topic/portfolio</link>
		<description>Support Forum - Topic: Portfolio</description>
		<language>en-US</language>
		<pubDate>Sat, 18 May 2013 21:37:47 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/portfolio" rel="self" type="application/rss+xml" />

		<item>
			<title>James Morrison on "Portfolio"</title>
			<link>http://www.kriesi.at/support/topic/portfolio#post-1924</link>
			<pubDate>Wed, 04 Aug 2010 15:17:58 +0000</pubDate>
			<dc:creator>James Morrison</dc:creator>
			<guid isPermaLink="false">1924@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;You're on the right lines with &#60;strong&#62;if ( $link == null)&#60;/strong&#62;. You can adapt the code the pastie.org code like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php $link = get_post_meta($post-&#38;gt;ID, &#38;quot;new_link&#38;quot;, true);?&#38;gt;

&#38;lt;?php if($link) { // if there is a link?&#38;gt;

&#38;lt;?php echo &#38;#39;&#38;lt;a href=&#38;quot;&#38;#39;.$link.&#38;#39;&#38;quot; &#38;gt;&#38;lt;img class=&#38;quot;aligncenter&#38;quot; src=&#38;quot;&#38;#39;.$portfolio_image_small.&#38;#39;&#38;quot; alt=&#38;quot;&#38;quot; /&#38;gt;&#38;lt;/a&#38;gt;&#38;#39;;

&#38;lt;?php } else { // there&#38;#39;s no link ?&#38;gt;

&#38;lt;?php echo &#38;#39;&#38;lt;a href=&#38;quot;&#38;#39;.$portfolio_image.&#38;#39;&#38;quot; rel=&#38;quot;lightbox[portfolio]&#38;quot;&#38;gt;&#38;lt;img class=&#38;quot;aligncenter&#38;quot; src=&#38;quot;&#38;#39;.$portfolio_image_small.&#38;#39;&#38;quot; alt=&#38;quot;&#38;quot; /&#38;gt;&#38;lt;/a&#38;gt;&#38;#39;;

&#38;lt;?php } // end if ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Let me know how you get on and if you need questions answered let me know.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>roadst3r on "Portfolio"</title>
			<link>http://www.kriesi.at/support/topic/portfolio#post-1857</link>
			<pubDate>Tue, 03 Aug 2010 17:01:41 +0000</pubDate>
			<dc:creator>roadst3r</dc:creator>
			<guid isPermaLink="false">1857@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;hey Kriesi,&#60;br /&#62;
I followed your instruction, to create a link instead of a image popup.&#60;br /&#62;
The code had 1 error, (missing some &#38;lt;?php ?&#38;gt; tags, but I think i sucessfully modified it, at least its working.&#60;/p&#62;
&#60;p&#62;I used this code in your portfolio_template: &#60;a href=&#34;http://pastie.org/1073253&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/1073253&#60;/a&#62;&#60;br /&#62;
And I used a new custom field called new_link ( on every post)&#60;/p&#62;
&#60;p&#62;The problem is, this modifies the portfolio template in a way I don't want at all.&#60;br /&#62;
I'm using this new portfolio as a category chooser, when you click on image I'll link to another portfolio page with the actual images.&#60;br /&#62;
As so, I need to keep both, the new portfolio and the original portfolio.&#60;/p&#62;
&#60;p&#62;Can you advise me with that, or maybe another workaround to have small thumbs on a page linking to different portfolios?&#60;/p&#62;
&#60;p&#62;this is what i want to accomplish:&#60;br /&#62;
&#60;a href=&#34;http://www.brunotereso.net/temp/help.png&#34; rel=&#34;nofollow&#34;&#62;http://www.brunotereso.net/temp/help.png&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;and I was thinking on something like: (inside template file)&#60;/p&#62;
&#60;p&#62;if ( $link == null)&#60;br /&#62;
 old code goes here&#60;br /&#62;
else&#60;br /&#62;
 new code&#60;/p&#62;
&#60;p&#62;but I'm not a php programmer so I'm lost.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kriesi on "Portfolio"</title>
			<link>http://www.kriesi.at/support/topic/portfolio#post-267</link>
			<pubDate>Wed, 21 Jul 2010 10:39:34 +0000</pubDate>
			<dc:creator>Kriesi</dc:creator>
			<guid isPermaLink="false">267@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Ok checked it. you set up everything correctly, but the image is far to big for your server as it seems.&#60;/p&#62;
&#60;p&#62;The script rans out of memory when trying to resize it &#60;/p&#62;
&#60;p&#62;Try to upload a smaller version and it should work fine ;)&#60;/p&#62;
&#60;p&#62;regards&#60;br /&#62;
Kriesi
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jamieclick on "Portfolio"</title>
			<link>http://www.kriesi.at/support/topic/portfolio#post-256</link>
			<pubDate>Wed, 21 Jul 2010 09:48:49 +0000</pubDate>
			<dc:creator>Jamieclick</dc:creator>
			<guid isPermaLink="false">256@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Yes I did and then changed it not even thinking about your support.&#60;/p&#62;
&#60;p&#62;Could you please take a look now.&#60;/p&#62;
&#60;p&#62;Jamie
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kriesi on "Portfolio"</title>
			<link>http://www.kriesi.at/support/topic/portfolio#post-250</link>
			<pubDate>Wed, 21 Jul 2010 09:37:33 +0000</pubDate>
			<dc:creator>Kriesi</dc:creator>
			<guid isPermaLink="false">250@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;this looks like you didnt setup the portfolio page in your worpdress backend correctly. did you choose this page as portfolio page at twicet options -&#38;gt; portfolio?&#60;/p&#62;
&#60;p&#62;you can read here how to change the link of the portfolio image:&#60;/p&#62;
&#60;p&#62;if you want to link it to the blog post:&#60;br /&#62;
&#60;a href=&#34;http://pastie.org/584864&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/584864&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;if you want to link it to any link of your choice:&#60;br /&#62;
&#60;a href=&#34;http://pastie.org/847441&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/847441&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jamieclick on "Portfolio"</title>
			<link>http://www.kriesi.at/support/topic/portfolio#post-187</link>
			<pubDate>Tue, 20 Jul 2010 10:43:00 +0000</pubDate>
			<dc:creator>Jamieclick</dc:creator>
			<guid isPermaLink="false">187@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi there,&#60;/p&#62;
&#60;p&#62;I have set up the portfolio page at &#60;a href=&#34;http://harrisonconstructions.co.uk/portfolio-2/&#34; rel=&#34;nofollow&#34;&#62;http://harrisonconstructions.co.uk/portfolio-2/&#60;/a&#62; but the thumbnail is not working. I have turned on the image resize etc. Also I would like the image to link to a page rather than the lightbox. Is this possible?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Jamie
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
