close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Store Message PS3 v PS2

Thread began 2/19/2010 3:37 pm by mick106153 | Last modified 2/19/2010 5:27 pm by Justin Nemeth | 677 views | 3 replies |

mick106153

Store Message PS3 v PS2

In PS3 this div
<div id="storeMessage">
<?php echo WA_getCMSContent($database_PowerStoreConnection, $PowerStoreConnection,"Home Page", "Site Message"); ?>
</div>
controls what appears in the "Store Message" area through the use of the content/home page-site message area.

In PS2 I used the following
<div id="storeMessage">
<?php showImage("rotate/home_header/images.ini"); ?>
</div>
Which pulls a different image into that area each time the page is reloaded.

Wanting to do the same in PS3 should I just drop the script into the areas I want?
Or could/should I use your admin tool "content/home page-site message" or…?
And if the latter, how, exactly?

Mick

Sign in to reply to this post

Justin Nemeth

Since you are using PHP code, I would just replace the index.php code like you did for v2. If you ever had a need for updating the store message through the admin, you can just put the other code back in.

Sign in to reply to this post

mick106153

Justin

Further checking on my part reveals that I replaced this in home.css

/* store message */

#storeMessage {
background-image: url("../Images/storeMessage_bg.png");

with this

#storeMessage {
background-image: url("../Images/home/rotate.php/");

Which calls the script thus inserting the images.
Does that change your perspective in any way?

Mick

Sign in to reply to this post

Justin Nemeth

I would replace the CSS as well. Changing these 2 places won't break PowerStore in any way, the store message content in the admin will just be ignored basically since there won't be a place on the front end using it anymore.

-justin

Sign in to reply to this post

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