Keyword

Move title next to image?

  • johnselekta
  • johnselekta's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 11 months ago #87701 by johnselekta
Replied by johnselekta on topic Move title next to image?
Hi Larry

I've zipped my entire com_k2 folder for you (the override one). If you drop this into the html folder of your template (unzipped first) it should achieve what you're after.

One word of warning though I'm on 2.2 I think, not updated yet - so if you would rather just take the 1 php file thats been tweaked (category_item.php), just replicate the other files first.

Cheers,

John
Attachments:

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

More
13 years 11 months ago #87702 by Shawn Marshall
Replied by Shawn Marshall on topic Move title next to image?
This didn't work for me but I still thank you for the help. I was looking for a layout like alphacontent like the image below but items listed in category view on my homepage still shows the title above the img tag in the introtext.



K2 still showed it as

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

  • johnselekta
  • johnselekta's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 11 months ago #87703 by johnselekta
Replied by johnselekta on topic Move title next to image?
This should have worked, I probably neglected the CSS tweaks too.

Here's what my version looks like:




I'll find the CSS too mate and get back to you.

Thanks

John

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

  • johnselekta
  • johnselekta's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 11 months ago #87704 by johnselekta
Replied by johnselekta on topic Move title next to image?
John Selekta said:This should have worked, maybe you have the wrong type of menu item set up.
Here's what my version looks like:




The image is floated left by default, I don't see any CSS tweaks in my code. Its set up as a menu item like this - K2 » Itemlist / Category


Hope this helps,

John

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

More
13 years 11 months ago #87705 by Shawn Marshall
Replied by Shawn Marshall on topic Move title next to image?
Ok I won't give up. My menu is like this



Do I place your file in components/com_k2/templates/default/?

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

  • johnselekta
  • johnselekta's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 11 months ago #87706 by johnselekta
Replied by johnselekta on topic Move title next to image?
Hi Larry no, you need to make a new folder called com_k2 and place it in:

YOURSITE.com/templates/YOURTEMPLATE/html/

You can just upload my extracted ZIP to that location - it should rearrange just fine then. Its an override rather than a core hack if you catch my drift. Your menu item is set up perfectly.

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

  • johnselekta
  • johnselekta's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 11 months ago #87707 by johnselekta
Replied by johnselekta on topic Move title next to image?
John Selekta said:Hi Larry no, you need to make a new folder called com_k2 and place it in:
YOURSITE.com/templates/YOURTEMPLATE/html/


The folder you referenced is where you copy the stuff from, to activate the override. Then you work in your /templates/html/com_k2 folder. You can leave components/com_k2 alone completely so it should stick when K2 gets updated with any luck!

Simple way is just upload my extracted ZIP to templates/yourtemplate/html/(com_k2) - it should work just fine then. Its an override rather than a core hack if you catch my drift which means all work happens in your template folder. Your menu item is set up perfectly.

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

More
13 years 11 months ago #87708 by Shawn Marshall
Replied by Shawn Marshall on topic Move title next to image?
Placed the folder in /mysite.com/templates/mytemplate/html/ so now it has
/mysite.com/templates/mytemplate/html/com_k2/default/ but I still get this on the front page



I will try some other things

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

  • johnselekta
  • johnselekta's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 11 months ago #87709 by johnselekta
Replied by johnselekta on topic Move title next to image?
Try floating your image left, that may fix things.

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

More
13 years 11 months ago #87710 by Belén M.
Replied by Belén M. on topic Move title next to image?
Hi, did you manage to solve this? I've got the same problem and can't find a solution. Thanks

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


Powered by Kunena Forum