News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Template is broken when editing BT address in VM 2.0.22b

Started by escapezone, August 29, 2013, 12:37:25 PM

Previous topic - Next topic

escapezone

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

if($closeDelimiter) { ?>

    </table>

</fieldset>


Replace with

if($closeDelimiter) { ?>

   
</fieldset>




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


Milbo

Please try instead

if($closeDelimiter) { ?>
</table>
</fieldset>
<?php
} else {
?>

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

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

escapezone

Hello Milbo,

Thank you very much for your reply!

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

then i tried this code :

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

I replaced the edit_address_userfields.php with the one from 2.0.20b...

differences show on image...

[attachment cleanup by admin]