-
Gary´s Cookbook Forum
-
Gary´s Cookbook
-
Gary´s Cookbook 3.0.X for Joomla 1.5.X
-
Beautiful URL vith recipe
Beautiful URL vith recipe
-
misisnik
-
Topic Author
-
Visitor
-
-
Rali
-
-
Visitor
-
-
misisnik
-
Topic Author
-
Visitor
-
-
Rali
-
-
Visitor
-
11 years 4 months ago #4085
by Rali
Hi,
You have a very nice sites
Can you tell me how have you done the field
Mohlo by Vám také chutnat...
after every recipe? I have try to do something like this but I had no luck with it.
Regards,
Rali
Please Log in or Create an account to join the conversation.
-
misisnik
-
Topic Author
-
Visitor
-
11 years 4 months ago #4086
by misisnik
Tahnk you...
$catt="$rows2->catid"; //cat id ...
$db =& JFactory::getDBO();
$query="SELECT id , catid , imgtitle , imgvotesum , imgvotes , imgfilename FROM #__garyscookbook WHERE catid=$catt ORDER BY RAND() LIMIT 10";
$db->setQuery($query);
$nov=$db->loadObjectList();
echo "<p class='miss'>";
foreach($nov as $nov){
$odkaz="<a href='?option=com_garyscookbook&Itemid=$nov->catid&func=detail&id=$nov->id'>";
$obr="$odkaz$nov->imgtitle</a>";
echo "<span class='textchut'>$obr, </soan>";
}
echo "</p>";
Here is code ...
Code from : components/com_garyscokbook/views/detail.php
You must try...
--miisnik--
Please Log in or Create an account to join the conversation.
-
Rali
-
-
Visitor
-
11 years 4 months ago #4087
by Rali
Where must I place this code that you have given me?
Thanks,
Rali
Please Log in or Create an account to join the conversation.
-
Gary´s Cookbook Forum
-
Gary´s Cookbook
-
Gary´s Cookbook 3.0.X for Joomla 1.5.X
-
Beautiful URL vith recipe
Time to create page: 0.043 seconds