Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • railer Friend
    #138165

    Hi Joomlart,

    I’m having a problem with getting JomSocial to work with the JA Vauxite template. I haven’t nailed the cause down conclusively, but according to the JomSocial people, several template developers do this:

    “There’s actually an issue with some templates as they only checked for the ‘view’ in the query string instead of checking the ‘option’ as well. Thus, causing the page to not load.”

    Does this apply to the JA Vauxite template? The reason I ask is because the person who was having this same problem was using your JA Erica template.

    I’m definitely getting a blank page in the content area, where the JomSocial component should be displaying. Btw, I’m using Joomla! 1.5.9.

    Please let me know how I can fix this? Thanks in advance for your help.

    Sincerely,
    railer

    railer Friend
    #291631

    Well, I checked the URL and it looks like the query has option in it, correct?:

    http://www.mydomain.com/index.php?option=com_community&view=frontpage&Itemid=88

    So the other possible cause for the missing frontpage issue that is being discussed is the conflicting use of “frontpage” in both the JA Vauxite template and in the JomSocial frontpage.

    Please advise on how best to solve this.

    Thanks,
    railer

    railer Friend
    #291651

    Okay, well, I’ve found a solution at the JomSocial support forum (member only) that fixes this problem.
    It involves revising a file in the JA Vauxite template directory as noted below…

    “This problem happens because JA Vauxite has a function to check if it detects view=frontpage then it will not show component output. The solution is to change the function defined in ja_templatetool_1.5.php, on line 334 onwards”:

    FIND:

    Code: Select all
    function isFrontPage(){
    return (JRequest::getCmd( ‘view’ ) == ‘frontpage’) ;
    }

    CHANGE IT TO:

    Code: Select all
    function isFrontPage(){
    //return (JRequest::getCmd( ‘view’ ) == ‘frontpage’) ;
    if ( JRequest::getCmd(‘view’) == ‘frontpage’ && JRequest::getCmd(‘option’) == ‘com_content’ ) {
    return true;
    }
    }

    [Provided by syhazul at JomSocial Support Forum – Dec 28, 2008.]

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 1 voice, and was last updated by  railer 15 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum