Gary´s Cookbook Homepage - question about Mod_GarysCookbook and more... - Gary´s Cookbook Forum
Da die Version von Garys Cookbook für Joomla 1.0x nicht mehr gepflegt wird werden in diesm Forum nur noch allgemeine Fragen beantwortet.

question about Mod_GarysCookbook and more...

  • azumo
  • Topic Author
  • New Member
  • New Member
More
18 years 11 months ago - 18 years 11 months ago #1486 by azumo
Question 1

ok i want to add latest 5 in Mod_GarysCookbook2_0.zip i see the code is in
[code:1]#Last added
if ($Lastadded) {
$query4=\"SELECT * FROM #__garyscookbook WHERE published = '1' ORDER BY imgdate DESC LIMIT $count\";
$database->setQuery( $query4 );
$rows4 = $database->loadObjectList();
$row4=$rows4[0];
echo \"\"._garyscookbook_LAST_ADDED.\"\";
if ($row4->imgthumbname \"\"«») {
echo \"id'>imgthumbname' hspace='4' border='0'/>\";
} else {
echo \"id'>\";
}
$short_string = add_ellipsis2($row4->imgtitle,\"...\",$max_length);
echo \"id'>$short_string\";
}
[/code:1]

i want to add 4 more.

Question 2

i have a problem when i login to write a message in recipe .. see image


Question 3

how can i add one more field, [Administration] > Component > Add Recipes

add one new field called: \"Source\" i want Recipe Author too..

Question 4

i have a problem in internet explorer, with recipes labels, the text is overslapping see the image...

Last edit: 18 years 11 months ago by azumo.

Please Log in to join the conversation.

  • Gerald
  • Offline
  • Administrator
  • Administrator
  • Think Pink
More
18 years 11 months ago #1487 by Gerald
1. change $count to number you like
2. Please post the way to make the Error exakt
3. this is you big work and not easy
4. Look at sub_viewdetail.php at line 137 change Tag and to

Moderator Developer of Gary´s Cookbook

Please Log in to join the conversation.

  • azumo
  • Topic Author
  • New Member
  • New Member
More
18 years 11 months ago #1488 by azumo
2. the problem occurs when i login to post a comment.

Recipe Author: www.verybestbaking.com
Rating: No votes
Notice: Undefined variable: page in /home/content/w/s/s/wsshelton1/html/components/com_garyscookbook/sub_viewdetails.php on line 341

Notice: Undefined variable: page in /home/content/w/s/s/wsshelton1/html/components/com_garyscookbook/sub_viewdetails.php on line 389

Notice: Undefined variable: page in /home/content/w/s/s/wsshelton1/html/components/com_garyscookbook/sub_viewdetails.php on line 415

1. i want $count but with latest numbers

Please Log in to join the conversation.

  • Gerald
  • Offline
  • Administrator
  • Administrator
  • Think Pink
More
18 years 11 months ago #1489 by Gerald
Please insert a line in sub_viewdetails.php at line 172
[code:1]$page=0;[/code:1] and test again.

Moderator Developer of Gary´s Cookbook

Please Log in to join the conversation.

  • Gerald
  • Offline
  • Administrator
  • Administrator
  • Think Pink
More
18 years 11 months ago #1490 by Gerald
if you want the last Numbers you added change
[code:1]$query4=\"SELECT * FROM #__garyscookbook WHERE published = '1' ORDER BY imgdate DESC LIMIT $count\";[/code:1]
to
[code:1]$query4=\"SELECT * FROM #__garyscookbook WHERE published = '1' ORDER BY id DESC LIMIT $count\";[/code:1]

Moderator Developer of Gary´s Cookbook

Please Log in to join the conversation.

  • azumo
  • Topic Author
  • New Member
  • New Member
More
18 years 11 months ago - 18 years 11 months ago #1491 by azumo
ngredients:

Notice: Undefined variable: page in /home/content/w/s/s/wsshelton1/html/components/com_garyscookbook/sub_viewdetails.php on line 389




Preparation:

Notice: Undefined variable: page in /home/content/w/s/s/wsshelton1/html/components/com_garyscookbook/sub_viewdetails.php on line 415



Notes:

Notice: Undefined variable: page in /home/content/w/s/s/wsshelton1/html/components/com_garyscookbook/sub_viewdetails.php on line 441




Recipe Author Comment

i dont know is the problem cuz i added some codes


like this one:
[code:1] echo \"\";[/code:1]

in line 185

i cant show my code :S

any way is a code to open a popup in new window with new link



gary. help me please
Last edit: 18 years 11 months ago by azumo.

Please Log in to join the conversation.

Time to create page: 0.112 seconds