Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Add Text Boxes to Curve theme for Uploads  (Read 5206 times)

0 Members and 1 Guest are viewing this topic.

thecoilist

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Add Text Boxes to Curve theme for Uploads
« 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
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Add Text Boxes to Curve theme for Uploads
« Reply #1 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?
Logged

thecoilist

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Add Text Boxes to Curve theme for Uploads
« Reply #2 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Add Text Boxes to Curve theme for Uploads
« Reply #3 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>
Logged

thecoilist

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Add Text Boxes to Curve theme for Uploads
« Reply #4 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
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.