OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



css problem on TOC?

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

css problem on TOC?

Postby jason » Sun Dec 12, 2004 4:10 am

On our main page where we have our table of contents (http://www.theharrow.com/journal/index.php) it seems as if the text is being cut off... Where I'm expecting "HTML | PDF", I only see "HTML |" The same occurs in viewissue.php, but I'm sure I've seen it correct elsewhere.
jason
 

Postby kevin » Tue Dec 14, 2004 6:15 pm

Thanks for finding this -- it is a bug when using "publish by year" mode. You can fix the problem by making a one line change to viewissue.php:

Code: Select all
--- viewissue.php       12 Jul 2004 09:02:35 -0000      1.153
+++ viewissue.php       15 Dec 2004 01:12:46 -0000
@@ -98,7 +98,7 @@
                }
 
                // Get the articles being published
-               $articlequery = $db->query("SELECT nArticleID, fkIssueID, tblarticles.chMetaTitle AS articletitle, tblsections.chTitle AS sectiontitle, fkSectionID, bContentsNumber, bContentsLinkPage, dtDateHTMLGalleyCreated, dtDatePDFGalleyCreated, dtDatePostScriptGalleyCreated, fkPublishStatusID FROM tblarticles, tblsections WHERE nSectionID = fkSectionID AND bPublished = 1 AND DATE_FORMAT(dtDatePublished, '%Y') = '$id' ORDER BY nOrder");
+               $articlequery = $db->query("SELECT nArticleID, fkIssueID, tblarticles.chMetaTitle AS articletitle, tblsections.chTitle AS sectiontitle, fkSectionID, bContentsNumber, bContentsLinkPage, dtDateHTMLGalleyCreated, dtDatePDFGalleyCreated, dtDatePostScriptGalleyCreated, fkFilePDFID, fkFilePostScriptID, fkPublishStatusID FROM tblarticles, tblsections WHERE nSectionID = fkSectionID AND bPublished = 1 AND DATE_FORMAT(dtDatePublished, '%Y') = '$id' ORDER BY nOrder");
           
                // Get the sections for this issue (for the Table of Contents)
                $sectionquery = $db->query("select distinct nSectionID, tblsections.chTitle as sectiontitle from tblsections, tblarticles where nSectionID = fkSectionID and bPublished = 1 order by nRank");
kevin
 
Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm

Postby jasonnolan » Thu Dec 23, 2004 2:03 pm

Thanks. I'll try that.
jasonnolan
 
Posts: 34
Joined: Sun Dec 12, 2004 2:59 am


Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: Google [Bot] and 2 guests