Phoca and link on CB profile
Posted: 15 Mar 2013, 14:28
Hi Jan!
I tried set link on Community Builder profile from gallery categories. ex. "JhonDow Gallery - Autumn" and JhonDow - link on profile.
I use that construction in default_catimgdetail.php
But on site with SEF link looks site.com/component/comprofiler/userprofile/jhondow.html but i want route /component/comprofiler/ in menu item name like site.com/my-profile/userprofile/jhondow.html
You know which way to look?
I tried set link on Community Builder profile from gallery categories. ex. "JhonDow Gallery - Autumn" and JhonDow - link on profile.
I use that construction in default_catimgdetail.php
Code: Select all
$authorCBlink = JRoute::_( 'index.php?option=com_comprofiler&task=userProfile&user=' .$this->categories[$i]->username, true);
.' <h2>'. JText::_('COM_PHOCAGALLERY_GALLERY') .' <a href="' . $authorCBlink . '" >'.$this->categories[$i]->username. '</a> - <a href="'.$this->categories[$i]->link.'" >'.$this->categories[$i]->title_self.'</a></h2> ';You know which way to look?