Welcome, Guest
Username Password: Remember me

Consistent display tables
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Consistent display tables

Consistent display tables 24 Jan 2010 02:06 #1703

  • Eric
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Love this component - thanks for all the hard work! It's enabling our church to save a heap of time.

I've been working through the CSS to get the tables to render consistently - specifically sudieslist and seriesdetail. As it turns out, seriesdetail is without a header row, which is generated in studieslist this way:

 
<?php
 
 
 
$headerCall = JView::loadHelper('header');
 
$header = getHeader($this->items[0], $params, $this->admin_params, $this->template, $showheader = $params->get('use_headers_list'), $ismodule=0);
 
echo $header;
 
?>
 


Unfortunately, in my limited ability with PHP, it's not as simple as adding these lines to the same place in seriesdetail, which I've found here:

/components/com_biblestudy/views/seriesdetail/tmpl/default.php

I'd love for all of these views to have consistent rendering options - probably something you're already working on!

www.northlakecc.us/teaching (studieslist)
www.northlakecc.us/teaching/select-a-series/unshackled (seriesdetail)

Thanks!

Re:Consistent display tables 25 Jan 2010 14:41 #1711

  • Tom
  • OFFLINE
  • Administrator
  • Posts: 860
Hi Eric,

Glad you like the component

The series detail header information is contained in the box like the picture, teacher, title, short description, etc. Then the actual studies is presented below - are you thinking that the studieslist would have a similar header like the other studies list view?

FYI - version 6.2 will have the ability to let you create you own html template code for each of the views - though I don't think you could make a header for the studieslist - I'll have to check on that.

But if a studielist type of header is what you are looking for in the seriesdetail list of studies - we might be able to do that.

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

Re:Consistent display tables 25 Jan 2010 16:39 #1713

  • Eric
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Hi Tom,

Essentially, I'd like the seriesdetail table to look just like the studieslist table. Less the filters, of course.

Thanks! Eric

Re:Consistent display tables 26 Jan 2010 07:54 #1714

  • Tom
  • OFFLINE
  • Administrator
  • Posts: 860
Understood. I'll put it in as a feature request. Not sure if we can do it due the complicated nature of how the studieslist is built and we are moving away from pre-done templates in favor of user created templates - so perhaps that can be one of those. Our plan is to have templates that users create and submit which can be installable to the component. But that's for version 7.x

Tom
"You shall know the truth and the truth shall set you free." JC
  • Page:
  • 1
Time to create page: 0.72 seconds