Author Topic: Template is broken when editing BT address in VM 2.0.22b  (Read 2514 times)

escapezone

  • Beginner
  • *
  • Posts: 24
Template is broken when editing BT address in VM 2.0.22b
« on: August 29, 2013, 12:37:25 pm »
Hello!

My Template is broken when editing BT address ( edit_address_userfields.php ) so i tried to find a solution


  • Joomla 2.5.14
  • Virtuemart 2.0.22b
  • Commercial template

solution that i used

components/com_virtuemart/views/user/tmpl/edit_address_userfields.php


Line 35-37

Find code

Code: [Select]
if($closeDelimiter) { ?>

    </table>

</fieldset>

Replace with

Code: [Select]
if($closeDelimiter) { ?>

   
</fieldset>



I don't know if this is right but it seems to work on my site.


Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10018
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Template is broken when editing BT address in VM 2.0.22b
« Reply #1 on: August 30, 2013, 13:12:19 pm »
Please try instead
Code: [Select]
if($closeDelimiter) { ?>
</table>
</fieldset>
<?php
} else {
?>

<fieldset>
<span class="userfields_info"><?php echo $field['title'?></span>

<?php
$closeDelimiter true;
$openTable true;
}
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

escapezone

  • Beginner
  • *
  • Posts: 24
Re: Template is broken when editing BT address in VM 2.0.22b
« Reply #2 on: August 31, 2013, 00:51:49 am »
Hello Milbo,

Thank you very much for your reply!

I tried your code but it didn't work...

then i tried this code :

Code: [Select]
if($closeDelimiter) { ?>
<table>
</fieldset>
<?php
} else {
?>

<fieldset>
           
<span class="userfields_info"><?php echo $field['title'?></span>

<?php
$closeDelimiter true;
$openTable true;
}

I think the problem is the </table>

When i used your code i had the same problem but when i replaced the </table> with <table> the problem dissapeared...

rudders360

  • Beginner
  • *
  • Posts: 14
Re: Template is broken when editing BT address in VM 2.0.22b
« Reply #3 on: September 03, 2013, 21:34:51 pm »
I replaced the edit_address_userfields.php with the one from 2.0.20b...

differences show on image...

[attachment cleanup by admin]