[SPTUsers] Disable the Full Record Title hyperlink

Edward Almasy ealmasy at scout.wisc.edu
Thu Mar 11 09:34:08 CST 2004


On Thu, Mar 11, at 08:55:16AM, Barry Wiegan wrote:
> >On Thu, Mar 11, at 03:39:10PM, Lotus Ong wrote:
> >>I would like to disable the Full Record Title hyperlink that based on
> >>the URL , but enable the hyperlink in the URL. In order word, I want to
> >>swap the hyperlink from Title to URL.
>
> Actually, the code for that is in SPT--FullRecord.php in
> PrintAllFields() in the current release (1.2.2). In this
> latest release, both Title and Url are hyperlinked in
> the Full Record display. It would be easy to disable
> the Title there (under the MDFTYPE_TEXT case) if that
> is what you prefer.

   Sorry -- I misread the question -- Barry is correct:  the code that
   creates the title link on the Full Record page is in SPT--FullRecord.php.
   In future releases it will be moved to SPT--FullRecord.html, so that it
   can be specific to each user interface and any customizations will be
   persistent, but for now you'll have to change it in PrintAllFields() in
   the .php file.  For SPT version 1.2.2, to remove the link from the Title
   field, remove the word "else" from line 188 of SPT--FullRecord.php and
   delete lines 181 through 187.

   Ed


-- 
   Edward Almasy                                     ealmasy at scout.wisc.edu
   Co-Director                                         1308 W Dayton Street
   Internet Scout Project                                  Madison WI 53706
   Computer Sciences Department                        608-262-6606 (voice)
   University of Wisconsin - Madison                     608-265-9296 (fax)


More information about the SPTUsers mailing list