staleo |
|
---|---|
Wow, nice! For some reasons, it didn't work for me last time, but now, the global tag like {PHP|pagefieldbypid(521, 'game_stadium')} works awesome, thank you! But let me little extend the plugin's possible implementation. How about if I make a new global, like, {PAGE_TO_FETCH_FROM}. While editing a page, I input an other's page id into it, and a first page comes up with some of the fetched thing from the second page. In terms of pagefieldbypid from you, Dayver, the global tag must be sort of {PHP|pagefieldbypid({PAGE_TO_FETCH_FROM}, 'text')} which of course doesn't work. How to make it go fine? update: Oops, pagefieldbypid seems to work a little unstable. First, I added a global tag {PHP|pagefieldbypid(518, 'fakel_name')} in a footer.tpl just to make sure it's fine. It was fine. Than, I added the same tag into a page.tpl, and the both places tag output nothing! Hmmm. |