[Archon-L] Template/Theme assistance - search results
Kyle Fox
kylefox2 at uiuc.edu
Fri Jun 27 13:26:01 MDT 2008
Is your theme still loading the archon.js javascript file? Make sure
you have either the bellow code in your header or you are directly
referencing the file in script tags. The script also depends upon
prototype in Archon 2.10, although this dependency will be loosened in
future versions in favor of jQuery.
On that note, those writing themes should not have to worry about
conflicts with archon.js if they do not include jquery.js for at least
the release of Archon 2.20, although you may want to consider for the
next upgrade after that.
<?php echo($_ARCHON->getJavascriptTags('archon')); ?>
On Fri, Jun 27, 2008 at 2:06 PM, David Malone
<David.B.Malone at wheaton.edu> wrote:
> Hello all,
>
> Well its another Friday and I have an Archon question. Can anyone be of some assistance? I have created a template using code from several different implementations of Archon and I have somehow caused a problem that I can't isolate/diagnose. I've been mainly editing the header file, but have tweaked the footer file as well.
>
> I have not tweaked anything in the API, so I'm sure its something that I deleted or broke with something else. Mainly what I'm looking for is some advice on where to start. I've tried to compare my file with the original, but with the amount of tweakage we're talking apples and oranges.
>
> When Archon conducts a search it recognizes that there are hits, but it doesn't list them or give the "expandable" list. A sample response is found below.
>
> Searching for Creator: Ellul, Jacques
> Records and Manuscripts (0 Matches)
>
> 1 Hit! Click the links to show each category's results.
>
>
> What is interesting is that from the code below, results are being found, but not shown with the expandable listing.
>
> **************
>
> Searching for Creator: Ellul, Jacques<a href="?p=admin/creators/creators&id=15&archon=aa4559a8518a00457734556c76b7d497" target="_blank"><img src="themes/sc2/images/edit.gif" title="Edit This" alt="edit icon" border="0"></a><br><br>
>
> <div style="margin-bottom: 1em;"><span id="CollectionTitle">Records and Manuscripts</span> (<span id="CollectionCount">0</span> Matches)<br>
> <div id="CollectionResults" style="display: none;"><br>
>
> <div style="margin-bottom: -0.7em;">Wheaton College Special Collections<a href="?p=admin/collections/classification&id=2&parentid=0&archon=aa4559a8518a00457734556c76b7d497" target="_blank"><img src="themes/sc2/images/edit.gif" title="Edit This" alt="edit icon" border="0"></a></div>
>
> <dl class="CollectionClassEnabledResults">
> <dd> <a href="?p=collections/controlcard&id=389&archon=aa4559a8518a00457734556c76b7d497"> Jacques Ellul Papers, 1936-1992</a><a href="?p=admin&go=%3Fp%3Dadmin%2Fcollections%2Fcollections%26f%3Dcollectiondetails%26id%3D389&archon=aa4559a8518a00457734556c76b7d497" target="_blank"><img src="themes/sc2/images/edit.gif" title="Edit This" alt="edit icon" border="0"></a> SC/SC-16<br>
>
> <script type="text/javascript">
> <!--
> incrementCount('Collection');
> -->
> </script>
> </dd>
> </dl>
> </div></div>
> <br><span style="font-weight: bold;">1 Hit! Click the links to show each category's results.</span>
>
> ************
>
>
>
>
> David B. Malone
> Assistant Professor
> Head of Archives & Special Collections
> Wheaton College
> 501 College Ave.
> Wheaton IL 60187-5593
> 630.752.5707
> 630.752.5987 FAX
> david.b.malone at wheaton.edu
> http://library.wheaton.edu
>
>
>
> _______________________________________________
> Archon mailing list
> Archon at archon.org
> http://archon.org/mailman/listinfo/archon_archon.org
>
--
Kyle Jordan Fox
Senior in Computer Science
Developer - Archon Simple Archival Information System
Tour Manager/Internet Officer - Varsity Men's Glee Club
-
University of Illinois at Urbana/Champaign
<kylefox2 at uiuc.edu>
More information about the Archon
mailing list