2016-09-06, 19:10:13
Hi,
I want to display a php generated table on several pages. It should detect via a custom field (or slag?) on which page it is executed. As I understand I should do this by using a component and include it with dynpages plugin.
Alternatively I could pass an argument to the component.
Now comes the tricky (for me) part:
the rows in the table consist of textfields and some buttons. By pressing a button some content of the relevant row has to be processed (preferably php) to produce text or a link, which shall be displayed in the sidebar.
Do I have to use Ajax or JavaScript for that and is this even possible?
Any thoughts on this are appreciated.
I am a GS newbie, but I'm ok with php.
cheers
pinguin
I want to display a php generated table on several pages. It should detect via a custom field (or slag?) on which page it is executed. As I understand I should do this by using a component and include it with dynpages plugin.
Alternatively I could pass an argument to the component.
Now comes the tricky (for me) part:
the rows in the table consist of textfields and some buttons. By pressing a button some content of the relevant row has to be processed (preferably php) to produce text or a link, which shall be displayed in the sidebar.
Do I have to use Ajax or JavaScript for that and is this even possible?
Any thoughts on this are appreciated.
I am a GS newbie, but I'm ok with php.
cheers
pinguin