How would I add something like this to browse.php,
Found Total: # Displaying: # - #
Any Ideas.....?
Regards,
Blake
How would I add something like this to browse.php,
Found Total: # Displaying: # - #
Any Ideas.....?
Regards,
Blake
You can't, unless you hack it.
But you can do this in search.php
Where would i start, i really want to add this to my browse.php page, i'll back it up for future reference....
Regards,
Blake
Here is a direction:
1. You must count the query result, add this line in browse.php line 160
2. Prepare template assignment line 213-214PHP Code:$res = $conn->Execute($links_obj->query);
if($res) $num_links = $res->RecordCount();
3. Add to template files. Put <%num_links%> variable to any place you desire in browse.htmlglobal $num_links;
DisplayTemplate($theme_path."browse.html","\$categ ory_path,\$category_path_search_opt,\$category,".
"\$header,\$footer,\$num_rows,\$pagination,\$cat,\ $link,\$content,\$start_number,\$ma,\$editor,\$fea tured_link,\$num_links");
great, thanks alot.... is it possible to also put:
Displaying # - #
Regards,
Blake
Last edited by BlakeB; 06-11-2003 at 09:14 PM.