2021-10-18, 10:59 PM
(2021-10-18, 06:13 PM)meetdilip Wrote: [ -> ]The blur, đ
Was experimenting. It was originally all white but I felt like it would be cooler if each user's card was personalized. Really liked how that turned out
(2021-10-18, 06:13 PM)meetdilip Wrote: [ -> ]The blur, đ
(2021-10-18, 11:03 PM)Laird Wrote: [ -> ]Waleed, I am very worried for you. After all, most folk adopt a theme to be unique, but since your theme is so excellent, *everybody* is going to be adopting it, and nobody will be unique anymore. I hope that you have a strategy to deal with this terrible situation.
eval()
method.(2021-10-18, 11:43 PM)Laird Wrote: [ -> ]@Waleed B., in addition to my Discord response: I don't have an estimate for the official move over to 1.9, but the main restriction, the rebase, has been overcome.
You are right, though: current themes will not be compatible with 1.9, which uses Twig, whereas 1.8 uses aneval()
method.
However, we will support 1.8 for some time after 1.9 drops, so most of us plugin/theme developers are going to be supporting both for a while regardless.
But yes, if you were concerned about future-proofing only, you would want to defer your efforts until 1.9.
(2021-10-19, 03:34 AM)Waleed B. Wrote: [ -> ]So will working in Twig allow us to do if statements?
(2021-10-19, 03:34 AM)Waleed B. Wrote: [ -> ]That'll let me get a lot more creative.
(2021-10-19, 03:34 AM)Waleed B. Wrote: [ -> ]Updated first post with a screen shot of the registration page.
(2021-10-19, 03:34 AM)Waleed B. Wrote: [ -> ]Hopefully it won't be too much trouble bringing this over and making adjustments to the template.
eval()
method and the 1.9 Twig method. The 1.8 method uses ordinary PHP variable syntax, e.g. {$variable}
, whereas Twig uses the {{ variable }}
syntax, and additionally requires $variable to be passed to Twig's render function.(2021-10-19, 04:03 AM)Laird Wrote: [ -> ]I should add though that there is a difference in the way variables are interpreted between the 1.8eval()
method and the 1.9 Twig method. The 1.8 method uses ordinary PHP variable syntax, e.g.{$variable}
, whereas Twig uses the{{ variable }}
syntax, and additionally requires $variable to be passed to Twig's render function.