Jump to content

xenooreo

Members
  • Posts

    11
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

xenooreo's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. www works fine, but one of the scripts just won't function properly if www is used.
  2. For a site I'm working on, for some reason if 'www' is in the address, it will get a bit messed up. So I wanted to use .htaccess to simply remove www from the address and just use http:// Now... how would I do this? [img src=\"style_emoticons/[#EMO_DIR#]/laugh.gif\" style=\"vertical-align:middle\" emoid=\":laugh:\" border=\"0\" alt=\"laugh.gif\" /]
  3. Thanks, works great. Just wasn't quite sure how I would connect 2 of them. [img src=\"style_emoticons/[#EMO_DIR#]/smile.gif\" style=\"vertical-align:middle\" emoid=\":smile:\" border=\"0\" alt=\"smile.gif\" /]
  4. Hey, is it possible to somehow use multiple WHERE's in a SELECT query? I'm working on a photoshop site, and I need the results to be something like WHERE `category` = 'tutorial' and WHERE `isFeaturedContent` = '1' However, I'm having difficulty getting it to do both :P Thanks for your help in advance!
  5. I've noticed that div aligning tends to not to work that well... If you want to use divs you may want to use <div style="float:left;"> and vice versa; all of course depending. A table may be a good idea.
  6. Thanks very much [img src=\"style_emoticons/[#EMO_DIR#]/laugh.gif\" style=\"vertical-align:middle\" emoid=\":laugh:\" border=\"0\" alt=\"laugh.gif\" /]
  7. Alright, I'm thinking that the answer to this question is probably pretty easy [img src=\"style_emoticons/[#EMO_DIR#]/smile.gif\" style=\"vertical-align:middle\" emoid=\":smile:\" border=\"0\" alt=\"smile.gif\" /] In my MySQL database, I have my content stored in a table called 'mainsite_main'. In that table there is also a column called 'hits' which keeps track of how many hits that particular item of content has had. What I'm trying to do is select the entire column and add all the values together, to display the grand total amount of hits. Thanks in advance for any help ^^
  8. Yup... they've done some pretty amazing stuff with CSS at the CSS Zen Garden :P The one thing I like about the Joomla type system is you can use different HTML for the different templates. Hmmm... I have always wondered how the system on something like Cutenews works.
  9. I've looked around everywhere on the internet, but there seems to be very few guides on how to make a decent skin system for you site. Now obviously it's not any small feat, but still. It seems like a fairly popular thing, I would've hoped that I would have been able to find something. At the moment I have a PHP script which simply switches the CSS stylesheet and stores which one you're using in a cookie, but that's not really good enough :P If I was to make a skin system for my site, where would I begin?
  10. Hey folks! I have a bit of a problem, I don't think it's too horrible of one though. I really hope the PHP gurus here will bless me with their assistance ^^ My site does use PHP, and I am semi-familiar with it. It uses includes and loads content into the main template, etc, etc. Now the most important thing is, I wish to have user selectable templates for the site. At the moment, I sort of have that. A php snippet swaps the CSS stylesheet that is used, so the general look changes. But I want more than that; I would like the entire HTML to be able to be swapped, so that I can change entire div and table groups, images, the whole layout, etc etc, instead of having the same general layout that simply is displayed differently. For example, something that resembles some of the CMS template systems such as mambo or joomla. So yeah, in a nutshell, I need switchable templates. Can somebody point me in the right direction?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.