SOLVED: Editing the Article Submission form - Joomla! Forum - community, help and support


hi all,

i have searched forum , come solution - seem fall short @ last hurdle. hope more insight me can me out.

i want make changes article submission form in frontend, , presenting users option of selecting category article should belong - , have sectionid set silently through hidden field.

this piece of code sets sectionid:

code: select all

<input type="hidden" name="sectionid" value="4" />


so far good.

code: select all

<?php echo $this->lists['catid']; ?>

but doesn't give me dropdown list of categories in section 4 in categories section. how can edit code pull categories specified section?

problem solved thread:
viewtopic.php?f=469&t=389567&p=1677033

to category list show up:

code: select all

<div>
            <label class="label-left" for="catid">
               <?php echo jtext::_( 'category' ); ?>:
            </label>
           
            <?php echo $this->lists['catid']; ?>
            <script>changedynalist( 'catid', sectioncategories, 1, 0, 0);</script>
         </div>


thanks grixz help!





Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO