-
AuthorPosts
-
thomaskremer Friend
thomaskremer
- Join date:
- April 2008
- Posts:
- 17
- Downloads:
- 19
- Uploads:
- 6
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
July 17, 2011 at 11:05 pm #166392Hello,
It took me 5 hours to find out, but the JA social plugin is messing up the multiple template management for my site.
I have JA Edenite, JA Travel and JA Events installed and assigned to different menu items. Everything works fine, untill I enable the JA social plugin: menu-items won’t show up with their assigned template anymore, but they show the default template.
You can have a look on my site.Can you give me a bugfix?
Thanks!
Thomashimangi Friendhimangi
- Join date:
- April 2011
- Posts:
- 1406
- Downloads:
- 1
- Uploads:
- 86
- Thanks:
- 21
- Thanked:
- 345 times in 332 posts
July 19, 2011 at 12:08 pm #401873Hi Thomas,
I published the Ja social system plugin on your site and checked all the menu items named ‘nieuws’ from the menus at the top but could not see what exactly you are seeing. Can you please give me a link to a page you see messed up after publishing the plugin?
another thing is the plugin version you are using is 1.0.2 and the latest available version is 1.0.3. Please upgrade the plugin and check if you see the site messed up. You can download the new plugin from http://www.joomlart.com/forums/downloads.php?do=cat&id=20395thomaskremer Friendthomaskremer
- Join date:
- April 2008
- Posts:
- 17
- Downloads:
- 19
- Uploads:
- 6
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
July 19, 2011 at 12:48 pm #401877Hello Himangi,
The exact problem is to find when you go to http://gm.stjan.org/jac-home. Without JA Social, the template is Edenite (as configured). With JA Social enabled, it shows JA Travel, which is the default template.
Updating the plugin didn’t fix the problem. Too bad, because I chose JA Travel especially because of these social bookmarks.
Could you find a solution?
Thanks!
Thomasthomaskremer Friendthomaskremer
- Join date:
- April 2008
- Posts:
- 17
- Downloads:
- 19
- Uploads:
- 6
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
July 20, 2011 at 7:16 am #402013Received a message that you would close the ticket. I’m still hoping for a solution!
Thomashimangi Friendhimangi
- Join date:
- April 2011
- Posts:
- 1406
- Downloads:
- 1
- Uploads:
- 86
- Thanks:
- 21
- Thanked:
- 345 times in 332 posts
July 20, 2011 at 8:22 am #402036Hi Thomas,
I am sorry I think the message about ticket getting closed was generated automatically..
I am talking with other JA team members regarding your problem. Please wait till we find anything more about it.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
August 2, 2011 at 1:43 am #404078Hi thomaskremer
Sorry for late replied. It took me a long time for find this issue. Now I found it, you open file plugins/system/jat3/jat3/core/ajax.php
Add this block code
// Remove style mappings for menu items this style is NOT assigned to.
// If unassigned then all existing maps will be removed.
$query = $db->getQuery(true);
$query->update('#__menu');
$query->set('template_style_id=0');
if ($pages) {
$query->where('id NOT IN ('.implode(',', $pages).')');
}$query->where('template_style_id='.(int) $styleid);
$query->where('checked_out in (0,'.(int) $user->id.')');
$db->setQuery($query);
$db->query();
after block code
// Refresh page assignment
if ($pages) {
JArrayHelper::toInteger($pages);// Update the mapping for menu items that this style IS assigned to.
$query = $db->getQuery(true);
$query->update('#__menu');
$query->set('template_style_id='.(int)$styleid);
$query->where('id IN ('.implode(',', $pages).')');
$query->where('template_style_id != '.(int) $styleid);
$query->where('checked_out in (0,'.(int) $user->id.')');
$db->setQuery($query);
$db->query();
}
in saveData functionSave it, and remove all page assignment & re-assign them.
Note: This bug will be fixed in next version. However, you should notice this when upgrade JA T3 plugin
thomaskremer Friendthomaskremer
- Join date:
- April 2008
- Posts:
- 17
- Downloads:
- 19
- Uploads:
- 6
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
August 2, 2011 at 7:49 am #404128Thanks for your reply.
Sorry to say, but I can’t make it work. Same bug remains…
Could you have a look?
Thanks!
Thomasthomaskremer Friendthomaskremer
- Join date:
- April 2008
- Posts:
- 17
- Downloads:
- 19
- Uploads:
- 6
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
August 2, 2011 at 9:57 am #404145Maybe this could help to solve this issue: as all works fine without Joomla Core SEF enabled, it seems to be a problem with the Itemid, which is not integrated in the SEF url.
Is there a way to solve this?
Thanks!
Thomaschavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
August 3, 2011 at 4:40 am #404262Hi Thomas
Could you show me what menu if I click it, it must be change template? I don’t see this menu in your configuration.
How do you know there is a problem with the Itemid? Could you show me about that by screenshot?
thomaskremer Friendthomaskremer
- Join date:
- April 2008
- Posts:
- 17
- Downloads:
- 19
- Uploads:
- 6
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
August 3, 2011 at 8:55 pm #404407Hello,
the Itemid thing was just a thought because of the SEF settings: with SEF off it works, with SEF on it doesn’t work. But maybe that hasn’t anything to do with the Itemid.Please find the bug while clicking http://gm.stjan.org/jac-home (in attachment you’ll find a screenshot to the Menu item).
– Now http://gm.stjan.org/jac-home should be in JA Edenite, but it isn’t.
– When I unpublish the module with JA Social, it will show in JA Edenite as configured.But I still like to use JA Social and have several JA Templates.
Maybe there is a way to have a live chat on this issue, so that I can explain better? It takes quite a while, waiting for the answer the next day (I’m in France now, I guess I sleep when you work and v.v.).Thanks!
Thomas
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
August 4, 2011 at 2:50 am #404417Hi Thomas
In my experience, if Itemid is not exists or wrong, the item of mainmenu is not active & change color.
JaSocial plugin is only used in j1.6, so I will try to fix it. You will be received feedback when I finish fixing it.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
August 15, 2011 at 2:28 am #406261Hi Thomas
I found solution for you. You could follow below steps to fix it
1. Open file plugins/system/jasocial/jasocial.php
2. Comment the code line
$this->stylesheet ($this->plugin);
in construction function (plgSystemJASocial)
3. Create new function name onAfterDispath:
function onAfterDispath()
{
$this->stylesheet ($this->plugin);
}
Save and surf your website.
1 user says Thank You to chavan for this useful post
thomaskremer Friendthomaskremer
- Join date:
- April 2008
- Posts:
- 17
- Downloads:
- 19
- Uploads:
- 6
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
August 16, 2011 at 6:54 pm #406580Thanks, it’s fixed. Everything fine now!
Thomas
AuthorPostsViewing 13 posts - 1 through 13 (of 13 total)This topic contains 13 replies, has 3 voices, and was last updated by thomaskremer 13 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Template conflict with JA social
Viewing 13 posts - 1 through 13 (of 13 total)