-
Posts
82 -
Joined
-
Last visited
Everything posted by Miriam
-
I gave up on trying to use an iFrame for the MT content. Instead I thought I'd try to get my site template into the MT template itself. After much pulling of hair and gnashing of teeth trying to put my template information directly into the MT templates, and getting many error messages which I couldn't decipher, I decided to try going the other way. I created a new blank document in Dreamweaver MX2004 and applied my template to it. I then copied what I hoped were the pertinent sections of the MT template into the document. I made sure all links to images and navigation were absolute not relative. Then I copied the source code for the file and pasted it into the appropriate MT template. With a little more tweaking, it worked! I followed the same procedure for the other templates I needed. So I didn't use iFrames after all. I "wrapped" my Dreamweaver site template around the MT code. And it only took me about 6 hours. Miriam
-
Wow, thanks for such a wonder tutorial on iFrames! I'm sure many will find this very useful. My question about putting the MT output into an iFrame is that MT automatically generates the output, and I'm not sure how to access that information. Miriam
-
I just re-designed a site using MT to incorporate news articles. I've been able to incorporate the "headlines" in a sidebar that displays on every page. What I can't figure out how to do is get the actual full articles into an iFrame so that they maintain the same look as the rest of the site. I need some help figuring out how to call these pages when the permalink in the side bar is clicked so I can put it in the url call in the iFrame. Here's the site: Fair Oaks Chamber of Commerce Thanks, Miriam Note: I put the Member Directory and the Calendar in iFrames ok, I just can't figure out the MT tags and how to use them.
-
I have a client who wants to be able to update their own site content. I looked at various CMS solutions, and most seemed too complicated and/or expensive. I'm experimenting with Moveable Type, and can see that it has potential to be used as a very simple CMS system, and I'm wondering if anyone has used this program as a simple CMS.
-
I submitted a help ticket, and someone in support was kind enough to create this .htaccess file for me. The one for domain1 was placed in the domain1 folder, and the one for domain2 was placed in the domain2 folder. /domain1 >RewriteEngine on RewriteCond %{HTTP_HOST} ^domain1.main.biz$ [OR] RewriteCond %{HTTP_HOST} ^www.domain1.main.biz$ RewriteRule ^(.*)$ http://www.domain1.com [R=301,L] /domain2 >RewriteEngine on RewriteCond %{HTTP_HOST} ^domain2.main.biz$ [OR] RewriteCond %{HTTP_HOST} ^www.domain2.main.biz$ RewriteRule ^(.*)$ http://www.domain2.com [R=301,L] I've been trying to study this code to try to understand what the different parts mean, but I'm not there yet. Part of my problem occurred when I got very confused about what to do with the subdomains I had originally added in the main.biz control panel. And the re-directs I set up. Originally, everything worked. But when the client asked me to separate everything, I deleted the redirects, and I deleted the subdomains. That caused problems, and I finally figured out I had to put them back so I could redirect them and then the rewrite worked. I'm still confused, but it's working.
-
Yes, I'm a reseller. I got the problem sorted out and everything is pointing where it should. Whew.
-
I originally created a domain (main.biz) and then created domain1.main.biz and domain2.main.biz on the server. All three (main.biz, domain1.com, and domain2.com) are registered domain names. It was then set up so that when someone typed in domain1.com, they would be sent to domain1.main.biz and that is what would show in the url address bar. Everything was working fine. Then the client decided he wanted everything separate. So I disengaged domain1 and domain2 from main.biz. They now are separate accounts and are reached at domain1.com and show domain1.com in the url address bar. That's working fine also. domain1 and domain2 are still physically located in the main.biz directory as separate folders. So the paths are: public_html/domain1/ public_html/domain1/ within the main main directory. Now my problem is that the original addresses of domain1.main.biz and domain2.main.biz have been spidered and are listed in the search engines. When these old links are clicked, they still work and go to domain1.main.biz and domain2.main.biz, that is what shows in the url address bar. I need to write an Apache ModRewrite in the .htaccess file of main.biz which will redirect any requests for domain1.main.biz to domain1.com and domain2.main.biz to domain2.com. I have read the rewrite rules and have tried to write them, but I don't understand what I'm doing and it doesn't work. Can someone please help me write the rules correctly? Thanks so much, Miriam
-
Using OR wasn't right for what I needed, but someone from another forum provided this answer, and it works. Thought I'd share in case someone else could use it. SELECT COUNT(*) FROM Attendees AS A1 INNER JOIN Attendees AS A2 ON CONCAT(A1.FirstName, A1.LastName) = CONCAT( A2.FirstName, A2.LastName) WHERE A1.EventYear = '2003' AND A2.EventYear = '2004' I'm still studying it to figure out what it's doing so I can do it again. Miriam
-
I have an event database named Attendees, which spans a number of years. When attendees sign up, they get a unique auto increment number, so the same attendees can sign up in multiple years. I am trying to get a count of how many of 2004's attendees also attended in 2003. The columns I'm intererested in are the Attendee.LastName and Attendee.EventYear. This is not a large database, so I know the answer I should get. Total attendees for 2003 and 2004 are 77, 59 in 2003 and 18 in 2004. Of the 18 in 2004, 6 also attended in 2003. So the answer I need to get is 6 Here's what I've tried for the query: SELECT COUNT(Attendees.LastName) FROM Attendees WHERE Attendees.EventYear='2003' AND Attendees.EventYear='2004' GROUP BY Attendees.LastName) This doesn't work. Can anyone help me put together a query which will count the duplicate names in the database? Thanks, Miriam
-
Hi Neil, I'm a web designer in Northern California, and I'd love to help you out. Miriam
-
I received an email about this and I'm wondering if our servers are affected by this and will they need the patch fix? Here's the info: US-CERT Technical Cyber Security Alert Would like to hear from the tech people about this. Thanks.
-
I finally got around to exploring awstats, and was really impressed with the information available. But I have a questions about the reporting on robots. I found an entry for May 8: Unknown robot (identified by 'robot') hits: 320+2 bandwidth 43.79 MB This robot used a tremendous amount of bandwidth. I would like to exclude it in my robots.txt file, but since it only identified by 'robot', I don't know how to write the command. Could someone tell me how I can exclude this particular unknown robot? Thanks Miriam
-
I also use CuteFTP, and there is a way to view the .htaccess file as well as any other hidden files. I'm using 6.0 Professional beta version, but I used to do it in previous versions, it just may be in a different menu selection. In version 6.0, go to the View menu. Select Filter. In Filter Properties, check Enable server side filtering. Then in the Remote filter box, type in -a This will make all files visible, and you can directly edit the file on the server, or transfer it to your local drive, edit it and upload it again.
-
Mike, just to let you know, I copied and pasted what you wrote into my .htaccess file, then changed to the correct path names...and it works! I couldn't see anything that I had typed differently that you, but there must have been something, 'cause it definitely liked what you typed better. I have accomplished getting the pages to look like static url's. I'm now going to re-submit to the search engines and hope to get better placement. Thanks so much for your help! Miriam
-
Mike, Do you have any other suggestions on how I can get this to work? Thanks, Miriam
-
I'm studying your code and trying to understand it.... but not really understanding it at all So if I wrote the code in the .htaccess file correctly, why isn't it working? Sorry for being so dense. Thanks, Miriam
-
Yes, using the correct domain: "http://64.39.23.130/cgi-bin/cart/cart.pl?db=goodies.txt&merchant=goodies&search=LucyNewItems", if you put that in the url address, you will be taken to the product page. Could you explain the test that you wrote so I could try it? Did you write in an .htaccess file? How did you run it to test it? Did your test show that this should have worked? Thank you for your help... Miriam
-
Good suggestions, but that didn't work either.
-
I have a shopping cart that requires a url that looks like this: ****/cgi-bin/cart/cart.pl?db=goodies.txt&merchant=goodies&search=LucyNewItems I'm trying to use Mod rewrite in the .htaccess file to make it more search engine friendly. Here's what I have: RewriteEngine on Options +FollowSymlinks RewriteBase / RewriteRule ^\.htaccess$ - [F] RewriteRule ^(.*)store/(.*)$ $1cgi-bin/cart/cart.pl?db=goodies.txt&merchant=goodies&search=$2 Then on the html page, I've changed the link to: ****/store/LucyNewItems If I understand what mod rewrite is supposed to do, it should take the new link format and translate it back to the form that the database requires so as to bring up the correct product page. This isn't working. It produces a 404 file not found error. Can anyone tell me what I've done wrong and how to get this to work? Thanks, Miriam
-
I better write down how I did it, 'cause 2 days from now I won't remember what I did. Boy, I hate getting older BTW, Don, I have two Poms along with the Chihuahua, and a toy poodle/maltese. Your Pom looks so sweet, and I can see you enjoy the kisses. Miriam
-
I set up a subdomain and passworded the directory while it's under construction. I neglected to write down the username and password I assigned it, and can't remember it. I can't figure out how to unprotect the directory in cpanel so I can do it again and write it down this time. Thanks, Miriam EDITED: went back into cpanel and tried again and solved the problem. Please disregard this post.
-
Yes, I did look at the amember script and saw that it ties it to the IP address. I'm not sure how this works for people who get assigned a new IP address each time they access the Internet. I guess I need to post this question on their forum. Thanks, Miriam
-
I've had a request from a client to create a members only area of his site. But he has a special requirement that I don't know anything about. He wants to be able to tie the username/password to the particular computer from which the person signed up. His intent is to prevent passing passwords around to friends. I know scripts can capture the IP address, but can the computer name be captured and put in a mysql database? Thanks, Miriam
-
Hi Philip, I do logo design as part of my web design business. Please visit my site at: www.design2010.com and go to the pricing page. I'd be happy to work with you. Miriam
-
That down arrow is exactly what I was looking for. I had no idea that's what it did. Thanks for that tip!
