Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
File path truncated..using <browser>
navbar
Hi,
I am using <browser> element in my templates. There is a problem regarding this.
When I browse to some file using the browser window and select the file, the path of that files is truncated in the form browser field.
For example:
If the path of the file is:
/includes/misc/italy/images/maialino_rosa.jpg
then it gets truncated to
s/misc/italy/images/maialino_rosa.jpg when I browse to this files and select it.
Has anybody of you ever faced problem like this?
Thanks,
Nav.
Find more posts tagged with
Comments
Nidhi_Agrawal
Are u using maxlength attribute with <browser> tag?If yes then increase the value which u have specified in maxlength attribute.
If not then pls attach your code.
Nidhi...
navbar
Hi,
I am not using the maxlength attribute. I am only using the size attribute of browser tag, and it's value is 77. But this problem is happening even if I increase the the value of size. One more thing, if I create a new form then it works just fine. The problem starts to appear once I save the form and then open it again for edting.
Many Thanks,
Navneet.
Nidhi_Agrawal
Is it displaying the truncated value on tpl or only on dct??
Pls attach ur code for reference.
Nidhi
navbar
The path is truncated from the starting of the string and it reflects in the form. And when the files is published, there also it is in truncated form.
Following is the code for browser:
<browser size="77" extns=".shtml,.html" initial-dir="/" required="t" maxlength="100" />
Navneet.
jkm
I noted one thing in your browser item that you are allowing shtml and html extns and trying to insert jpg files. Can you write something
<browser size="77" extns=".shtml,.html,.jpg,.bmp" initial-dir="/" required="t" maxlength="100" />
or
<browser required="t" initial-dir="/" extns=".gif,.jpg,.jpeg,.bmp,.png,.tif,.tiff"/>
and then try to browse your file.
You will get more appropriate answers if you attach your DCT here.
cheers!!
-Rocky