forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: thecoilist on March 20, 2013, 04:51:23 pm

Title: Add Text Boxes to Curve theme for Uploads
Post by: thecoilist on March 20, 2013, 04:51:23 pm
Maybe I over looked it, but the closest thing I could find was changing text in the language file which is NOT what I want to do. I am looking for a way to add a TEXT BOX on the uploads page with a quick run down of the rules and size limitations. Checked the documentation and couldn't find anything about this customization.

I would like a box next to the upload queue box.

http://www.thecoilist.com/copper/upload.php
user: coppermine
pw: goldrush
Title: Re: Add Text Boxes to Curve theme for Uploads
Post by: Αndré on March 20, 2013, 07:39:32 pm
Do you need it for the flash uploader, the simple upload form or both? Where exactly should it be displayed?
Title: Re: Add Text Boxes to Curve theme for Uploads
Post by: thecoilist on March 21, 2013, 12:39:51 am
Well, maybe the term text box is not correct. It's not necessarily a box where people can write text. I used "text box" from my experience with cubecart and other commerce php scripts. Text box referring to an area where I can write text for users to read. Say like an announcement, notice, or update. I have tried editing several php files and I am getting syntax errors each time I attempt.

Attached is a screenshot of where I want to place the text.
Title: Re: Add Text Boxes to Curve theme for Uploads
Post by: Αndré on March 21, 2013, 10:29:04 am
Open upload.php, find
Code: [Select]
                <div class="fieldset flash" id="upload_progress">
                    <span class="legend">{$lang_upload_swf_php['upload_queue']}</span>
                </div>
and replace with
Code: [Select]
                <div class="fieldset flash" id="upload_progress" style="float:left;">
                    <span class="legend">{$lang_upload_swf_php['upload_queue']}</span>
                </div>
                <div style="float:left;">Your text here</div>
Title: Re: Add Text Boxes to Curve theme for Uploads
Post by: thecoilist on March 21, 2013, 04:07:37 pm
That worked for the most part. After some tweaking I think it will be perfection. Thanks! It was the styling I was missing! Doh  :o