an idea on how to retrieve data into a plug.tpl from pages or...
| ..dot.. |
|
|---|---|
|
Vile I was playing around in with Extra fields for pages and Extra fields for users I got an idea that (at least I think) would be quite effective >> Extra fields for plugs.
What I was thinking is that why not also make a ”Extra fields for plugs” section and make it possible to retrieve data from both the user page and from a single page. I think it would be really nice to be able to pull data by just by adding an extra field tag in the page.add.tpl or the users.profile.tpl and then put a tag in the desired plug.tpl to retrieve the information. Anyways this is just an idea could probably be done in a better way, so tell what you think of it? |
| w1ckd |
|
|---|---|
|
isnt this already possible? since th extra fields are stored in the sql satabase you could request them everywhere? you just need the right tag like ex
['ruserextra6']or anyway, that was how i did it in seditio. For our Freedom and Yours!
|
| Trustmaster |
|
|---|---|
|
Yep, take a better look on how extrafields work. All you need is to use existing SQL table and functions.
May the Source be with you!
|
| ..dot.. |
|
|---|---|
|
Ah that’s cool thanks to both of you, didn’t know that :)
|