fmwebschool.com
Top Experts [learn more]Top 4-10
webko

9743 K
bandmandq

2458 K
Genx

1525 K
4. tcmeyers
5. kbata
6. Martie
7. Hammerton
8. rrenfrow
9. bneeman
10. plegler
Welcome, Guest. Please login or register.
October 01, 2014, 03:18:14 PM

Login with username, password and session length
Search:     Advanced search
Welcome to the FileMaker Web Masters Exchange.  If you have any questions about how to use this forum, please watch the getting started movie at:
http://www.fmwebschool.com/movies/forum1/forum1.html
27804 Posts in 6151 Topics by 1525 Members
Latest Member: alkyred
* Home Help Search Calendar Login Register
+  fmwebschool.com
|-+  Recent Posts
Pages: [1] 2 3 ... 10

 1 
 on: September 29, 2014, 10:03:00 AM 
Started by glasstream2000 - Last post by glasstream2000
Thanks Bandmandq, I figured it out, all i had to do in the body is add <<FName>> which is the first name etc..!

 2 
 on: September 28, 2014, 08:44:20 PM 
Started by cooldude - Last post by GManNAtl
If applelakshan suggestion did not work the other issue I have seen that will cause this is an IIS/NTFS permissions issue. Verify the account info being used for both the AppPool and the anonymous account for the site itself.

 3 
 on: September 28, 2014, 08:40:32 PM 
Started by PhanMan - Last post by GManNAtl
Make life a LOT easier for yourself. If you simply use a div and style it with a width you simply repeat the div. No need for calculations to find out what cell your in etc. For example if your recordset is 9 records and you set the width so that 3 show on a row, the 4th div will just drop down below the top 3 automatically.

Not to pour too much on, you could probably benefit from using some type of CSS framework which helps in this respect also. I highly recommend Zurb Foundation, and they have a template you could look at that I believe will give you the exact layout you are looking for.

 4 
 on: September 28, 2014, 08:12:50 PM 
Started by glasstream2000 - Last post by GManNAtl
Yes, it works fine with both 6 and CC.

Almost always when I get the 500 errors it is an IIS permissions error. Dreamweaver is unable to create the connection php file. Begin by checking the account that both the site and application pool are using. If you are unable to pass the authentication test within IIS then this is the issue. Using Process Monitor is also a good tool to see where the issue is.

 5 
 on: September 28, 2014, 03:50:34 PM 
Started by PhanMan - Last post by webko
Answered in other post... Please don't ask the same question in multiple places, makes me confused... ;-)

Cheers

Webko

 6 
 on: September 28, 2014, 03:49:23 PM 
Started by Michael Petrov - Last post by webko
Try

Code:
<?php
echo "<table align=\"left\" \"homeColumns1\">\n";

$cols 3;     //Specify your cell column count here
$cell 0;

foreach(
$birthdays_result->getRecords() as $birthdays_row){
   if( (
$cell $cols) == ) { echo "<tr>\n"; }

   
// CELL DISPLAY CODE START
   // This is where you would echo out your data from the record
   
echo "\t<td>cell</td>\n";
   
// CELL DISPLAY CODE END

   
if( (($cell+1) % $cols) == ) { echo "</tr>\n"; }
   
$cell++;
}
// The bit of code below makes sure to insert some extra cells if the last row is not completely filled with cells
if( (($cell) % $cols) != ) { 
   do {
      echo 
"<td nowrap="nowrap" class="homeColumns1"><div align="left"><a href="FM/Employees/employee_card.php?id=<?php echo $birthdays_row->getRecordId(); ?>
" class="homeColumns1"><?php echo $birthdays_row->getField('FullName'); ?></a> - <?php echo date'jS'strtotime($birthdays_row->getField('Birthday'))); ?></div></td>\n";
      $cell++;
   } while( (($cell) % $cols) != 0 );
   echo "</tr>\n";
}


echo "</table>\n";
?>

 7 
 on: September 24, 2014, 10:25:02 AM 
Started by PhanMan - Last post by PhanMan
I am trying to have a repeating region display in more than 1 column. 

Michael Petrov posted this code on this page.  http://fmwebschool.com/frm/index.php?topic=614.0
Code:
<?php
echo "<table border=\"1\">\n";

$cols 3;     //Specify your cell column count here
$cell 0;

for(
$i=0$i<23$i++) {   //This line is usually replaced by foreach($result['data'] as $record( { 
   
if( ($cell $cols) == ) { echo "<tr>\n"; }

   
// CELL DISPLAY CODE START
   // This is where you would echo out your data from the record
   
echo "\t<td>cell</td>\n";
   
// CELL DISPLAY CODE END

   
if( (($cell+1) % $cols) == ) { echo "</tr>\n"; }
   
$cell++;
}
// The bit of code below makes sure to insert some extra cells if the last row is not completely filled with cells
if( (($cell) % $cols) != ) { 
   do {
      echo 
"\t<td>&nbsp;</td>\n";
      
$cell++;
   } while( ((
$cell) % $cols) != );
   echo 
"</tr>\n";
}


echo 
"</table>\n";
?>

Here is my repeating region code
Code:
<table align="left" "homeColumns1">
              <tr class="homeColumns1">
                <th  nowrap="nowrap"><div align="left"><em>Birthdays</em></div></th>
              </tr>
              <?php foreach($birthdays_result->getRecords() as $birthdays_row){ ?>
              <tr>
                <td nowrap="nowrap" class="homeColumns1"><div align="left"><a href="FM/Employees/employee_card.php?id=<?php echo $birthdays_row->getRecordId(); ?>" class="homeColumns1"><?php echo $birthdays_row->getField('FullName'); ?></a> - <?php echo date'jS'strtotime($birthdays_row->getField('Birthday'))); ?></div></td>
              </tr>
              <?php ?>
            </table>

I am not having any success trying to apply it.  Any help would be appreciated.  THanks

 8 
 on: September 24, 2014, 10:21:26 AM 
Started by Michael Petrov - Last post by PhanMan
Code:
<table align="left" "homeColumns1">
              <tr class="homeColumns1">
                <th  nowrap="nowrap"><div align="left"><em>Birthdays</em></div></th>
              </tr>
              <?php foreach($birthdays_result->getRecords() as $birthdays_row){ ?>
              <tr>
                <td nowrap="nowrap" class="homeColumns1"><div align="left"><a href="FM/Employees/employee_card.php?id=<?php echo $birthdays_row->getRecordId(); ?>" class="homeColumns1"><?php echo $birthdays_row->getField('FullName'); ?></a> - <?php echo date'jS'strtotime($birthdays_row->getField('Birthday'))); ?></div></td>
              </tr>
              <?php ?>
            </table>

I am having a hard time applying the code to Michaels example.  Any help would be appreciated.  thanks

 9 
 on: September 19, 2014, 01:50:26 PM 
Started by Mike Wallace - Last post by Mike Wallace
I am having problems with SuperContainer and am thinking about replacing it with FileMaker's external container fields.  There is a website that pulls a large amount of SuperContainer data currently and I don't want to switch over if all of that data is going to be pulled through the FileMaker server and web publishing engine.  Returning the url would be pretty light but the image itself could cause problems if the data flows through the web publishing engine when you use the url that is returned.

Does anyone know about this?

 10 
 on: September 19, 2014, 12:55:42 PM 
Started by glasstream2000 - Last post by glasstream2000
I was wondering if anyone has successfully got Dreamweaver CS 6 or CC to work with FM12 server, I keep getting either an undefined error or http 500 error when trying to define a connection.

I have tried to use the PHP API files that came with FM12 and put them in the root of the website, Hope that's right! I have tried my own install of php, not luck so far with that, just burning through VM's trying different things.

I would love to know if anyone has this working and how you did it, any certain things you might have done. It is a shame it doesn't seem like FMStudio is supported anymore ;(

Pages: [1] 2 3 ... 10
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!