close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Is there an update for Dreamweaver CC for this tutorial: http://www.webassist.com/tutorials/Create-new-pages-from-PowerCMS-templates

Thread began 1/09/2018 1:01 pm by russb335115 | Last modified 1/13/2018 9:11 am by Ray Borduin | 2073 views | 9 replies |

russb335115

Is there an update for Dreamweaver CC for this tutorial: http://www.webassist.com/tutorials/Create-new-pages-from-PowerCMS-templates

When added the repeat region it is only repeating the last blog. I notice the the repeat region is different in CC. Here is what is produces.

<?php
// RepeatSelectionCounter_1 Begin Loop
$RepeatSelectionCounter_1_IterationsRemaining = $RepeatSelectionCounter_1_Iterations;
while($RepeatSelectionCounter_1_IterationsRemaining--){
if($RepeatSelectionCounterBasedLooping_1 || $row_RobynMealRS){
?>

And closes with:

<?php
} // RepeatSelectionCounter_1 Begin Alternate Content
else{
?>
<?php } // RepeatSelectionCounter_1 End Alternate Content
if(!$RepeatSelectionCounterBasedLooping_1 && $RepeatSelectionCounter_1_IterationsRemaining != 0){
if(!$row_RobynMealRS && $RepeatSelectionCounter_1_Iterations == -1){$RepeatSelectionCounter_1_IterationsRemaining = 0;}
$row_RobynMealRS = mysql_fetch_assoc($RobynMealRS);
}
$RepeatSelectionCounter_1++;
} // RepeatSelectionCounter_1 End Loop
?>

Sign in to reply to this post

Ray BorduinWebAssist

That looks like you used "Repeat Selection" server behavior instead of "Repeat Region"... that is the difference in the code, but they should work similarly. Repeat selection just has a few more options that allow you to use it nested inside a repeat region to repeat rows and columns.

Sign in to reply to this post
Did this help? Tips are appreciated...

russb335115

Do you have any idea why its just repeating the first blog info and not the second.

Sign in to reply to this post

russb335115

Also, I'm getting this error when I try to login to the CMS:

http://blank1.iknowawebguy.com/admin_cms/users_login.php?failed=1&failed=1&accesscheck=%2Fadmin_cms%2Findex.php%3F

Sign in to reply to this post

Ray BorduinWebAssist

That implies you are either using the wrong username and password or your server isn't configured properly to save session values. I'd need FTP access to debug it.

Sign in to reply to this post
Did this help? Tips are appreciated...

russb335115

Thanks Ray, I did figure that out by looking at the database. Did you have any feedback as to why the repeat region is only showing the one blog title and content on the results page? I will leave a link in the PM box if you want to take a look.

Sign in to reply to this post

Ray BorduinWebAssist

I'd need ftp access to be able to tell.

Sign in to reply to this post
Did this help? Tips are appreciated...

russb335115

Thanks Ray, see PM.

Sign in to reply to this post

Ray BorduinWebAssist

You had:
$row_RobynMeal['ContentPageSetOrder']

instead of:
$row_RobynMealRS['ContentPageSetOrder']

I updated that and the new content appears.

Sign in to reply to this post
Did this help? Tips are appreciated...

russb335115

Awesome, thanks Ray. I kept looking for the missing ingredient but couldn't make the connection.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...