1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html
3 xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard"> <head>
4 <meta http-equiv="Content-Type" content="text/html;
6 <meta name="generator" content="Movable Type 3.2" />
8 <link rel="stylesheet" href="http://defaria.com/blogs/General/styles-site.css"
10 <link rel="alternate" type="application/atom+xml" title="Atom"
11 href="http://defaria.com/blogs/General/atom.xml" />
12 <link rel="alternate" type="application/rss+xml" title="RSS 2.0"
13 href="http://defaria.com/blogs/General/index.xml" />
15 <title>General: Adding [home] link to Gallery</title>
17 <link rel="start" href="http://defaria.com/blogs/General/" title="Home" />
18 <link rel="prev" href="http://defaria.com/blogs/General/archives/000142.html"
20 <link rel="next" href="http://defaria.com/blogs/General/archives/000312.html"
27 <script type="text/javascript"
28 src="http://defaria.com/blogs/General/mt-site.js"></script> </head> <body
29 class="layout-two-column-right"
30 onload="individualArchivesOnLoad(commenter_name)">
32 <div id="container-inner" class="pkg">
35 <div id="banner-inner" class="pkg">
36 <h1 id="banner-header"><a href="http://defaria.com/blogs/General/"
37 accesskey="1">General</a></h1>
38 <h2 id="banner-description"></h2>
43 <div id="pagebody-inner" class="pkg">
45 <div id="alpha-inner" class="pkg">
47 <p class="content-nav">
49 href="http://defaria.com/blogs/General/archives/000142.html">«
51 <a href="http://defaria.com/blogs/General/">Main</a>
53 href="http://defaria.com/blogs/General/archives/000312.html">Recruiters
58 <div class="entry" id="entry-146">
59 <h3 class="entry-header">Adding [home] link to Gallery</h3>
60 <div class="entry-content">
61 <div class="entry-body">
62 <p>Ron Van Scherpe pointed me to <a href="http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=10945&highlight=breadcrumb&sid=bb3e0d3e2a05657f625c346df7b404cb">how to add a [home] link to gallery</a>. I think they call these <i>bread crumbs</i> probalby because they leave a trail of bread crumbs as in the old <i>Hansel and Grettle</i> story. Basically one needs to add:</p>
65 /* home breadcrumb start */
66 if (strcmp($pAlbum->fields["returnto"], "no")) {
67 $breadtext[$breadCount] ="<a href=\"/\">[Home]</a>";
70 /* home breadcrumb end */
73 <p>to view_album.php in your Gallery directory approximately at:</p>
76 } while ($pAlbumName);
78 //-- we built the array backwards, so reverse it now ---
81 <p>This added a link to all albums however the main page lacks the link. Then I found <a href="http://www.eclecticpixels.com/tutorials/gallerytips/index.php">this</a> and decided to go that way. It took a little bit of time to realize I could include my site-functions.php and use my copyright function for the footer. Still don't like the bland Home link at the top but will work on this later.</p>
83 <div id="more" class="entry-more">
87 <p class="entry-footer">
88 <span class="post-footers">Posted by
90 February 27, 2004 11:43 PM</span> <span
91 class="separator">|</span> <a
93 href="http://defaria.com/blogs/General/archives/000146.html">Permalink</a>
103 <div id="beta-inner" class="pkg">
104 <div class="module-search module">
105 <h2 class="module-header">Search</h2>
106 <div class="module-content">
108 action="http://defaria.com/mt/mt-search.cgi">
109 <input type="hidden" name="IncludeBlogs"
111 <label for="search" accesskey="4">Search
112 this blog:</label><br />
113 <input id="search" name="search"
115 <input type="submit" value="Search" />
122 <div class="module-archives module">
123 <h2 class="module-header"><a
124 href="http://defaria.com/blogs/General/archives.html">Archives</a></h2>
125 <div class="module-content">
128 <li class="module-list-item"><a
129 href="http://defaria.com/blogs/General/archives/2011_03.html">March 2011</a></li>
132 <li class="module-list-item"><a
133 href="http://defaria.com/blogs/General/archives/2010_11.html">November 2010</a></li>
136 <li class="module-list-item"><a
137 href="http://defaria.com/blogs/General/archives/2010_10.html">October 2010</a></li>
140 <li class="module-list-item"><a
141 href="http://defaria.com/blogs/General/archives/2010_06.html">June 2010</a></li>
144 <li class="module-list-item"><a
145 href="http://defaria.com/blogs/General/archives/2010_04.html">April 2010</a></li>
148 <li class="module-list-item"><a
149 href="http://defaria.com/blogs/General/archives/2010_03.html">March 2010</a></li>
152 <li class="module-list-item"><a
153 href="http://defaria.com/blogs/General/archives/2010_02.html">February 2010</a></li>
156 <li class="module-list-item"><a
157 href="http://defaria.com/blogs/General/archives/2009_05.html">May 2009</a></li>
160 <li class="module-list-item"><a
161 href="http://defaria.com/blogs/General/archives/2009_04.html">April 2009</a></li>
164 <li class="module-list-item"><a
165 href="http://defaria.com/blogs/General/archives/2009_01.html">January 2009</a></li>
168 <li class="module-list-item"><a
169 href="http://defaria.com/blogs/General/archives/2007_04.html">April 2007</a></li>
172 <li class="module-list-item"><a
173 href="http://defaria.com/blogs/General/archives/2006_11.html">November 2006</a></li>
176 <li class="module-list-item"><a
177 href="http://defaria.com/blogs/General/archives/2006_09.html">September 2006</a></li>
180 <li class="module-list-item"><a
181 href="http://defaria.com/blogs/General/archives/2005_12.html">December 2005</a></li>
184 <li class="module-list-item"><a
185 href="http://defaria.com/blogs/General/archives/2005_10.html">October 2005</a></li>
188 <li class="module-list-item"><a
189 href="http://defaria.com/blogs/General/archives/2005_09.html">September 2005</a></li>
192 <li class="module-list-item"><a
193 href="http://defaria.com/blogs/General/archives/2005_08.html">August 2005</a></li>
196 <li class="module-list-item"><a
197 href="http://defaria.com/blogs/General/archives/2005_03.html">March 2005</a></li>
200 <li class="module-list-item"><a
201 href="http://defaria.com/blogs/General/archives/2004_02.html">February 2004</a></li>
204 <li class="module-list-item"><a
205 href="http://defaria.com/blogs/General/archives/2004_01.html">January 2004</a></li>
208 <li class="module-list-item"><a
209 href="http://defaria.com/blogs/General/archives/2003_11.html">November 2003</a></li>
212 <li class="module-list-item"><a
213 href="http://defaria.com/blogs/General/archives/2003_10.html">October 2003</a></li>
220 <div class="module-archives module">
221 <h2 class="module-header">Recent Posts</h2>
222 <div class="module-content">
223 <ul class="module-list">
224 <li class="module-list-item"><a
225 href="http://defaria.com/blogs/General/archives/000746.html">California</a></li>
226 <li class="module-list-item"><a
227 href="http://defaria.com/blogs/General/archives/000745.html">Point people more directly</a></li>
228 <li class="module-list-item"><a
229 href="http://defaria.com/blogs/General/archives/000744.html">Comcast speed</a></li>
230 <li class="module-list-item"><a
231 href="http://defaria.com/blogs/General/archives/000739.html">More Playon Fun</a></li>
232 <li class="module-list-item"><a
233 href="http://defaria.com/blogs/General/archives/000736.html">How not to run a company</a></li>
234 <li class="module-list-item"><a
235 href="http://defaria.com/blogs/General/archives/000734.html">How to get your mic working on Ubuntu 9.10</a></li>
236 <li class="module-list-item"><a
237 href="http://defaria.com/blogs/General/archives/000729.html">Cell phones - Not up to snuff!</a></li>
238 <li class="module-list-item"><a
239 href="http://defaria.com/blogs/General/archives/000728.html">Stupid is as stupid does</a></li>
240 <li class="module-list-item"><a
241 href="http://defaria.com/blogs/General/archives/000723.html">Priority Queues...</a></li>
242 <li class="module-list-item"><a
243 href="http://defaria.com/blogs/General/archives/000722.html">Broken DNS</a></li>
249 <div class="module-syndicate module">
250 <div class="module-content">
251 <a href="http://defaria.com/blogs/General/atom.xml">Subscribe
252 to this blog's feed</a><br />
254 href="http://www.sixapart.com/about/feeds">What
261 <div class="module-powered module">
262 <div class="module-content">
264 href="http://www.sixapart.com/movabletype/">Movable