close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Dynamic Themes

Thread began 2/14/2013 2:02 pm by jo271221 | Last modified 2/21/2013 5:58 pm by jo271221 | 1108 views | 2 replies

jo271221

Dynamic Themes

I am VERY pleased with the dynamic themes. On this page: ads-events-news-featured.php?SI=17&Search=1 you can click on any of the icons EXCEPT Polk Plus and the themed designs work perfectly displaying unique icons, and color schemes for each theme. But then if you click on the polk plus community ads-events-news-featured.php?CU=5&Search=1 and then go back to another SI community the theme does not reset. It appears that is in displaying the listings from the correct SI but NOT the theme. I have attached my template page, the page and the framework page which displays the content. I want to add more CU themes and also want to add convert my entire site to use the themes including my log in page...

1. Can you please help me get the CU theme to display correctly (it does now) and ALSO go back to and display a SI theme.
I have a link to display all that works. (goes back to the default theme - ads-events-news-featured.php?SI=&CU=&Search=1)

2. Can you please advise if there is anything I need to be careful of when converting my log in, insert and update pages. I certainly do not want to break anything.

3. Can you tell me where the session is defined that controls the themes. I see it called with this code: <?php
@session_start();
$defaultTheme= "CHot2012.dwt.php";
if (isset($_GET["SI"])) {
$_SESSION["SI"]= $_GET["SI"];
}
if (isset($_SESSION["SI"]) && $_SESSION["SI"]!="") {
$defaultTheme= "SI_".$_SESSION["SI"].".dwt.php";
$_GET['interestid'] = $_SESSION["SI"];
}
if (isset($_GET["CU"])) {
$_SESSION["CU"]= $_GET["CU"];
}
if (isset($_SESSION["CU"])) {
$defaultTheme= "CU_".$_SESSION["CU"].".dwt.php";
}
if (!file_exists("../Templates/".$defaultTheme)) {
$defaultTheme= "CHot2012.dwt.php";
}
?>

however I don't understand where the sessions are defined. ( I may want to create another)

4. Is is OK to call the above code into the pages with a server side include? I am doing that on the SI-( (dog) template

4. Should the above theme code be included BOTH on the template page and the pages ie ads-events-news.php

Thank You!

5.

Attached Files
SI_9.dwt.zip

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