This content has been marked as final. Show 2 replies
ajime, if you do find one let me know.
I have a ton of php based variables and arrays on my site and as of yet contribute does not "render them". Dreamweaver on the other hand does have some functions such as live data viewing that may be what you are looking for,
We built a work around by hacking one of the translator files and generating a comment that mirrors the translator
so here is what the top of our page looks like:
<?php $pageid = 1228; #pageid must come before topinclude this is for dreamweaver and server live views
<!--#wouedit virtual="/include_file_url/goes_here.php?pageid=1228" -->
The above comment is what Contributes translator reads and then grabs the proper page. Note: it only passes one variable hardcoded on the page(you can have the served .php page process whatever you want or have a set of variables just for the edit mode). There will be matching statements at the end of the content area with the same pageid
The php is ignored by contribute but the second line goes to the translator file. We generate the new pages in our own app with the page id being set and the head tags and meta content is also filled in. We did have a hard time getting our server, dreamweaver and contributes browser to show css styles and images correctly. We kept the two includes simple so that we could strip or change them as new software or server changes mandate.
You can view the translator here http://www.wou.edu/~gilberts/patch/ the file was originally called "wou edit.htm" which needs to match comparisons as the script runs. The page will not display properly. You will need to view the code to get a proper look. This is just a modified version of the original "Server Model SSI.htm" included in the install - all due respect to Adobe/Macromedia. We have a huge site with many levels of users with many different needs as well as very specific IT requirements and options.
Please feel free to contact me if you have any questions. firstname.lastname@example.org