Centre SIS

  • Increase font size
  • Default font size
  • Decrease font size

Using Centre? Please register your school in the Centre Directory.
It just takes a few minutes and puts you on the map!

FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
Re:3.0 Transcripts in 2.14.1 ? (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:3.0 Transcripts in 2.14.1 ?
#4178
lprentice (User)
Junior Boarder
Posts: 32
graphgraph
User Offline Click here to see the profile of this user
3.0 Transcripts in 2.14.1 ? 4 Months ago Karma: 0  
Is there any way to get the look of 3.0 transcripts into v. 2.14.1? 3.0 was to buggy but we would like to use the transcripts it offers.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
  Reply Quote
#4180
cdanik (User)
Gold Boarder
Posts: 255
graphgraph
User Offline Click here to see the profile of this user
Re:3.0 Transcripts in 2.14.1 ? 4 Months ago Karma: 6  
There is a lot of changes to the way grades are handled in 3.0, so there is probably a good chance that there is no "reverse compatibility." It has been a while since a version was released, so i assume that another is just around the corner. The developers are busy working out those bugs.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
  Reply Quote
#4181
maboytim (User)
Platinum Boarder
Posts: 776
graph
User Offline Click here to see the profile of this user
Re:3.0 Transcripts in 2.14.1 ? 4 Months ago Karma: 27  
2.x uses Centre's ListOutptut plus htmldoc while 3.x uses fpdf. You could modify the script from 3.x to work with 2.x but there were too many changes to expect it to 'just work'.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
  Reply Quote
#4184
lprentice (User)
Junior Boarder
Posts: 32
graphgraph
User Offline Click here to see the profile of this user
Re:3.0 Transcripts in 2.14.1 ? 3 Months, 4 Weeks ago Karma: 0  
I am in the process of modifying the "Transcript.php" in v. 2.14.

What I would like to do, but having difficulty achieving, is querying the student's address information and have it added to the the transcript output. I tried looking at how the "Mailings.php" queried address info, but that really has not helped.

If anyone could help and give help or advice I would really appreciate it.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
  Reply Quote
#4185
maboytim (User)
Platinum Boarder
Posts: 776
graph
User Offline Click here to see the profile of this user
Re:3.0 Transcripts in 2.14.1 ? 3 Months, 4 Weeks ago Karma: 27  
modules/Students/MailingLabels.php uses the mailing_labels widget. The mailing_labels widget is not a search widget like all the other widgets.

GetStuList and ListOutput are the two workhorses of Centre. The database query for GetStuList is built up from elements of the $extra array. In MailingLabels.php you'll see

$_REQUEST['mailing_labels']='Y';
Widgets('mailing_labels');

The $_REQUEST['mailing_labels']='Y'; has to do with how widgets are normally used. When Widgets is called it adds to the GetStuList query through the $extra array. See functions/Widgets.fnc.php and search for mailing_labels and this will show you how to query for addresses. It uses an outer join so students will show up in the result even if they don't have an address. The mailing_address widget also causes the function functions/MailingLabel.php to be called where it parses the components of the address to make an address label.

If you can understand how modules/Students/MailingLabels.php and the mailing_label widget work you are doing pretty good.

Matt
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
  Reply Quote
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop