- Posts: 2
COMMUNITY FORUM
Edit Item from Frontend J1.7 K2 2.5.1
- Steve Tempest
- Topic Author
- Offline
- New Member
I'm new to K2 and I'm having a small problem. Basically when I go to the front end the "edit item" button wont display correctly for rockettheme template.
If i change the template to beez_20 the the "Edit Item" button shows up correctly, but when using RT Modulous template it places the words Edit Item infront of the item title and the hyperlink is missing.
This is from beez_20:
<div class="itemHeader">
<!-- Date created -->
<span class="itemDateCreated">
Friday, 11 November 2011 03:56 </span>
<!-- Item title -->
<h2 class="itemTitle">
<!-- Item edit link -->
<span class="itemEditLink">
<a href="/index.php/component/k2/item/edit/13?tmpl=component" rel="{handler:'iframe',size:{x:990,y:550}}" class="modal">
Edit item </a>
</span>
2011 Sales Training Program and Calendar
</h2>
<!-- Item Author -->
<span class="itemAuthor">
Written by
<a href="/index.php/component/k2/itemlist/user/43-author" rel="author">Author</a>
</span>
</div>
This is from RT Modulous template:
<div class="itemHeader">
<!-- Date created -->
<span class="itemDateCreated">
Friday, 11 November 2011 03:56 </span>
<!-- Item title -->
<h2 class="itemTitle">
<!-- Item edit link -->
<span class="itemEditLink">
<a href="/index.php/component/k2/item/edit/13?tmpl=component" rel="{handler:'iframe',size:{x:990,y:550}}" class="modal">
Edit item </a>
</span>
2011 Sales Training Program and Calendar
</h2>
<!-- Item Author -->
<span class="itemAuthor">
Written by
<a href="/index.php/component/k2/itemlist/user/43-author" rel="author">Author</a>
</span>
</div>
I'm not sure what is affecting the generation of the K2 template as I thought it was separate to the Joomla template?
Any help greatly appreciated.
Please Log in or Create an account to join the conversation.
- Matt Martel
- Offline
- New Member
- Posts: 2
Please Log in or Create an account to join the conversation.
- nusilmar
- Offline
- New Member
- Posts: 6
Please Log in or Create an account to join the conversation.
- Aimé Tribolet
- Offline
- New Member
- Posts: 1
I'was using K2 2.1 and was a bit disappointed to have my dark template background messing up with the K2 modal editing template.
So I updated K2 v2.1 to v.2.5.3 and this was a lot better except for one major issue : no edit link visible !!!
All my users with Joomla and K2 editing permissions were enabled to edit in frontend. :(
A try to find out the bug but didn't found it yet.
It shoud be a css conflict though between k2.css and my template css.
I hope K2 team wil find a Fix for that issue. ;)
However, I solved my problem with these changes :
In directory com_k2\templates\default\
In files : category_item.php, user.php and item.php
Find line with : <!-- Item edit link -->
Add html code to next line with : <a></a>
Works well for me !
Please Log in or Create an account to join the conversation.
- Cecilia Rojko-Vacarescu
- Offline
- New Member
- Posts: 1
:) THANK YOU, nusilmar !!! so helpful for me too.nusilmar wrote: Had same problem here. Solved right now . It is very simple to solve. Need to go to your template settings and in the advanced Tab disable "Build Titles Spans".
Please Log in or Create an account to join the conversation.
- Toryalai Hart
- Offline
- New Member
- Posts: 9
Worked 100% on RT reflex, Joomla 1.7.
Please Log in or Create an account to join the conversation.
- Odin Mayland
- Offline
- Platinum Member
- Posts: 404
BUT
now you have lost the Title CSS styling. So if you want the following then turning it off is not the perfect solution: "Title spans enable custom CSS styling for the first word of the titles, with this setting enabled the first word of a title can be colored and styled differently to the second word and the rest of the title."
I hate to brag..... :-) because I am usually wrong LOL..... BUT here is a solution:
www.modernmagic.com/blog/joomla-blog/k2-edit-item-link-missing-on-rockettheme-gantry-templates.html
Please Log in or Create an account to join the conversation.
- itchibahn
- Offline
- New Member
- Posts: 3
nusilmar wrote: Had same problem here. Solved right now . It is very simple to solve. Need to go to your template settings and in the advanced Tab disable "Build Titles Spans".
Works like a charm...
Thanks!!!
:cheer:
.
Please Log in or Create an account to join the conversation.