$rows2=$db->loadResult(); $rows2 = explode("\"", $rows2); for ($index=3; $index<count($rows2); $index+=8){ echo $rows2[$index] . "<br>"; } The following works!!!
is there a ready made function of K2 or php function or i have to use classic php functions like split, explode, implode etc???
I use the following comman: $db = &JFactory::getDBO() ; $query = "SELECT value FROM #__k2_extra_fields "; $query.= "WHERE name = 'City'"; $db->setQuery($query); $rows2=$db->loadResult(); and i get this:...
Why you need to save data on fulltext? I try to find a way but i can't.
Thanks, :)
i have four columns of items and two rows and i want after the four items if i click their title the introtext to appear at the bottom in full width (100%) and not in 25%. is it possible?
i think you must have first fill in the introtext and then fulltext. Try put bith values and let me know if it works. INSERT INTO `#__k2_items`(title,introtext,fulltext,created_by)VALUES('{$title}',',"intro",".$content."',62)";
Extra fields are field that you can use to put additional information to an article. They have types like date, link, text combo box for easy completion by the creator of the article. For example: if you want your authors when they submit...
i just add the plugin code. It's not my code but i will use it to make a little different plugin if its possible. Also i will publish the code with the the name of the original owner of the plugin and the new plugin will be also free. I...
I want to overwrite the plugin so instead of selecting an item to be shown in an itemlist or in item. I want to show a whole category. i can easily change linkitem.php line 86 from: $query .= " AND i.id={$id}"; to $query .= " AND...
More