Re: Link Manager 3.0 release

Originally Posted by
clydejones
I also noticed that you eliminated the "categories" dropdown on the link submit page.
Want to share how you did this?
For now I only wanted one category, but think some day I'll add more. I commented out the code in the side box. Then on the submit page I left the categories array in tack so it would still function, but comment out the html drop down box.
<?php /*
<label class="inputLabel" for="links_category"><?php echo ENTRY_LINKS_CATEGORY; ?></label>
<?php echo zen_draw_pull_down_menu('links_category', $categories_array, $default_category) . ' ' . (zen_not_null(ENTRY_LINKS_CATEGORY_TEXT) ? '<span class="alert">' . ENTRY_LINKS_CATEGORY_TEXT . '</span>': '');?>
<br class="clearBoth" />*/ ?>
I didn't want to remove it, just not use it at this time. I think if I had more time I would have used a if statement and added a control on the admin side. Wrapping it in php tag just made it easier to comment out.
Dave
Always forward thinking... Lost my mind!
Bookmarks