Hello,
After following several tutorials about CC, I have some questions about de Profil Page plugin for CC.
The tutorial on the site of greyhead helped me to show the details of a record. In that tutorial there is the following line:
Question 1:
My question is, is it possible to make the x or y (or both) automatically choose the right width or height? Now it is set to x=600 and y=400.
Question 2:
My other question is regarding adding new collumns to the database. I added a new collumn to my database with the name 'fotograaf'. I did this in phpmyadmin. When I go to my administration part of the website and go to the CC component and then the Admin Settings, my new collumn doesn't appear in the 'Data View Fields Names'. Also when I put the tag {fotograaf} in the body it still does nog appear (only the text {fotograaf}, not the name of the photographer).
Can someone help me with these two questions?
Kind regards,
Ruud
After following several tutorials about CC, I have some questions about de Profil Page plugin for CC.
The tutorial on the site of greyhead helped me to show the details of a record. In that tutorial there is the following line:
rel="{handler: 'iframe', size: {x:600, y: 400}}"
Question 1:
My question is, is it possible to make the x or y (or both) automatically choose the right width or height? Now it is set to x=600 and y=400.
Question 2:
My other question is regarding adding new collumns to the database. I added a new collumn to my database with the name 'fotograaf'. I did this in phpmyadmin. When I go to my administration part of the website and go to the CC component and then the Admin Settings, my new collumn doesn't appear in the 'Data View Fields Names'. Also when I put the tag {fotograaf} in the body it still does nog appear (only the text {fotograaf}, not the name of the photographer).
Can someone help me with these two questions?
Kind regards,
Ruud
Hi flyboeing ,
Just for clarity for other readers, you are using a 'View Details' link fform ChronoConnectivity to view a single record using a ChronoForm in a modal window.
1) I'm not sure what an automatic height or width would be? You can certainly adjust these settings and I guess that it might be possible to use JavaScript to adjust the window size after it has loaded? But usually modal windows are sized to fit inside a typical viewport and scroll to show over-sized content.
2) In ChronoForms v3 you need to refresh the DB Connection after any changes to database column names. In the Form Editor click the DB Connection tab and set the Connection to 'No'. Click the 'Apply icon in the toolbar to save the form, open the DB Connection tab, set the Connection back to 'Yes' and re-save the form. This will refresh the copy of the table information that ChronoForms uses.
Bob
Just for clarity for other readers, you are using a 'View Details' link fform ChronoConnectivity to view a single record using a ChronoForm in a modal window.
1) I'm not sure what an automatic height or width would be? You can certainly adjust these settings and I guess that it might be possible to use JavaScript to adjust the window size after it has loaded? But usually modal windows are sized to fit inside a typical viewport and scroll to show over-sized content.
2) In ChronoForms v3 you need to refresh the DB Connection after any changes to database column names. In the Form Editor click the DB Connection tab and set the Connection to 'No'. Click the 'Apply icon in the toolbar to save the form, open the DB Connection tab, set the Connection back to 'Yes' and re-save the form. This will refresh the copy of the table information that ChronoForms uses.
Bob
Thanks for your reply Bob.
I tried to refresh my DB connection but it won't work. I also made a new ChronoForm and activated the Profil Page plugin for it. When I am configuring the plugin, you have to select the table. I did this and in the next dropdown menu you get a list of all the collumns in that table. My collumn 'fotograaf' ain't in that list :?
I tried to refresh my DB connection but it won't work. I also made a new ChronoForm and activated the Profil Page plugin for it. When I am configuring the plugin, you have to select the table. I did this and in the next dropdown menu you get a list of all the collumns in that table. My collumn 'fotograaf' ain't in that list :?
Hi flyboeing,
Then probably it isn't in the database table either? The Profile plug-in columns query does a direct check from the database.
Bob
Then probably it isn't in the database table either? The Profile plug-in columns query does a direct check from the database.
Bob
This topic is locked and no more replies can be posted.