<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>Forums Tag: link</title>
<link>http://omeka.org/forums/</link>
<description>Forums Tag: link</description>
<language>en</language>
<pubDate>Sun, 12 Oct 2008 05:17:32 +0000</pubDate>

<item>
<title>tmikk on "Unable to get to the "Public site" from admin screen"</title>
<link>http://omeka.org/forums/topic/unable-to-get-to-the-public-site-from-admin-screen#post-480</link>
<pubDate>Wed, 11 Jun 2008 18:51:07 +0000</pubDate>
<dc:creator>tmikk</dc:creator>
<guid isPermaLink="false">480@http://omeka.org/forums/</guid>
<description>&#60;p&#62;I am having the same problem with Omeka 9.1.1 .  Go to public site takes me to &#60;a href=&#34;http://.../admin&#34; rel=&#34;nofollow&#34;&#62;http://.../admin&#60;/a&#62; .  Not a huge deal for me, but for other contributors, it may be an issue.
&#60;/p&#62;</description>
</item>
<item>
<title>KrisKelly on "link_href Helper Function"</title>
<link>http://omeka.org/forums/topic/link_href-helper-function#post-475</link>
<pubDate>Tue, 10 Jun 2008 18:39:40 +0000</pubDate>
<dc:creator>KrisKelly</dc:creator>
<guid isPermaLink="false">475@http://omeka.org/forums/</guid>
<description>&#60;p&#62;Yes, there is already a link_to() function that does what your function does for most cases. You can't use it for inserting HTML into the tag, so there will probably be a link_to_img() helper that does something similar to what yours does. I would imagine that it would be something like: link_to_img($featuredItem, 'show', 'orange-btn.gif');. By the way, nice job on the that theme, it looks great!
&#60;/p&#62;</description>
</item>
<item>
<title>kyleroth on "link_href Helper Function"</title>
<link>http://omeka.org/forums/topic/link_href-helper-function#post-465</link>
<pubDate>Fri, 06 Jun 2008 20:32:08 +0000</pubDate>
<dc:creator>kyleroth</dc:creator>
<guid isPermaLink="false">465@http://omeka.org/forums/</guid>
<description>&#60;p&#62;I added a function called &#60;strong&#62;link_href&#60;/strong&#62; to ../helpers/Functions.php and it allows me to link image buttons to item pages. Is there a better way to code this with one of the current functions or would this be something beneficial to add to the global Functions page?&#60;/p&#62;
&#60;p&#62;Code in Functions.php:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;function link_href($record, $action=&#38;#39;show&#38;#39;, $text) {
$path = $record-&#38;gt;getPluralized() . DIRECTORY_SEPARATOR . $action . DIRECTORY_SEPARATOR . $record-&#38;gt;id;
return &#38;#39;&#38;lt;a href=&#38;quot;&#38;#39;. uri($path) . &#38;#39;&#38;quot;&#38;gt;&#38;#39; . ($text) . &#38;#39;&#38;lt;/a&#38;gt;&#38;#39;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Code on frontend:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php $orangebot = img(&#38;#39;orange-btn.gif&#38;#39;); ?&#38;gt;
&#38;lt;?php echo link_href($featuredItem,show,&#38;quot;&#38;lt;img src=$orangebot border=&#38;#39;0&#38;#39; &#38;gt;&#38;quot;); ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You can see the theme that I am developing here: &#60;a href=&#34;http://euclidcorridor.dreamhosters.com/&#34; rel=&#34;nofollow&#34;&#62;http://euclidcorridor.dreamhosters.com/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Martinis on "Unable to get to the "Public site" from admin screen"</title>
<link>http://omeka.org/forums/topic/unable-to-get-to-the-public-site-from-admin-screen#post-462</link>
<pubDate>Fri, 06 Jun 2008 14:22:38 +0000</pubDate>
<dc:creator>Martinis</dc:creator>
<guid isPermaLink="false">462@http://omeka.org/forums/</guid>
<description>&#60;p&#62;I mean this is the path on the HD.
&#60;/p&#62;</description>
</item>
<item>
<title>KrisKelly on "Unable to get to the "Public site" from admin screen"</title>
<link>http://omeka.org/forums/topic/unable-to-get-to-the-public-site-from-admin-screen#post-448</link>
<pubDate>Thu, 05 Jun 2008 14:48:49 +0000</pubDate>
<dc:creator>KrisKelly</dc:creator>
<guid isPermaLink="false">448@http://omeka.org/forums/</guid>
<description>&#60;p&#62;The stable-0.9 branch in SVN is actually the most up-to-date version of the software available, so if it works there, then I'd recommend that you use that as your Omeka installation.  &#60;/p&#62;
&#60;p&#62;With regards to &#34;Path on server: /omeka/archive/files/files/&#34;, what do you mean exactly?  That is a path that doesn't exist in Omeka.  Are you referring to the same problem of the admin/ URLs?  Forgive me if I am a bit confused.  Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>Martinis on "Unable to get to the "Public site" from admin screen"</title>
<link>http://omeka.org/forums/topic/unable-to-get-to-the-public-site-from-admin-screen#post-445</link>
<pubDate>Wed, 04 Jun 2008 08:36:02 +0000</pubDate>
<dc:creator>Martinis</dc:creator>
<guid isPermaLink="false">445@http://omeka.org/forums/</guid>
<description>&#60;p&#62;Yes, it is still an issue.&#60;/p&#62;
&#60;p&#62;As you suggested I used my old stable 0.9 and it works there w/o problems.&#60;/p&#62;
&#60;p&#62;The URL looks like this on newer version: &#60;a href=&#34;http://1.1.1.1/items/show/12&#34; rel=&#34;nofollow&#34;&#62;http://1.1.1.1/items/show/12&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Path on server: /omeka/archive/files/files/&#60;/p&#62;
&#60;p&#62;Martinis
&#60;/p&#62;</description>
</item>
<item>
<title>KrisKelly on "Unable to get to the "Public site" from admin screen"</title>
<link>http://omeka.org/forums/topic/unable-to-get-to-the-public-site-from-admin-screen#post-417</link>
<pubDate>Tue, 20 May 2008 20:03:42 +0000</pubDate>
<dc:creator>KrisKelly</dc:creator>
<guid isPermaLink="false">417@http://omeka.org/forums/</guid>
<description>&#60;p&#62;Hi, is this still a problem for you?  I'm having trouble duplicating this on any of my Omeka installations.  If this is still an issue for you, could you do me a favor and pull down the stable-0.9 branch from SVN and see if it is still broken?  Also, what does your URL look like when Omeka writes paths to archive/ and shared/ directories?  Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>jgreenberg on "Unable to get to the "Public site" from admin screen"</title>
<link>http://omeka.org/forums/topic/unable-to-get-to-the-public-site-from-admin-screen#post-392</link>
<pubDate>Sat, 26 Apr 2008 15:28:20 +0000</pubDate>
<dc:creator>jgreenberg</dc:creator>
<guid isPermaLink="false">392@http://omeka.org/forums/</guid>
<description>&#60;p&#62;I'm having a similar issue with a new installation of 0.9.1.1 - on the admin theme, a number of URLs are being generated to &#60;a href=&#34;http://myserver/admin/...&#34; rel=&#34;nofollow&#34;&#62;http://myserver/admin/...&#60;/a&#62; as opposed to &#60;a href=&#34;http://myserver/...&#34; rel=&#34;nofollow&#34;&#62;http://myserver/...&#60;/a&#62; (these include links to the /shared javascript libraries in the header of the admin pages, as well as to the /archive directory (which means that thumbnails, etc., aren't loading properly in the admin theme).&#60;/p&#62;
&#60;p&#62;And, of course, the public site link in the top right does the same thing.&#60;/p&#62;
&#60;p&#62;Seems like the creation of URLs is somehow going awry in the admin theme; any ideas on a fix? I remember an issue like this happening maybe a year ana a half ago with one of the proto-Omeka sites (maybe JWA?), but I don't remember what was causing it...
&#60;/p&#62;</description>
</item>
<item>
<title>Martinis on "Unable to get to the "Public site" from admin screen"</title>
<link>http://omeka.org/forums/topic/unable-to-get-to-the-public-site-from-admin-screen#post-370</link>
<pubDate>Tue, 22 Apr 2008 07:07:34 +0000</pubDate>
<dc:creator>Martinis</dc:creator>
<guid isPermaLink="false">370@http://omeka.org/forums/</guid>
<description>&#60;p&#62;Hi JeremyBoggs!&#60;/p&#62;
&#60;p&#62;The button takes me to &#60;a href=&#34;http://myserverip/admin&#34; rel=&#34;nofollow&#34;&#62;http://myserverip/admin&#60;/a&#62; instead of &#60;a href=&#34;http://myserverip&#34; rel=&#34;nofollow&#34;&#62;http://myserverip&#60;/a&#62; as it did before.
&#60;/p&#62;</description>
</item>
<item>
<title>JeremyBoggs on "Unable to get to the "Public site" from admin screen"</title>
<link>http://omeka.org/forums/topic/unable-to-get-to-the-public-site-from-admin-screen#post-367</link>
<pubDate>Sat, 19 Apr 2008 15:42:39 +0000</pubDate>
<dc:creator>JeremyBoggs</dc:creator>
<guid isPermaLink="false">367@http://omeka.org/forums/</guid>
<description>&#60;p&#62;Hi Martinis,&#60;/p&#62;
&#60;p&#62;Where does the &#34;Public Site&#34; button in the admin take you? And how does that URL compare to the correct public site URL?
&#60;/p&#62;</description>
</item>
<item>
<title>Martinis on "Unable to get to the "Public site" from admin screen"</title>
<link>http://omeka.org/forums/topic/unable-to-get-to-the-public-site-from-admin-screen#post-356</link>
<pubDate>Tue, 15 Apr 2008 12:15:37 +0000</pubDate>
<dc:creator>Martinis</dc:creator>
<guid isPermaLink="false">356@http://omeka.org/forums/</guid>
<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I don't know why because I think I didn't change anything but while in admin part of Omeka I can't get by clicking on the appropriate button to the &#34;Public site&#34;.&#60;/p&#62;
&#60;p&#62;Only when typing in the correct adress in the bar of the browser I get to the page as usual.&#60;/p&#62;
&#60;p&#62;Regards&#60;br /&#62;
Martinis
&#60;/p&#62;</description>
</item>
<item>
<title>KrisKelly on "Section names create unescaped characters"</title>
<link>http://omeka.org/forums/topic/section-names-create-unescaped-characters#post-211</link>
<pubDate>Thu, 06 Mar 2008 02:06:39 +0000</pubDate>
<dc:creator>KrisKelly</dc:creator>
<guid isPermaLink="false">211@http://omeka.org/forums/</guid>
<description>&#60;p&#62;Actually, disregard that last example, I haven't gotten the hang of using code examples on this forum yet.
&#60;/p&#62;</description>
</item>
<item>
<title>KrisKelly on "Section names create unescaped characters"</title>
<link>http://omeka.org/forums/topic/section-names-create-unescaped-characters#post-210</link>
<pubDate>Thu, 06 Mar 2008 02:05:50 +0000</pubDate>
<dc:creator>KrisKelly</dc:creator>
<guid isPermaLink="false">210@http://omeka.org/forums/</guid>
<description>&#60;p&#62;You're right, that is a bug, and thanks for catching it.  I've filed a bug report and it will be fixed in the next release.  For the moment though, I would try using curly quotes, since those won't trip up the browser when it parses the HTML.   Otherwise, you can avoid using quotes for titles of sections in the immediate future.&#60;/p&#62;
&#60;p&#62;As to allowable characters, I get that you're talking about how Omeka converts some characters to the HTML entities but leaves others intact.  When writing templates for Omeka, it's generally a good idea to enter the text rather than the HTML entities representation (e.g. use curly quotes rather than typing &#38;#8212;, &#38;#38; instead of &#38;amp; etc.).  There is a templating helper function called h() that is used throughout omeka which will take care of making sure the HTML output is valid.  In most cases this is a synonym for php's built-in &#60;a href=&#34;http://us2.php.net/htmlentities&#34;&#62;htmlentities()&#60;/a&#62; function, but it also allows you to mix HTML tags in your data entry, so in most cases you could enter the following into Omeka:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;em&#62;Cookies&#60;/em&#62; &#38;#38; Cream&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;And it would spit out:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;em&#62;Cookies&#60;/em&#62; &#38;amp; Cream&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Hope that helps.
&#60;/p&#62;</description>
</item>
<item>
<title>KerriHicks on "Section names create unescaped characters"</title>
<link>http://omeka.org/forums/topic/section-names-create-unescaped-characters#post-200</link>
<pubDate>Tue, 04 Mar 2008 19:33:18 +0000</pubDate>
<dc:creator>KerriHicks</dc:creator>
<guid isPermaLink="false">200@http://omeka.org/forums/</guid>
<description>&#60;p&#62;One of my users is working on an exhibit, and she created a section that was also the title of an article. As such, she put the section title in quotation marks.&#60;/p&#62;
&#60;p&#62;Omeka brought those quotation marks into the markup, creating an HTML link to the section that contained unescaped quotation marks. Of course, this rendered the link unusable, and no one was able to get access to that section. I'm thinking this is a bug that needs addressing.&#60;/p&#62;
&#60;p&#62;In the meantime, I could suggest that she use character entities for the quotation marks, but it looks like Omeka does, in fact, digest certain punctuation characters and rewrite them. Is there a list anywhere of allowable characters?&#60;/p&#62;
&#60;p&#62;Any advice?&#60;/p&#62;
&#60;p&#62;--Kerri
&#60;/p&#62;</description>
</item>
<item>
<title>DaveLester on "How to add link to download original"</title>
<link>http://omeka.org/forums/topic/how-to-add-link-to-download-original#post-90</link>
<pubDate>Sat, 05 Jan 2008 23:09:28 +0000</pubDate>
<dc:creator>DaveLester</dc:creator>
<guid isPermaLink="false">90@http://omeka.org/forums/</guid>
<description>&#60;p&#62;You've probably seen this called on the admin side on the items show page:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;?php echo display_files($item-&#38;gt;Files); ?&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;That displays the file and the download link.  It looks like this is what you want.  Take a look at display_files() in the application/helpers/Functions.php file to see how it works if you are looking to build something of your own.  $files can be an array, so you just have to handle that properly, and you could echo something as follows:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;echo &#38;#39;&#38;lt;a href=&#38;quot;&#38;#39;. file_download_uri($file). &#38;#39;&#38;quot; class=&#38;quot;download-file&#38;quot;&#38;gt;&#38;#39;. $file-&#38;gt;original_filename. &#38;#39;&#38;lt;/a&#38;gt;&#38;#39;&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>niceoutfit on "How to add link to download original"</title>
<link>http://omeka.org/forums/topic/how-to-add-link-to-download-original#post-85</link>
<pubDate>Thu, 03 Jan 2008 18:27:22 +0000</pubDate>
<dc:creator>niceoutfit</dc:creator>
<guid isPermaLink="false">85@http://omeka.org/forums/</guid>
<description>&#60;p&#62;I would like to provide a download link the original source file that was uploaded. Could you provide the code needed to do so.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
