Questions tagged [joomla-k2]

K2 is a Content Extension for Joomla! that provides more features than the standard content component.

222 questions
0
votes
3 answers

SQL regex and field

I want to change the query to return multiply values in extra_fields, how can I change the regex? Also I don't understand what extra_fields is - is it a field? If so why it is not called with the table prefix like i.extra_fields? SELECT i.*, …
shai
  • 45
  • 7
0
votes
2 answers

How to sent parametres to url? get method for PHP?

how can I send PHP parametres, get method like .php?id=xx I am using K2 items with Joomla. Currently I am printing out all results fetched from database using PHP. When user clicks on one of the results it should send him to different page and that…
arleitiss
  • 107
  • 2
  • 13
0
votes
0 answers

Issue with Joomla k2 userblog

My k2 user blog is not showing any content(ItemList). When I checked the query and removed the AND i.created_by_alias='' in DB , it is showing contents in phpmyadmin. But what is the real issue and how to fix it
Happy Coder
  • 4,255
  • 13
  • 75
  • 152
0
votes
1 answer

Joomla K2 Blog (Content Module) not linking to article, stays at home

This is probably a bug or a lack of understanding on my part on SEF. The site is: new.bloquelifestyle.com To reproduce my problem click on "read more" or the title of the article, and as you can see you will go to (for example)…
Alain Bruno
  • 137
  • 1
  • 9
0
votes
2 answers

preg_replace specific word followed by random number

I'd like to replace a specific word followed by random number followed by specific symbol. I figured the correct php function would be preg_replace but I have no idea how to proceed. what I have is a string that contains a joomla non-sef url which…
0
votes
1 answer

Joomla K2 - Get article link (SEF) by ID

How can I retrieve the SEF link of an article by its ID? I think about a thing like this: $link = get_link(34); // where 34 is the article ID Article link UPDATE My code is this (updated with Rikesh code): Mysql…
Fred K
  • 13,249
  • 14
  • 78
  • 103
0
votes
1 answer

Joomla K2 - List extra field from all articles in a category

I've many articles in a K2 category called "houses". Each article has an extra field called "address" and I need to show in a page this extra field for each article. Something like this (a là Wordpress): $houses =…
Fred K
  • 13,249
  • 14
  • 78
  • 103
0
votes
1 answer

show item/article list in category tree in joomla k2 module or component

its posibble to get view like this (with module or component) in joomla k2? parent category 1 child category 1.1 item 1.1.1 item 1.1.2 item 1.1.3 child category 1.2 item 1.2.1 item 1.2.2 item 1.2.3 child category 1.3 item 1.3.1 item…
0
votes
1 answer

Joomla menu and K2 categories. How do I

I am using Joomla 2.5 as CMS for my website, and I am using K2 for categories and articles/items. I was wondering if i have list of 50 - K2 categories. It has 5 main categories and 10 sub categories for each. How can I either manually or…
arleitiss
  • 107
  • 2
  • 13
0
votes
0 answers

K2 Joomla: show the last modified article in home page

I think this should be easy but cannot make it work ... I'm using k2 on Joomla for handling articles and i want to show on the home page the last modified blog post ... i've create a Home category under which i've put some subcategories, bound to…
Cris
  • 12,124
  • 27
  • 92
  • 159
0
votes
1 answer

Using Joomla 3 now submenu are shown

I'm new here and sorry for my english but I'm italian. I'm using Joomla 3, Protostar template and K2 component. In my mainmenu, I've some submenus with more levels, but it shows only the first level. I checked the module and I see that it's set to…
MagenNew
  • 21
  • 4
0
votes
0 answers

How to query a menu table params value in Joomla?

First of all I'm using the K2 component and my Menu Item Type is set to categories (itemlist). Now I have the K2Filter search module which I using to search by categories. But when it displays the category searched, it doesn't change the Itemid. So…
Alex7011
  • 87
  • 9
0
votes
1 answer

Joomla YJK2Slider Fx issue

I've bought an extension to Joomla! from YouJoomla and since their supportforum is the worst thing ever created by man, I thought I would ask you guys instead. The main issue I have is an Fx problem, or possibly an javascript conflict. Im trying to…
0
votes
2 answers

K2 extra fields access in BT Content slider

I'm trying to access the contents of a K2 extra field inside the BT content slider plugin. If I do print_r($row->extra_fields); I get [{"id":"16","value":"http:\/\/www.youblisher.com\/p\/611670-Test-Intro-to-R\/"}] I need to access the value,…
Victoria Ruiz
  • 4,913
  • 3
  • 23
  • 40
0
votes
1 answer

Echo Joomla K2 Item Title in Main Template Using PHP

I'm trying to simply echo the title of the current k2 item I'm viewing, but the echo will not occur within the K2 template, it should show in my MAIN site template. I tried this: title; ?> But that displays the FULL site title…
schug2102
  • 21
  • 3