You are not logged in.
I use the excellent rss_unlimited_categories plugin, and was wondering how I would go about removing the two obsolete ‘Category x’ labels and drop-downs from the Write tab.
Also, I couldn’t figure out how to enlarge the multiple select categories box that the plugin adds. Help on this would be very much appreciated also.
That would have to be done by the modifying the plugin rss_unlimited_categories or by creating an additional plugin. I’m privately using a plugin that does this, so it is definitely possible.
To enlarge the selectbox, go to the plugins tab, edit the plugin and look for the number ‘5’ somewhere near the words ‘select’ and ‘option’. That’s what sets the selectbox size. You can change that and press save.
Last edited by ruud (2006-10-04 13:22:48)
var side = document.getElementById(‘articleside’);
var sels = side.getElementsByTagName(‘select’);
sels0.parentNode.style.display = ‘none’;
sels1.style.display = ‘none’;
var labels = side.getElementsByTagName(‘label’);
labels1.style.display = ‘none’;
var spans = side.getElementsByTagName(‘span’);
spans1.style.display = ‘none’;
Last edited by ruud (2006-10-04 16:52:15)
That removed ‘Category 1’, and its combo, but left Category 2. I added this code to remove the second combo.
<code>document.getElementById(‘category-2’).style.display = ‘none’;</code>
<p>The text ‘Category 2’ still remains, and I can’t figure out how to remove it. Still much better though – thanks a lot.</p>
updated the code above for 4.0.4 (not tested)
I tried that initially, but for some reason it removed both category 2 and the unlimited categories select. Also, I didn’t realise this before, the code works for writing a new article, but backfires when editing an existing one.
I appreciate your help very much still :¬)
Hmm, so apparently the rss_unlimited select is in the same paragraph tag as the category2 select. Last attempt. See above. Instead of hiding the second paragraph completely, just hide the label, span and select. That should leave what’s left in that paragraph, which is the rss_unlimited select.