PDA

View Full Version : More Newbie Questions


Nodge
24-03-09, 13:39
First off I don't know any php so I'm at a bit of a disadvantage but I think the best way to learn is just dive in. For my first website I just added a direct link to shop window. I now have a second wesbite and have uploaded the client software with a view to tweeking and learning as I go. With the help from posts on this forum I managed to get my own logo banner at the top, had adjusted the width of the shop window, had limited the categories to just the couple I was interested in and was in the process of changing background colours and the like but now I'm just getting a Soap error come up saying I've used all my quotas. I saw somewhere that initially I'm only allowed 500 daily operations. Not sure what's classed as an operation but this error came up last night and is still there today so the counter or whatever hasn't been reset. I've certainly not accessed my website 500 times. So my first question is what's going on here? I've requested my quota be increased but not had a reply yet. What is an operation? Does this quota apply only to my client software or does it also apply to the direct link I have on my other website as well?

As I'm still a complete novice at php, my plan is just to get something presentable as a shop front and then link to it from my html home page. I have basic html knowledge and that way at least I can put in some meta tags and include any special offers and banners and the like which I don't think I'm up to doing in php. My second question is is there any great disadvantage in doing this or should I really do everything in php?

One of the pdf files explained that if you run the shop window client from a sub-directory rather than the root directory you have to edit the paths in certain files, including the index.php file. I've looked at the index.php file and not really sure what I need to edit. Could someone give me an example of what I need to edit to run the shop window client from a directory called "tgp"?

Apologies for the long post, but TIA.
John

Nodge
24-03-09, 19:00
Just to add that my counter has been reset to 500 but every time I go to my website after I've done some editing the count goes down by about 50!

Another quick question - I've changed the background colour for all the elements except for the "Popular Searches" element on the left. I can't see where this is specified in the CSS file. Is it somewhere else - if so where?
Thanks
John

Andy
25-03-09, 14:38
You do have alot of questions don't you?!?

I'll do my best...................

First off: Quotas
Quotas are reset at 5pm every day. The reason you'll be losing 50(ish) requests for your edits will be a combination of: you refreshing the page, bots hitting your new unindexed pages. There is something going on at SW regarding quotas, not sure exactly, but it may explain why you didnt receive a reply for your quota review.

PHP:
You can get away with NO PHP KNOWLEDGE. Thats the idea of Smarty templates. You say you are familiar with HTML, smarty is just HTML on acid. anything with {} is parsed based on the php output, but everything else is just plain old html.

Popular Searches:
I had a similar problem. The popular searches box isn't covered by other css elements. I forget what it is as I decided to do without it in the end, but you can get a fantastic tool for FireFox called "Web Developer" here (https://addons.mozilla.org/en-US/firefox/addon/60)
That has a function where it will display the full css tree of any element you are hovering over. This allows you to see, at a glance, exactly what each part of your page is.

I thik thats everything. Post back if Ive missed something.