Keyword

Edit Item from Frontend J1.7 K2 2.5.1

  • Steve Tempest
  • Steve Tempest's Avatar Topic Author
  • Offline
  • New Member
More
12 years 10 months ago #59169 by Steve Tempest
Edit Item from Frontend J1.7 K2 2.5.1 was created by Steve Tempest
Hi,

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&nbsp;
						<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&nbsp;
						<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.

More
12 years 10 months ago #59170 by Matt Martel
Replied by Matt Martel on topic Re: Edit Item from Frontend J1.7 K2 2.5.1
Please help me with this if you found a solution. I am running RT Enigma wit K2 2.5.1 and there is no Edit item link or button showing for the front end. Where can I find the files to fix this problem. Did you get your problem resolved? It is very similar to mine. The RT template is overriding something in K2.

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

More
12 years 10 months ago #59171 by nusilmar
Replied by nusilmar on topic Re: Edit Item from Frontend J1.7 K2 2.5.1
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.

More
12 years 10 months ago - 12 years 10 months ago #59172 by Aimé Tribolet
Replied by Aimé Tribolet on topic Re: Edit Item from Frontend J1.7 K2 2.5.1
I'm using RT Quantive template for my J1.5 website.
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
  • Cecilia Rojko-Vacarescu's Avatar
  • Offline
  • New Member
More
12 years 9 months ago #59173 by Cecilia Rojko-Vacarescu
Replied by Cecilia Rojko-Vacarescu on topic Re: Edit Item from Frontend J1.7 K2 2.5.1

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".

:) THANK YOU, nusilmar !!! so helpful for me too.

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

More
12 years 6 months ago #59174 by Toryalai Hart
Replied by Toryalai Hart on topic Re: Edit Item from Frontend J1.7 K2 2.5.1
Thanks indeed Nusilmar for your solution.
Worked 100% on RT reflex, Joomla 1.7.

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

More
12 years 6 months ago - 12 years 6 months ago #59175 by Odin Mayland
Replied by Odin Mayland on topic Re: Edit Item from Frontend J1.7 K2 2.5.1
Yes that works so that you can now see the "Edit Item" link

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.

More
12 years 2 months ago #59176 by itchibahn
Replied by itchibahn on topic Re: Edit Item from Frontend J1.7 K2 2.5.1

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.


Powered by Kunena Forum