| using library items in toplevel / different sites |
|
 |
Index ‹ dreamweaver
|
- Previous
- 2
- DW MX -> DW MX 2004Hi everyone!
I have one extension wich works for Dreamweaver MX and I try to do this
extension works for Dreamweaver MX 2004.I would like to receive some
information about diferents beetwen versions and Wich are the changes what I
should made for it works?
I wish I 'll have some request.
Thanks
- 5
- Redirect Previous URL if After Successful Login from Previous FailureLet's say I have 3 pages.
Page A is restricted. So a user attempts to access that page, they are
redirected to Page B to log on. If they fail in their login attempt, they are
redirected to Page C. Once they are successful at Page C, I want them to be
able to go back to the original URL.
This works well if the user successfully supplies his/her logon credentials at
Page B (they go back to the previous URL), but this is not the case if they
have to go on to Page C even though I have the Previous URL box checked. I
know the problem is is the way I have Page B configured, but Dreamweaver will
not allow me to leave the field, "If Login Success, Go to . . . " field blank.
I know this is a simple fix. Can someone please help me?
Thanks,
Stephanie
- 5
- Virtual vs. File (Dreamweaver settings)have a web host that disallowed Parent Paths. Rather than have a "file" with
a relative path, I have to have 'virtual' and an absolute path.
It is annoying to have to make this change manually everytime I connect to a
database through a recordset.
Is there anyway to make this change in preferences in Dreamweaver (2004 MX)?
- 5
- OT: PHP printr() - explanation required, pleaseI have created an array (it should contain 2 paired elements, and now do a
print_r on it. Here's what I get -
Array ( [0] => Array ( [0] => foo [1] => This is a definition of foo. ) )
Array ( [0] => Array ( [0] => foo [1] => This is a definition of foo. ) [1]
=> Array ( [0] => bar [1] => This is a definition of bar. ) ) Array ( [0] =>
Array ( [0] => foo [1] => This is a definition of foo. ) [1] => Array ( [0]
=> bar [1] => This is a definition of bar. ) [2] => Array ( [0] => ) )
Can someone please explain how to read this? It appears to me that there is
an unnecessary repeat in there?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
- 5
- Dreamweaver MX 2004 - CSSA couple of perplexing things I would appreciate comments on ....
i) I would like to keep white space to a minimum (i.e. in MS Word text terms
the before/after spacing is set to zero). I have defined a few CSS's; H1, H2,
etc without any obvious before/after effects but if I try to have one line 'H1'
and then a second 'H2' I have an extra white line between the two... extremely
annoying.
ii) I am trying to set images down the left of the screen and text on the
right (I have set my images to have an 'align' value of 'left') and even though
it looks fine in Dreamweaver, when I do F12 it appears that the text is running
between then images ... D'oh! (I have set top/bottom margins [2px] around the
images but it doesn't sort it out.
Any advice would be much appreciated.
All the best.
Patrick.
- 5
- viewed filesHow do i display how many times a file has been viewed
- 10
- auto fill form<%@LANGUAGE='JAVASCRIPT' CODEPAGE='1252'%> SELECT distinct [model], make,
[power kva], [cabinet unit] FROM ndcinventory ORDER BY model I have a form
with drop down selection dynamically pulled from a db. There are three slots
that i would like to auto fill based on first selection i make. For example, if
i choose the 'make' i want the rest of the columns above autofill in to a form.
Like V120 model selected, it will auto populate 'SUN', 'cabinet unit(1)', and
'kVA(.42)'. thanks,
- 10
- urgent adviceI have just finished reading/praticing the PHP for the
world wide web 2nd Edition by Larry Ullman, but i feel that it didnt
prepare me enough to build the database i need to.
> I need to build a database similar to this one here : "it's an
adult website, if u don't want to open it, i will explain what i need"
www.bearwww.com .
> I have been told to buy PHP and MySQL book by Larry "again" , i was
told that it would help me alot with what i need.
>
> I need advice from a second person. If u dont mind help me clear my
mind on this matter, please.
>
> Thank you so much, hope to hear from u soon,
>
> LMartins
- 10
- Quality of images when appyling PHP image resizing and GDGood evening,
when I upload my images to my website and resize them using
GD 2.0.28 and select the best quality (100) I always get
images of a rather bad quality only having a file size of
about 30KB no matter if I upload images of 100KB or 400KB.
The uploaded images are .jpg and the saved images, too. I
tried to upload .png images. Then the file size and the
quality was better (about 50KB) but then the watermarking
(using a 32png image) did not work.
I have searched the PHP.net site but to no avail.
Thanks for any help.
Paul
- 11
- Order results page by likenessHi,
I've created a keyword search and would like to order my results on the
results page by closest match.
The website I've created is for a musical instrument wholesaler that stocks
over 5000 different products. So I wanted a search box the searches the entire
product database. I've created this ok and filtered my results recordset like
this:
SELECT *
FROM Stock
WHERE Catalogue_Number LIKE 'MMColParam%'OR Section LIKE 'MMColParam%' OR
Brand_Name LIKE 'MMColParam%' OR Item_Name LIKE 'MMColParam%' OR Keyword_Search
LIKE 'MMColParam%' OR Instrument_Type LIKE 'MMColParam%' OR Intrument_Style
LIKE 'MMColParam%'
ORDER BY Section, Catalogue_Number
MMColParam = Request.QueryString("txtKeywordSearch")
Because this filters more than one column of my database I can't just order it
by that column. Is there some SQL I can add to order it by closest match? Or
is this something a stored procedure would be used for?
I'm using DreamweaverMX2004 with Microsoft Access at the moment. I confess I
don't know anything about stored procedures and only enough about databases to
get by (I am looking into learning mySQL as I am aware that Access is not
really suitable any more).
This is the address for my site.
http://www.bandm.co.uk/Index.asp
There are still some pictures missing etc. as its just up for testing at the
moment. If you go to www.bandm.co.uk you will see a temporary page instead.
This is by far the biggest project I've done so if anybody has comments or
suggestions I would love to hear them.
Thanks
Kirsty
- 13
- 14
- Can you use DW Image Viewer with a databaseHi:
I like the Image Viewer feature in DW. However, does anyone know how you can
assign the images to a database with image paths in it as it doesn't let you
select Data Sources.
If not, can anyone recommend a direction to develope a static image viewer
that retrieves from a database.
Regards,
Josh.
- 15
- Login/Register at same time ?Is it possible to login and Register users at the same time?
I think the way I've normally done it is to have the user register and then
they go to another page where they login.
I would prefer, in this case, to eliminate the login bit.
- 16
- Run the current document in a perticular browserehi,
I want to run my the current ducment in firefox, if it is not available alert
( Firefox is not found !) my code this way, but it parses errors.
Any kind of help would be appreciated
thanks
ss
function preivew() {
var theDOM = dw.getDocumentDOM();
var prevBrowsers = dw.getBrowserList();
var sitePrefix = site.getAppURLPrefixForSite();
var FF = prevBrowsers.indexOf(firefox.exe);
var theBrowser = "";
theBrowser = prevBrowsers[FF];
dreamweaver.browseDocument(sitePrefix,theBrowser);
}
- 16
- Please help setting up Mysql ASP connection on a Mac DW8Dear All
I have posted previously but I still have not solved this problem, and really
need anybody with a mac DW setup to give some advice. I have spoken to Adobe
and trawled the net looking for a solution to getting ASP and DW working on a
mac. I know I need a windows machine and a local network which I have. I have
a real issue making a database connection from within dreamweaver.
Please help anybody with experience.
Many thanks in advance
Graham
|
| Author |
Message |
jos.faber

|
Posted: 2003-10-20 22:08:00 |
Top |
dreamweaver, using library items in toplevel / different sites
I'm editting this large site of over 15000 pages. The site has
subsites for countries. I split the site up into 14 site projects in
Dreamweaver, simply because Dreamweaver took 2 minutes for every
change I made to a page.
But now, ofcourse, the following issue raises:
I ave country specific library items, which are put in the
/COUNTRY/Library folder. But is there a way to use library items from
the /Library folder? There's no project for the root, because it's too
big and it would interfere these 14 other site projects I guess (DW
sais so ;)..
help would be hugely appreciated..
Jos Faber
Satama Interactive
Helsinki | Amsterdam
|
| |
|
| |
 |
| |
 |
Index ‹ dreamweaver |
- Next
- 1
- Javascript to call CSS class - simple syntax helpThis is a multi-part message in MIME format.
Hi,
I'm not very familiar with javascript, so I'm not sure of the sytnax t use.
I basically want to dynamically shange the background color and other attributes of a <td> on mouseover.
So on mouseover I want .Class1 and one mouseout .Class2
I've used this before, but I'd rather call a class file:
onMouseover="this.style.backgroundColor='#99CCFF'" onMouseout="this.style.backgroundColor='#FFFFFF'"
Can someone help me with the syntax for a <td> to pull this off?
Thanks
-Dave
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1498" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm not very familiar with javascript, so I'm not
sure of the sytnax t use.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I basically want to dynamically shange the
background color and other attributes of a <td> on mouseover.</FONT></DIV>
<DIV><FONT face=Arial size=2>So on mouseover I want .Class1 and one mouseout
..Class2</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I've used this before, but I'd rather call a class
file:</FONT></DIV>
<DIV><FONT face=Arial size=2>onMouseover="this.style.backgroundColor='#99CCFF'"
onMouseout="this.style.backgroundColor='#FFFFFF'"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Can someone help me with the syntax for a
<td> to pull this off?</FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial size=2>-Dave</FONT></DIV></BODY></HTML>
- 2
- Recordset #prior version#:( New install of Dreamweaver 8.
Using DW8 when I create a recordset it is marked "Recordset (Recordset1)
#prior version#". When I click on it I get this error message:"This server
behavior was created with a prior version of UltraDev. It will be replaced with
the current version when you click OK in the server behavior dialog box.".
(I've never had Ultra Dev on this computer?)
Clicking OK does NOT make anything right. I'm unable to create any other
Server items.
I used Dreamweaver MX 2004 without problems.
Now it seems DW8 cannot make recordsets for APS.VBscript?
I even reinstalled Dreamweaver 8 but nothing changed.
- 3
- PayPal Extension/Plug-inI'm looking for a PayPal extension that will allow me to allow customers to select size, color, etc. WebAssist one does not have that capability. Has anyone seen one?
- 4
- Need a multiparameter SQL statement that allows blank fieldsI'm trying to build a search results page for a restaurant database, so that
when people search by multiple criteria, only the restaurants that match all
the criteria show up. However, I also want people to be able to leave search
fields blank if they choose not to use them, but still have results show up for
the fields they entered. I tried using an "AND" statement between my
parameters, but that doesn't allow people to leave fields blank, so if not all
fields are filled out, no results are shown. I tried using an "OR" statement,
but then any results that match any of the criteria show up, rather than
narrowing the results down to only the results that match all the criteria
entered. For example, if someone searched by a certain "Zip Code" and also a
certain "Food Type", the "OR" statement returns all restaurants that are in
that Zip Code, as well as all restaurants that are in that Food Type, rather
than only the restaurants that are both in that Zip Code AND Food Type. I
realize this is probably a pretty simple problem, but I'm new to SQL and I
don't know how to do this. Thanks,
-Sean
- 5
- how to save recordset by codeHi
i want to save my recordset by php code in any format sql or xml
can this done by iterating through the recordset and add every one or what ?
thanks in advance.
- 6
- DWs XSLT Fragment template issueHey all,
I was experimenting with rendering an RSS feed from MSDN, in an ASP page.
Heres what I did:
1) Create an ASP page, named "MsdnFeed.asp"
2) Downloaded this: http://msdn.microsoft.com/rss.xml and saved it as
"MsdnFeed.xml"
3) Create an XSLT Fragment document, and linked it to the MsdnFeed.xml
(Note: the local version of the MsdnFeed.xml file is just for design/layout
purposes. At runtime, the XSL file will render the HTTP stream of xml). For
simplicity, I just dragged the "item" and "description" elements to the
design surface for rendering.
4) Hit F-12 for a preview, and things worked fine for transforming the local
file.
4) Added this code in MsdnFeed.asp to load the XML feed from the above URL:
<%
Sub RenderFeed( xmlSource, xslSource )
Dim xmlDoc, xslDoc
Set xmlDoc = Server.CreateObject( "MSXML2.DOMDocument" )
xmlDoc.async = false
Call xmlDoc.setProperty( "ServerHTTPRequest", true )
Call xmlDoc.load( xmlSource )
Set xslDoc = Server.CreateObject( "MSXML2.DOMDocument" )
xslDoc.async = false
Call xslDoc.load( Server.MapPath( xslSource ) )
Response.Write( xmlDoc.transformNode( xslDoc ) )
End Sub
%>
Somewhere in the body of that page, I called the method:
<% RenderFeed( "http://msdn.microsoft.com/rss.xml", "msdnfeed.xsl" ) ) %>
When I view MsdnFeed.asp in my browser, I got this error:
msxml3.dll error '80004005'
The stylesheet does not contain a document element. The stylesheet may be
empty, or it may not be a well-formed XML document
I looked at the .xsl file, and took this code out:
<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp " ">
<!ENTITY copy "©">
<!ENTITY reg "®">
<!ENTITY trade "™">
<!ENTITY mdash "—">
<!ENTITY ldquo "“">
<!ENTITY rdquo "”">
<!ENTITY pound "£">
<!ENTITY yen "¥">
<!ENTITY euro "€">
]>
Saved the .xsl file, and ran the .asp page again, and things worked as
expected.
I don't know why the DTD elements are in the xsl, or what impact it will
have if I continue to take them out for situations where I want to render
XML in an ASP page. In a way, that RenderFeed method, and the call to it are
like the ASP.NET XML control, and I kinda like it that way.
Anyways, anyone run into a similiar problem with that DTD part that DW
generates, or do you have another way of rendering XML in a server page?
Thanks,
Ron
- 7
- 2 SELECT statements in one recordset??? php/mysql for searchI have two tables one name class1 and the other class2 where there is no join
possible.
They are for a search result where I also have a conditon that is to be met
that they both have a status as being 'active'.
Do I do it as one SELECT DISTINCT gving conditions for one table then the
other and
WHERE class1.status = 'active' AND class.2.status = 'active'
Should it be SELECT DISTINCT gving conditions for one table then
SELECT DISTINCT gving conditions for second table.
I am only used to inner. left and right joins.
Hope someone can help, not sure whether you can have two SELECT statements in
one recordset
- 8
- Dynamic menus with a Japanese Windows' systemHi,
I actually use the Dreamweaver Trial version. I tried to download some pop
down, vertical,... menus (like the MXCSS Menu, Sony Style Drop down menu,
Plugin Lab Vertical Flyout Menu, List O Rama).
First, when I try to open them with Macromedia extention manager, I can only
install List O Rama. With all the other trial versions I get a message "it's
impossible to upgrade the menus, the extention will not be installed".
Then, even with List O Rama, I cannot open it with the Insert>Media menu (it
does not appear).
Finally, when I try to open any of those extentions dorectly in Dreamweaver,
the program whether bugs or show the script full of Japanese caracters (maybe
because I use a Japanese version of Windows).
How could I work it out? If you have any idea about it, please answer me.
Thank you.
- 9
- Frontpage "Publish Web Command for Dreamweaver MX 2004"I just recently installed this extension:
http://img20.echo.cx/my.php?image=dwerror6ar.gif (I placed a screenshot here
rather than typing it all up).
Can anyone help? What does the error message mean when it asks for "basic
authentication"? The server already has group permissions set for each subweb
folder, and each authorized user can login using their network ID and password
if they are in the group (using Frontpage, of course).
Is there any way to get this extension to work properly?
- 10
- Move to next and previous record from detail pageWhen you get down to the detail page you are only dealing with a single
record in the recordset hence the standard navigation won't work.
Julian has a tutorial on www.charon.co.uk on how to implement a similar item
to your request, and while it is written for ASP, you should be able to
write a similar PHP version.
--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Team Macromedia Volunteer for Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"willmx" <email***@***.com> wrote in message
news:d9rbpm$8t5$email***@***.com...
>I am trying to provide the ability to move to next and previous records in
>the
> database from a product detail page.
>
> After I display my search results the web user is presented with the items
> which match their query they then click on the item which takes them to
> the
> details page about that item via a URL call
> .......detail.php?product_id=534.
>
> From this detail page I would like to have a next and previous button
> which
> will move the user to the next or previous record in the database without
> leaving the detail page.
>
> I am stumped on this on
>
- 11
- PHP/MySQL: Get value from one field, subtract 2, multiply by 20, and insert value into another column on form submitJohn R. Lenz wrote:
> I have a form that a person fills out that has a field that asks "How
> many visitors including you" and I'd like them to type in a number, and
> on submit of the form, have that value -2 multiplied by 20 and inserted
> into a "total cost" column.
That's not the best way to use a database. You can always calculate the
total cost if you know the number of visitors. Let the database or your
PHP code perform the calculation when retrieving the value from the DB.
You also need a bit more conditional logic to prevent nonsensical
amounts. What happens if just two people are coming? Is the cost 0? Or
if just one person comes, does that person get a refund of 20?
Although storing the total cost in the DB is not necessarily the best
idea, this is how you can do it:
Create a hidden field in your form for total_cost, so that the Insert
Record server behavior can build the necessary code for the SQL query.
Right at the very top of the page, create a separate PHP code block like
this:
<?php
if (isset($_POST['visitors'])) {
if ($_POST['visitors'] < 3) {
$num = 1;
} else {
$num = $_POST['visitors'] - 2;
}
$_POST['total_cost'] = $num * 20;
}
?>
That calculates the value of total_cost, and replaces the blank value
submitted by the hidden field.
--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
- 12
- Need help with image viewerI need a solution that will allow me to view a series of photos. I would
like 1 photo in full size and then a series of thumbnails underneath. As
they click on a thumbnail it would replace the full size photo. Is there a
script or plug in for this. I am using ASP/VBScript wiht DW8. Thanks
- 13
- Log in User, Authentication and Redirect in PHPI would like to create a PHP page which authenticates the user and redirects to
a specific and unique page based on their login info. There would be a finite
number of users (about 6) and the same number of unique pages to redirect to.
I'm using Dreamweaver MX and I know there is a server behavior in MX 2004 for
PHP but from what I've read here it's a little buggy. Besides I don't want to
upgrade just to do this.
Can anyone point me to a tutorial or explain briefly how I can do this?
Thanks in advance.
Robert
- 14
- Search Access DatabaseI have an access database and a search form comprising of 2 dropdowns
Specification and Pipe Type
I then have 2 text boxes Wall Thickness and Diameter
When all four fields are completed it shows the correct result.
If any fields are left blank including the dropdowns I want it to show the
result of only the completed text boxes
I think it needs a dynamic sql statement but not sure where to start
Thanks
Ste
<%
Dim rsSpec__MMSpec
rsSpec__MMSpec = "1"
If (Request.Form("mnu_spec") <> "") Then
rsSpec__MMSpec = Request.Form("mnu_spec")
End If
%>
<%
Dim rsSpec__MMGrade
rsSpec__MMGrade = "1"
If (Request.Form("txt_type") <> "") Then
rsSpec__MMGrade = Request.Form("txt_type")
End If
%>
<%
Dim rsSpec__MMWall
rsSpec__MMWall = "1"
If (Request.Form("txt_thickness") <> "") Then
rsSpec__MMWall = Request.Form("txt_thickness")
End If
%>
<%
Dim rsSpec__MMDiameter
rsSpec__MMDiameter = "1"
If (Request.Form("txt_diameter") <> "") Then
rsSpec__MMDiameter = Request.Form("txt_diameter")
End If
%>
<%
Dim rsSpec
Dim rsSpec_cmd
Dim rsSpec_numRows
Set rsSpec_cmd = Server.CreateObject ("ADODB.Command")
rsSpec_cmd.ActiveConnection = MM_connWP_STRING
rsSpec_cmd.CommandText = "SELECT * FROM qry_weld_pro WHERE spec_name = ? AND
wp_grade = ? AND ? BETWEEN wp_wt_from AND wp_wt_to AND ? BETWEEN wp_ps_from
AND wp_ps_to"
rsSpec_cmd.Prepared = true
rsSpec_cmd.Parameters.Append rsSpec_cmd.CreateParameter("param1", 200, 1, 255,
rsSpec__MMSpec) ' adVarChar
rsSpec_cmd.Parameters.Append rsSpec_cmd.CreateParameter("param2", 200, 1, 255,
rsSpec__MMGrade) ' adVarChar
rsSpec_cmd.Parameters.Append rsSpec_cmd.CreateParameter("param3", 200, 1, 255,
rsSpec__MMWall) ' adVarChar
rsSpec_cmd.Parameters.Append rsSpec_cmd.CreateParameter("param4", 200, 1, 255,
rsSpec__MMDiameter) ' adVarChar
Set rsSpec = rsSpec_cmd.Execute
rsSpec_numRows = 0
%>
- 15
- WorldPay script failing due to Recordset Repeat Region. Another way?Hi. I'm attempting to integrate a site with WorldPay. I've got it
submitting everything to WorldPay successfully, and it's displaying our
receipt page (WorldPay uses a script to display your page - on your server -
on their space). On my receipt page I am trying to include, amongst other
database content, a repeat region for one of the recordsets. Problem is,
the WorldPay script fails when the repeat region is included. If I take out
the repeat region code:
<%
Dim Repeat1__numRows
Dim Repeat1__index
Repeat1__numRows = -1
Repeat1__index = 0
rsItems_numRows = rsItems_numRows + Repeat1__numRows
%>
and....
<%
While ((Repeat1__numRows <> 0) AND (NOT rsItems.EOF))
%>
...Recordset Data...
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
rsItems.MoveNext()
Wend
%>
...it all works again! So, basically, I've narrowed it down to the repeat
region being at fault. Is there another way to code a repeat region?
WorldPay "can't offer support for scripts", so I'm having to ask the
question here, although I can't believe they've never come across this.
Any advice would be greatly appreciated. Thanks.
Regards
Nath.
|
|
|