Welcome, Guest
Username Password: Remember me

How to remove teacher info from list page
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: How to remove teacher info from list page

How to remove teacher info from list page 01 Oct 2009 23:30 #1091

  • Jon
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
The default template has "Ids of teachers on list page" set to 1. I had to dig around the code to work out how to turn this bit off all together - leaving the field blank!

Can I suggest having two parameter the same as you do for list_intro, intro_show; ie listteachers and listteachers_show? With a "Show/hide teacher info on list page" -> Hide/Show.

This would harmonise better with the boolean hide/show settings for all the other visual parameters.

Thanks,
Jon

Re:How to remove teacher info from list page 02 Oct 2009 08:14 #1095

  • Tom
  • OFFLINE
  • Administrator
  • Posts: 860
OK. That's done.

Rename the file default.txt to default.php and put in /components/com_biblestudy/views/studieslist/tmpl/default.php.

Put the other file in administrator/components/com_biblestudy/models/templateedit.xml

I may have to put the second file in another post

Tom

Attachment default.txt not found

Attachments:
"You shall know the truth and the truth shall set you free." JC

Re:How to remove teacher info from list page 02 Oct 2009 08:14 #1096

  • Tom
  • OFFLINE
  • Administrator
  • Posts: 860
Here is the second file. rename to templateedit.xml

File Attachment:

File Name: templateedit.txt
File Size: 123774
"You shall know the truth and the truth shall set you free." JC
Last Edit: 02 Oct 2009 08:16 by Tom.
  • Page:
  • 1
Time to create page: 0.86 seconds