Quote from: Lohengrin at Oct 28, 2005, 12:41 PM
It sure does.
However, it doesn’t seem to be the optimal solution, as one now has to create a new template for every template variable that is actually a page variable in my definition.
Seems to make it unneccessarily messy for larger site. I also believe that a template should be something that governs the design, not the content.
Is this being implemented yet?
I’m agree with the needs of having page variables, instead of just TV. TV is a great approach, which I couldn’t argue more about the benefit of it. That’s one of the reason I’m using modX, but the PV(Page Variables) is also needed in certain cases.
But after thinking about the PV, I would like to suggest a new implementation of SV (Snippet Variables). The current snippets basically has their own SV being embeded on the syntax, but it will be great if it’s being implemented in graphical/manager wise. So in the ediing page, where there is a tab for snippets, we can choose which snippets that we are going to use, and when we include it on the page, it will automatically displayed all the available SV just like TV being listed in page editing tab. I know that a new consideration need to be taken, considering that the snippet can’t be used twice or more in the same page, because the manager need to be able to detect how many snippets being include din the template/page.
Ehmm...
Well the more I wrote this, the more I realize how hard it is to implement this, and it just make thing complicated.
So anyway, hope this can be a source of idea.
Sincerely,
Wendy Novianto