-
AuthorPosts
-
railer Friend
railer
- Join date:
- October 2007
- Posts:
- 236
- Downloads:
- 102
- Uploads:
- 9
- Thanks:
- 17
- Thanked:
- 24 times in 1 posts
February 15, 2009 at 9:03 pm #138165Hi 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,
railerrailer Friendrailer
- Join date:
- October 2007
- Posts:
- 236
- Downloads:
- 102
- Uploads:
- 9
- Thanks:
- 17
- Thanked:
- 24 times in 1 posts
February 15, 2009 at 9:51 pm #291631Well, 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,
railer1 user says Thank You to railer for this useful post
railer Friendrailer
- Join date:
- October 2007
- Posts:
- 236
- Downloads:
- 102
- Uploads:
- 9
- Thanks:
- 17
- Thanked:
- 24 times in 1 posts
February 16, 2009 at 12:08 am #291651Okay, 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.]
-
AuthorPosts
This topic contains 3 replies, has 1 voice, and was last updated by railer 15 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum