-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 yea ...
i wouln't have problems with doing that, but wouldn't that cause extreme BC-Breaks. There can be people that would like to prefere it the other way around. I would like to implement a kind of an RFC for that. Is there a way for that in the oxid community? greets max Am 17.03.2015 um 12:45 schrieb Marat Bedoev: > Sure, i faced same problem several times. feel free to make a pull > request :) > > If you need a quick workaround: > https://github.com/vanilla-thunder/vt-cmsstructure/blob/master/copy_this/modules/vt-cmsstructure/out/blocks/admin_content_list_item.tpl > > > > -----Ursprüngliche Nachricht----- Von: > [email protected] > [mailto:[email protected]] Im Auftrag von > Maximilian Berghoff Gesendet: Dienstag, 17. März 2015 12:12 An: > [email protected] Betreff: [oxid-dev-general] Better > block definition in original templates > > Hi, > > i really like the idea of blocks in the templates. The upside is, > that i don't need to copy the complete template for changes. > Template changes in the original code arn't that hard to catch, > when just extending some blocks. > > But i think there are some block definitions in the shop code that > arn't very helpfull. Example > > [{bloc="block-name"}] <td> <div> <!-- Content --></div> <div> <!-- > Content --></div> </td> [{/block}] (seen in basketcontents.tpl) > > It is impossible now to extend the <td></td> content except copying > the complete content again. > > Better approach: > > <td> [{bloc="block-name"}] > > <div> <!-- Content --></div> <div> <!-- Content --></div> > [{/block}] </td> > > Now i can just extend the block and add my content. > > What do you think? > > greets max -- > > -- Maximilian Berghoff Mayflower GmbH > Gneisenaustraße 10/11 Tel.: +49 931 359 65 1180 > D-97074 Würzburg Fax : +49 931 359 65 28 > [email protected] http://www.mayflower.de > > Mayflower GmbH: http://mayflower.de/impressum > _______________________________________________ dev-general mailing > list [email protected] > http://dir.gmane.org/gmane.comp.php.oxid.general > - -- - -- Maximilian Berghoff Mayflower GmbH Gneisenaustraße 10/11 Tel.: +49 931 359 65 1180 D-97074 Würzburg Fax : +49 931 359 65 28 [email protected] http://www.mayflower.de Mayflower GmbH: http://mayflower.de/impressum -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVCBUgAAoJEHNImtue0q8gmT4QANlnZ+Ia8v9WYzmyYpSreoE7 QBHiL+Miy6eTz8g3+1nygYI14dCNY4Bh5DCcaTqF8EVC6/xIV61+yjne67tf2xMr ZKMxUUoMHVZzICs3UiCTCRaPg/B9HLX94krolaZPguPG9jNSW261x0DR7DENqwYQ X39lGedubxVou4TJzX8ePHef2yq80AQ7BXu+0O5byzbe8JBrxuKK/PvrCejdYT27 8uRl1KziuHHnDsALcJlPPvAls6nW146ktFB/25VgMah7+LRerp2EW7xl5pX8QnHv 23iZDeXZ+KhuRGDN58JZzT4YKa62O25pz0uFL5ogPhBpzkZzRqz/eaFhKMobZnko i//rBEUSIy4YVXpmmrx0GNYO3Dxnh8IHsGZoZ4IijR6587+NkdP9HCuU8G5viceH IbZ+8uACdx8SqyOq6NlA08rewqfod9Fhhasm1oPrGjWKMf9C/yjydUhwopJ8TEn1 ETPZ/ZoUqInORrpvlIl2wUfFW6T1l9g1YaW8wSXj7aC8GzbaudlqLWzX6+NtmfKK L6E0tOxejs5qP1OkOO4PK19uA11gieo3nvB8cfWtk20Vz6DamapEWV6AaV0avngW xFJfltyyrgyNNpkyezv/oCI4LUKbGnDVVCUnHi/+z8pIKM6JRt48U/SwkT1ZV8Pa EKk97os/v7MBUHwEIHPN =CwlD -----END PGP SIGNATURE----- _______________________________________________ dev-general mailing list [email protected] http://dir.gmane.org/gmane.comp.php.oxid.general
