I am intergrating jomsocial and K2 ( because it is great for bloging) with the help of a few plugins everything looks good so far. My last block is a menu link from the member ( jomsocial ) to the user page in k2. Jomsocial already provides for a direct link into myblog, I would just like to tap into that and redirect to k2
<?php if($showBlogLink): ?> <li class="btn-blog"> <a href="<?php echo JRoute::_('index.php?option=com_myblog&blogger=' . $user->getDisplayName() . '&Itemid=' . $blogItemId ); ?>"> <span><?php echo JText::_('CC BLOG'); ?></span> </a> </li> <?php endif; ?>
this is the existing code, how can I change that ? I am not much of a coder ( clearly)
Thanks
<?php if($showBlogLink): ?> <li class="btn-blog"> <a href="<?php echo JRoute::_('index.php?option=com_myblog&blogger=' . $user->getDisplayName() . '&Itemid=' . $blogItemId ); ?>"> <span><?php echo JText::_('CC BLOG'); ?></span> </a> </li> <?php endif; ?>
this is the existing code, how can I change that ? I am not much of a coder ( clearly)
Thanks