close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Making a New Page in PowerStore 3

Thread began 3/18/2010 5:20 am by paul397433 | Last modified 4/01/2010 2:36 pm by paul397433 | 2993 views | 13 replies

dennis372614

Making a new page in PowerStore 3

Neilo, I am a bit confused on how you do this

you start off by:
The recommended way would be to create a new page by going to Dreamweaver Menu > File > New > 'Page from Template' > and select the 'Main' Template to create your new page.

Then:
However, what is probably easier, would be to just open the kind of page you want your new page to be like (i.e. shipping.php), and (again in the Dreamweaver Menu) select 'File' > 'Save as' - and save it as whatever you want your new page to be called (i.e. news.php).

Then go to your online store Admin area, and select 'Content' > 'Add new Content'. Enter something for 'Page Name' and 'Content Area' (i.e. 'News' and 'Content') and click 'Insert'.

From the next page, copy the 'Developer Notes', which will be something like:

<?php
include('/home/users/pathto/yoursite.com/store/WA_CMS/addtosite.php');
echo WA_getCMSContent($database_PowerStoreConnection, $PowerStoreConnection, 'News' , 'Content');
?>

and back in your new page in Dreamweaver, in code view, find the lines at or near line 299-300:

<h1>Shipping</h1>
<div class="contentBox"><?php echo WA_getCMSContent($database_PowerStoreConnection, $PowerStoreConnection, "Support", "Shipping"); ?></div>

And replace everything between <div class="contentBox"> and </div> (in blue above) with the code that you copied from the Developer Notes. You will probably also want to change the '<h1>Shipping</h1>' heading to 'News' or whatever you want the heading (if any) to be.

the lines 299-300 are these in main.dwt.php I cannot find?

If you just create the page as in Shipping.php
there will not be these lines of code?

So not sure if you first start by>
The recommended way would be to create a new page by going to Dreamweaver Menu > File > New > 'Page from Template' > and select the 'Main' Template to create your new page
I am assuming you mean select main.dwt.php From PowerStore Template folder.
Please elaborate Im confused.

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...