close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Will Theme-It work with PHP/HTML/CSS Pieces

Thread began 2/22/2010 1:36 pm by hafnerdesigns349591 | Last modified 2/24/2010 8:01 am by Ray Borduin | 1472 views | 3 replies |

hafnerdesigns349591

Will Theme-It work with PHP/HTML/CSS Pieces

I have several websites where there is an index.php that calls for all the pieces to the web pages. In this index.php are variables for css, js, html, etc. The html pages ONLY have text, images, and other objects pertinent to that page. There are no links to external files to the html pages (w/ exception to javascripts related to individual pages).

Can Theme-It still work with pages laid out like this? The only way I can currently make certain that the pages work is to load all the pieces onto the server and view it with the browser.

I currently use Dw CS4, but I'm new to it, so this is all a learning process. I am still unsure how to use the template option with Dw. All my PHP/HTML/CSS sites were hard coded before Dw.

Thanks for your help.
Heidi Hafner

Sign in to reply to this post

Ray BorduinWebAssist

I can't say for sure, but it appears theme it would probably not work. Theme it depends on being able to search through the page and find .css and color references. If they are included in code it may not work, but it really depends on the exact syntax and code you are using, so it could work as well.

Does Dreamweaver work to edit the pages? Does dreamweaver see the linked .css files? Chances are if Dreamweaver works then theme it will.

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

hafnerdesigns349591

Actually, no... Dw does not connect the files.

I have an index.php which looks something like this:

<?php

$button="none";

if (! isset($HTTP_GET_VARS['content']) || ! $HTTP_GET_VARS['content']){
$content="home";
}
else
$content=$HTTP_GET_VARS['content'];

//1
if ($content == "home"){
$page_title="The Story Connection - Dianne de Las Casas";
$style="scripts/style.css";
$main="home.html";
$title="images/titles/welcome.jpg";
}

//INCLUDED STORY COLLECTION LIST HERE
include ("collection.php");
//

include ("required_files/meta.html");
include ("required_files/header.html");
include ($main);
include ("required_files/newsletter_subs.html");
include ("scripts/analytics.js");
include ("required_files/footer.html");
?>

And then the actual html which contains ONLY content with structure.

Heidi Hafner

Sign in to reply to this post

Ray BorduinWebAssist

Most likely then Theme-it would not find the css files either. The only way to know for sure is to test it, but as a general rule of thumb, if DW doesn't work right for finding the css, then neither will theme-it.

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

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