Using Dreamweaver (CS5) to Edit Pods
Other than Copy/Paste, is there a way to use Dreamweaver CS5 to edit Pods CMS Pages/Templates using the native FTP?
1 Answer
Just create a new page as normal in wordpress, assign it a page template using something like this:
<?php /* template name: Pod Page */ ?>
and then go nuts with your pods code. This is my basic code:
<?php $bit = new Pod('podname'); $bit->findRecords(); $total_bits = $bit->getTotalRows(); ?>
<?php if( $total_bits>0 ) : ?> <?php while ( $bit->fetchRecord() ) : ?>
<?php
// set our variables
$bit_name = $point->get_field('name');
$bit_link = $point->get_field('slug');
// echo out the data?>
<?php echo $bit_name; ?>
<?php endwhile; endif; ?>
If you read the Monday by Noon Tutorials, you'll see that he does all his pods work in a code editor.
If you look at my past posts, you'll see how I even was able to code helpers within a code editor.


