-
AuthorPosts
-
Robin Friend
Robin
- Join date:
- March 2014
- Posts:
- 201
- Downloads:
- 3
- Uploads:
- 26
- Thanks:
- 49
- Thanked:
- 4 times in 1 posts
July 4, 2014 at 3:33 pm #199415Hello,
I’m editing articles in K2 and the format is wonky. I want the title to show up before the date and for it not to be on the same line or in the center.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
July 5, 2014 at 2:32 am #541217I don’t see what you are viewing in the screenshot. may be you could post the exact url where you see this issue.
Here is the image what i see
Robin FriendRobin
- Join date:
- March 2014
- Posts:
- 201
- Downloads:
- 3
- Uploads:
- 26
- Thanks:
- 49
- Thanked:
- 4 times in 1 posts
July 5, 2014 at 2:29 pm #541244Hi there,
Here it is http://harambeetoday.org/index.php/component/k2/item/1556-sample-item-13
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
July 6, 2014 at 3:04 am #541260you have changed your admin user details, can you please send me the correct one in PM.
Robin FriendRobin
- Join date:
- March 2014
- Posts:
- 201
- Downloads:
- 3
- Uploads:
- 26
- Thanks:
- 49
- Thanked:
- 4 times in 1 posts
July 6, 2014 at 6:46 pm #541290can you kindly send me instructions on how to do it myself?
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
July 7, 2014 at 2:19 am #541314I just need to check the site and so I can let you know where is the fix . so you can do it yourself.
Robin FriendRobin
- Join date:
- March 2014
- Posts:
- 201
- Downloads:
- 3
- Uploads:
- 26
- Thanks:
- 49
- Thanked:
- 4 times in 1 posts
July 8, 2014 at 1:50 am #541456Great, thank you. I just sent the info to you via PM.
Robin FriendRobin
- Join date:
- March 2014
- Posts:
- 201
- Downloads:
- 3
- Uploads:
- 26
- Thanks:
- 49
- Thanked:
- 4 times in 1 posts
July 10, 2014 at 4:58 am #541808Hello.
Is there any update on this issue?
Robin FriendRobin
- Join date:
- March 2014
- Posts:
- 201
- Downloads:
- 3
- Uploads:
- 26
- Thanks:
- 49
- Thanked:
- 4 times in 1 posts
July 13, 2014 at 1:50 am #542112Hello,
I really need to get this issue fix. There seems to be a lot of issue with the K2 extension. Can we escalate this please?
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
July 13, 2014 at 4:48 am #542117check your site, I have fixed the issue
http://harambeetoday.org/index.php/component/k2/item/1556-sample-item-13
I have made changes in components/com_k2/tempaltes/default/item.php
Robin FriendRobin
- Join date:
- March 2014
- Posts:
- 201
- Downloads:
- 3
- Uploads:
- 26
- Thanks:
- 49
- Thanked:
- 4 times in 1 posts
July 13, 2014 at 1:10 pm #542140Thanks for making the changes. Can you tell me what you did exactly? I want to make the changes on the staging server and not the live one.
Robin FriendRobin
- Join date:
- March 2014
- Posts:
- 201
- Downloads:
- 3
- Uploads:
- 26
- Thanks:
- 49
- Thanked:
- 4 times in 1 posts
July 15, 2014 at 12:59 pm #542422Hello there. Can you provide instructions for fixing this issue?
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
July 15, 2014 at 1:36 pm #542424IN this components/com_k2/templates/default/item.php
I swaped 2 Sections of the code.
I have Replaced this code
[PHP]<?php if($this->item->params->get(‘itemDateCreated’)): ?>
<!– Date created –>
<span class=”itemDateCreated”>
<?php echo JHTML::_(‘date’, $this->item->created , JText::_(‘K2_DATE_FORMAT_LC2’)); ?>
</span>
<?php endif; ?>
<?php if($this->item->params->get(‘itemAuthor’)): ?>
<!– Item Author –>
<span class=”itemAuthor”>
<?php echo ‘ ‘.K2HelperUtilities::writtenBy($this->item->author->profile->gender); ?>
<?php if(empty($this->item->created_by_alias)): ?>
<a rel=”author” href=”<?php echo $this->item->author->link; ?>”><?php echo $this->item->author->name; ?></a>
<?php else: ?>
<?php echo $this->item->author->name; ?>
<?php endif; ?>
</span>
<?php endif; ?></div>
<?php if($this->item->params->get(‘itemTitle’)): ?>
<!– Item title –>
<h2 class=”itemTitle”>
<?php if(isset($this->item->editLink)): ?>
<!– Item edit link –>
<span class=”itemEditLink”>
<a class=”modal” rel=”{handler:’iframe’,size:{x:990,y:550}}” href=”<?php echo $this->item->editLink; ?>”>
<?php echo JText::_(‘K2_EDIT_ITEM’); ?>
</a>
</span>
<?php endif; ?><?php echo $this->item->title; ?>
<?php if($this->item->params->get(‘itemFeaturedNotice’) && $this->item->featured): ?>
<!– Featured flag –>
<span>
<sup>
<?php echo JText::_(‘K2_FEATURED’); ?>
</sup>
</span>
<?php endif; ?></h2>
<?php endif; ?>[/PHP]
with
[PHP] <?php if($this->item->params->get(‘itemTitle’)): ?>
<!– Item title –>
<h2 class=”itemTitle”>
<?php if(isset($this->item->editLink)): ?>
<!– Item edit link –>
<span class=”itemEditLink”>
<a class=”modal” rel=”{handler:’iframe’,size:{x:990,y:550}}” href=”<?php echo $this->item->editLink; ?>”>
<?php echo JText::_(‘K2_EDIT_ITEM’); ?>
</a>
</span>
<?php endif; ?><?php echo $this->item->title; ?>
<?php if($this->item->params->get(‘itemFeaturedNotice’) && $this->item->featured): ?>
<!– Featured flag –>
<span>
<sup>
<?php echo JText::_(‘K2_FEATURED’); ?>
</sup>
</span>
<?php endif; ?></h2>
<?php endif; ?>
<?php if($this->item->params->get(‘itemDateCreated’)): ?>
<!– Date created –>
<span class=”itemDateCreated”>
<?php echo JHTML::_(‘date’, $this->item->created , JText::_(‘K2_DATE_FORMAT_LC2’)); ?>
</span>
<?php endif; ?>
<?php if($this->item->params->get(‘itemAuthor’)): ?>
<!– Item Author –>
<span class=”itemAuthor”>
<?php echo ‘ ‘.K2HelperUtilities::writtenBy($this->item->author->profile->gender); ?>
<?php if(empty($this->item->created_by_alias)): ?>
<a rel=”author” href=”<?php echo $this->item->author->link; ?>”><?php echo $this->item->author->name; ?></a>
<?php else: ?>
<?php echo $this->item->author->name; ?>
<?php endif; ?>
</span>
<?php endif; ?></div>[/PHP]
Robin FriendRobin
- Join date:
- March 2014
- Posts:
- 201
- Downloads:
- 3
- Uploads:
- 26
- Thanks:
- 49
- Thanked:
- 4 times in 1 posts
July 15, 2014 at 2:08 pm #542429Hello. I don’t see any change in the code. I even copied the file from the live site and it didn’t work.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
July 16, 2014 at 1:41 am #542491Please provide me the details where to change i will do this change for you.
AuthorPostsThis topic contains 32 replies, has 2 voices, and was last updated by chavan 10 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum