[SOLVED]Profile link

More
07 Jan 2013 21:51 - 08 Jan 2013 09:45 #548 by Stonedfury
I have the link to author profile turned off and it is still showing along with the dead profile title.
So you get Written by (ProfileLinked) Profile

I traced the code to this part I think in the item.php
<span class="itemAuthor">
 
			<?php echo K2HelperUtilities::writtenBy($this->item->author->profile->gender); ?>&nbsp;
 
			<a href="{GOOGLE_PLUS_AUTHOR:<?php echo $this->item->created_by?>}"><?php echo $this->item->author->name; ?></a>
 
			<?php if(empty($this->item->created_by_alias)): ?>
 
			<a rel="author" href="<?php echo $this->item->author->link; ?>"> (Profile) </a>
 
			<?php else: ?>
 
			<?php echo $this->item->author->name; ?>
 
			<?php endif; ?>
Is there a fix or should I just comment out the link? Then I get stuck with; What if I later want that linked?
Last edit: 08 Jan 2013 09:45 by admin.

Please Log in or Create an account to join the conversation.

More
07 Jan 2013 22:36 #549 by Stonedfury
Replied by Stonedfury on topic [SOLVED]Profile link
Ok I took it out manually in the item.php and category_item.php
<?php echo K2HelperUtilities::writtenBy($this->item->author->profile->gender); ?>
 
			<!-- <a href="{GOOGLE_PLUS_AUTHOR:<?php echo $this->item->created_by?>}"><?php echo $this->item->author->name; ?></a>-->
            <?php echo $this->item->author->name; ?>
<!-- 
			<?php if(isset($this->item->author->link) && $this->item->author->link): ?>
 
			<a rel="author" href="<?php echo $this->item->author->link; ?>"> (Profile) </a> -->
 
			<?php else: ?>

Please Log in or Create an account to join the conversation.

More
08 Jan 2013 09:43 #553 by admin
Replied by admin on topic [SOLVED]Profile link
well, seems you figured out on yourself how to customize the template...
can I flag this as solved?

Please Log in or Create an account to join the conversation.

More
08 Jan 2013 17:44 #556 by Stonedfury
Replied by Stonedfury on topic [SOLVED]Profile link
Sure thing.

Please Log in or Create an account to join the conversation.

Time to create page: 0.428 seconds