Menu

Request

Jason Lund
2015-07-31
2015-08-03
  • Jason Lund

    Jason Lund - 2015-07-31

    I'm trying to get something to work and can't seem to get your module and this other component to work together. I'm trying to build a new school system page and have the same Joomla server for all the schools and departments. I would like to have each school be their own domain and am using the component Virtual Domain to acomplish this. The problem is is that the system doesn't like it when I declare single article menu items to be the homepages of these domains.

    At the same time, we would like the schools to have listings of their categories such as latest news listed. We would like to add the ability of having articles taged for the school to show up in that list as well. The idea behind it is that if the tech department writes an article on replacement costs for the 1to1 program, they can tag the article 'hs' and 'ms' to show up on the taged homepages as well as the tech dept's.

    The question is, is there another way of pciking up the tag other than the article or a way to modify the code to have a specific tag declared to look for as opposed to having it relate to the current article?

     
  • Jason Lund

    Jason Lund - 2015-08-03

    So, I found this error in the apache log.

    [:error] [pid 8454] [client ] PHP Fatal error: [] operator not supported for strings in /Joomla_3/modules/mod_fj_related_plus/helper.php on line 425

    Took a look around and it looks like people have had this error before. It has something to do with categories being introduced somehow. I have set the page with the article to the same category as the other school articles so the category will match. I have also tagged the page with the school tag. If I turn on 'Match on Category', it doesn't match any articles that are in the same category. As soon as I add the category to 'Select Category', the page goes blank.

     
  • Jason Lund

    Jason Lund - 2015-08-03

    I tracked down the line in the code on line 425 and removed the []. The original code was:

    $row->match_list[] = $row->category_title;

    I changed it to:

    $row->match_list = $row->category_title;

    This allowed the added category to be added.

     

Log in to post a comment.