Results 1 to 6 of 6
  1. #1
    Casual Pligger aahna's Avatar
    Joined
    May 2010
    Posts
    64
    Thanks
    Received:0
    Given: 0

    How to resize description box in submit setp 2?

    Hi,

    I want some changes in submit new story step 2, please help me to fix these things.

    1.) My Description box is very big i want to make my description box small.



    2.) I have kept maximum story length 150 characters only but here i can enter more then 1000 characters, i want my description box like Digg.com, users are unable to type more then 150 characters in Digg.com, i want same like this in my description box so users can't type more then 150 characters in description box.



    3. I want to hide these URL's text on submit step 2, Image URL, Story URL and URL Title.



    Please help me on the above topics...

    Thanks!

  2. #2
    Casual Pligger aahna's Avatar
    Joined
    May 2010
    Posts
    64
    Thanks
    Received:0
    Given: 0
    Hello,

    Someone please help me

  3. #3
    Senior Member/Coder/Designer cmstheme's Avatar
    Joined
    Jan 2007
    Location
    Philippines
    Posts
    732
    Thanks
    Received:15
    Given: 1
    Site
    http://www.oxythemes.com
    Quote Originally Posted by aahna View Post
    1.) My Description box is very big i want to make my description box small.
    Open wistie/css/style.css and find:
    Code:
    #bodytext {width:550px;height:450px;}
    then change the height value to a smaller number, i.e. 100px;

    You may also take a look at submit_step_2.tpl, find:
    Code:
    <textarea name="bodytext" class="bodytext" rows="40" cols="80"
    and lower the value of rows




    Quote Originally Posted by aahna View Post
    2.) I have kept maximum story length 150 characters only but here i can enter more then 1000 characters, i want my description box like Digg.com, users are unable to type more then 150 characters in Digg.com, i want same like this in my description box so users can't type more then 150 characters in description box.
    You can do this in JavaScript, something like this: http://javascript.internet.com/forms...-textarea.html or these: http://www.google.com/search?hl=tl&q=limit+textarea




    Quote Originally Posted by aahna View Post
    3. I want to hide these URL's text on submit step 2, Image URL, Story URL and URL Title.
    On your submit_step_2.tpl, find and delete:
    PHP Code:
        {if $Submit_Show_URL_Input eq 1}
            <
    h2>{#PLIGG_Visual_Submit2_Source#}</h2>
                
    <label>{#PLIGG_Visual_Submit2_NewsURL#}: </label>
                
    <a href="{$submit_url}" class="simple">{$submit_url}</a><br /><br/>
                {if 
    $submit_url_title neq "1"}
                    <
    label>{#PLIGG_Visual_Submit2_URLTitle#}: </label>{$submit_url_title}
                
    {/if}
            </
    fieldset>
        {/if} 
    But for the Image URL, you need to modify the Upload mod templates.

  4. #4
    Casual Pligger aahna's Avatar
    Joined
    May 2010
    Posts
    64
    Thanks
    Received:0
    Given: 0
    Thank you so much for your help,

    Everything is right i fixed everything on my site, i just want to know where to add that JavaScript???

  5. #5
    Casual Pligger aahna's Avatar
    Joined
    May 2010
    Posts
    64
    Thanks
    Received:0
    Given: 0
    Hello,

    Please help me on the 2nd question

  6. #6
    New Pligger needoor's Avatar
    Joined
    Nov 2011
    Posts
    23
    Thanks
    Received:0
    Given: 0
    plz some1 answer this question too

    Thanx

Similar Threads

  1. Submit preview description displaying <br> tags.
    By evanstewy in forum Questions & Comments
    Replies: 3
    Last Post: 10-02-2011, 12:57 PM
  2. How to remove description and tags from submit page
    By gmoney2750 in forum Questions & Comments
    Replies: 1
    Last Post: 08-08-2011, 07:05 PM
  3. how can i add an additional description field in submit 2
    By raghhav in forum Questions & Comments
    Replies: 0
    Last Post: 02-23-2010, 09:06 PM
  4. Can you submit a story without a description?
    By qwik3r in forum Questions & Comments
    Replies: 0
    Last Post: 12-18-2007, 09:47 AM
  5. Window resize help...
    By toopie in forum Questions & Comments
    Replies: 2
    Last Post: 07-20-2006, 07:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg