cilla 15 Light Poster

Check out ProcessWire CMS/CMF (Content Management Framework isn't something you hear often). It's like what most people coming from WP-as-a-CMS development, with Joomla and Drupal as the leading alternatives, dream about. I think I've mentioned it in response to someone else before only because it's so awesome and intuitive, even for non-devs, which there seem to be plenty of on this forum as well, looking to get results fast. Well, PW is a great solution. The learning curve is cake, from what I've found, and I'm not very experienced at all myself in programming or server-side development, just dabbled some. The community is also incredibly responsive, helpful and encouraging. Of course, the platform you choose to build on depends heavily on what you intend to build; but I'd give PW a look-see for either this or future projects.

diafol commented: Excellent link. Thank you. PW looks really nice. Will investigate when I get time +15
cilla 15 Light Poster

@cereal: OP said those are just replaced in this code... I gather... or verbatim, "where $ username is my username and $ password is my password but (obviously i cant show it)" so I'm guessing that's not how it actually is in his code

cilla 15 Light Poster

Well the form you'll have to create in HTML as well... A database table is not part of a webpage...

Your clickable table cells also need to be distinguishable from their header cells, assuming you don't want a form to open when clicking on the "Monday" column header; you only want to open the form when an actual date cell is clicked. To do this you can just add "class='datepick'" or whatever you want to name the class, to the td element on line 61 of your code posted.

Then you can use jQuery to enable a click event on the cells using the selector '.datepick', to open up your [HTML] form...

cilla 15 Light Poster
cilla 15 Light Poster

How might I gather all the songs in my music library (maintained in iTunes) on Mac OS X 10.8.5 with ID3 title tags (I guess? their titles in iTunes) that consist of 4 random capital letters. Or all the ones whose titles are 4 characters long, case insensitive, or mixed character types... if they're just 4 in length... anything that could help me narrow it down to that specific criteria. My whole iTunes music library is contained within one folder, to be clear, so anything that could identify these for me within a particular folder will work. Thanks much.

cilla 15 Light Poster

WP is PHP. Work with that if you're trying to implement an external API within a native widget.

cilla 15 Light Poster

This isn't really a web design question either...

cilla 15 Light Poster

There are many ways to do this. How you should do it really depends on what you know, and what you have to work with (i.e., your web hosting/server type and what it supports).

cilla 15 Light Poster

Well the description that comes up for the site sounds more like their old site, but that is in a different subfolder and has its own separate description that's different than the one that shows up for just the domain itself. The index page that now shows "Take 30 years of innovation in catamaran design, 40 years of the finest, most advanced research and development in American yacht manufacturing, passion, customer feedback, and craftsmanship, and the result is stunning: Introducing the Gemini Legacy 35." in the source's meta-description had none previously, I only just added that when I made this post, so now I'm just waiting to see if it changes in the next few days or whatever.

It'd be very interesting if Google made it up... like Dani suggested as a possibility... I mean I know the descriptions aren't necessarily taken from the meta tags but usually you can tell when it's just Google's extraction, it's usually a quote from the content on the page. I didn't think Google was THAT smart as to have come up with "Manufactures the Gemini 105Mc Cruising Catamaran and the Telstar 28 Trimaran. Includes company history, forums, and specifications."

I don't even think we have a Google Webmaster account for that site, I wanted to check but didn't see it in our site list in GW... guess I should add it... except we do have a Google Verification file on the server, so wouldn't that mean there is one somewhere? I'll have to …

cilla 15 Light Poster

My company has a website www.geminicatamarans.com.

All their websites and their site servers are messy, this one's no exception. They have it set up currently with the index page "redirecting" with JS (window.location.href) to a WP site in a subdirectory (which used to take even longer because there was an ASP.NET form runat server directive in there...... it's an Apache server......), but then their old website (Joomla) is still accessible in a different subdirectory (looks better too but oh well, our so-called programmer has been working on a new website for them for ... 6 whole months now, it's not even complicated, nor is there any content management).

So I've been checking around in all these places and still can't find the meta-description that shows up in Google for just that domain itself. It's inaccurate and needs to be changed, but I don't know where it's even coming from, so I don't know if I'll be able to override it... Should adding the meta-description to the index page do the trick? I did that but it should take a couple days anyway to show up... I am just so confused about where this description is being pulled from.

cilla 15 Light Poster

Well actually so it works perfectly for me when I submit messages through the forms, from different computers at different locations, but the client is saying he's submitting entries as well and not receiving those. How could it only not be working for him?

cilla 15 Light Poster

Okay I feel stupid, I just had to add 'method="post"' to the forms... doh

cilla 15 Light Poster

I'm working on a site that had to be customized from a templatemonster.com template. It's just about finished except the contact form only seems to work fully in Firefox, which is odd? In FF, IE, and Chrome it LOOKS like it works, and in the first two the submissions come through immediately to my email, but via IE the form name part of the subject line is lost, which is a hidden input field in the form. Only ' from: ' . $_POST["name"] shows in the subject (the actual name entered in place of the variable). I haven't gotten any of my submissions through Chrome.

What/how/why could this be..?

cilla 15 Light Poster

What are you talking about?

cilla 15 Light Poster

I have the same code snippets included for the header and footer, so they're all identical across all pages on this site. Yet, after updating the site files on my client's webserver today, he says on four of the eight total pages, the footer is essentially taller, and on three of them (of the four), the whole page content shifts to the right.

This makes no sense, as they all share the same layout, same exact header and footer (via php includes, save for some text variable/styles that don't change anything/make the same change on each page, such as bold current menu items, etc.).

So.. Client said he was using IE11, on Windows 7 [Professional], which I have and when I check in my IE, I don't see these effects. (However, I have Home Premium version, while he has Pro, so... any chance that could actually make a difference?)

He said he's cleared his cache...

Any ideas.....?

Thank you much.

cilla 15 Light Poster

Okay maybe the issue is as described here: http://gidden.net/tom/2006/05/26/4/ -- i.e., changes to htaccess file take time to take effect.

If that's the case what would any of you who have considerable experience with GoDaddy suspect to be the culprit in my .htaccess, given my aforementioned configuration?

Thanks much.

cilla 15 Light Poster

Upon uploading my site files to a GoDaddy hosted website -- with a "coming soon" sort of maintenance page I'm assuming is generated by GD (headline "Future home of something quite cool") -- that's on a shared FTP account for which the root is a different domain and there are others under it (root site), but the root site has no htaccess file and the /www/ htaccess file is blank, for one thing; I know mine works, does on my localhost; and so from the root site folder '/', the subject site's path is 'www/site/', and subsite.com shows the placeholder welcome/coming soon page I mentioned (welcome.html) and 'subsite.com/www/site' shows my index.php I uploaded (the previous site was in /www/, so I uploaded to /www/site/). So 'subsite.com/www/site/about' is supposed to show my about.php, but instead returns a 404 error -- and not my 404 error doc specified in my htaccess file neither.

Here is my .htaccess in /subsite/www/site/:

Options +FollowSymlinks
Options -Multiviews

<IfModule mod_rewrite.c>

    SetEnv HTTP_MOD_REWRITE On
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^([^\.]+)$ $1.php [NC,L]

</IfModule>

ErrorDocument 404 /subsite/www/site/404.php

and here are the contents of the original file in my localhost version (which works just fine):

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]

ErrorDocument 404 /subsite/site/404

in XAMPP, on Win 7 64-bit, so the root folder being /htdocs, and in /subsite/ there's stuff like notes and psd files.

I have no experience with GoDaddy but I've tried all solutions on this page

cilla 15 Light Poster

About a month ago our developer changed the URL for all the programmed pages; before they were all /x_y/somepage.aspx?a=1&b=2&z=7&h= for example and that was changed to /y/somepage.aspx?foo=bar&b= (the relevant part being the first section in bold). However all the pages are still accessible via /x_y/... (which is the actual name of the directory on the server). Therefore, we have a duplicate URL problem there for all pages. In Google Analytics we're seeing both versions of any given page.

So how to clean this up? Would specifying a canonical URL (link rel="canonical" tag in head) do the trick? Is there any way to do that sort of thing at the directory level, rather than having our programmer add that to every page?

Would much appreciate some insight from any of you SEO wizards out there, thanks.

cilla 15 Light Poster

You can use a Javascript redirect in the <head>:

<script type="text/javascript">
window.location = "http://www.nanotekindustries.com/#top";
</script>

FYI, you have Caribbean misspelled. Also site does not work correctly in latest Firefox. And you might want to make the email address there a mailto: link.

asdfghjklasdfgh commented: fast answer +0
cilla 15 Light Poster

None of the listings on our ASP.NET website at my company appear in search results. Everyone's just universally accepted (like always) this fact, and just try to work around it. Now my boss is saying for one of the brands we're a dealer for we've gone way down in search results and need to create more static HTML landing pages of BS random useless content.

I know they don't care to know why, but I would like to know. Google does come across these listings, as I can see in the duplicate titles list in Google Webmaster Tools... The "Basic Information" page, at least; then there's Full Specifications which I can't find in that list, and I know they all have the same title so they should be there too.

The site itself is a complete mess. No URL routing/SEO-friendly URLs whatsoever, meta tags and titles are a mess, GA tracking is useless as it's not appropriately configured, server errors left and right, many of the basic functions don't work, plenty other basic functions that most websites have working fine our developer can't make happen... like searching our manually-maintained news database (of links to copies of sent email campaigns on our server), RSS (big one, for listings, oh well), Update Profile, login (so many people had problems logging in that they took away the passwords; still we get complaints and all you have to do is put in your email).......... so you see...

But can anyone tell me why our …

cilla 15 Light Poster

www.unitedinblue.com

There's a lot of JS and ajax and extra scripts and things (far as I can tell at a first look) on this website, some of which don't even seem to serve any purpose. If you look in the source (via Inspect Element, not actually viewing the page source, cuz of the ajax and crap -- if you try to reload the page, for example, you get a 404; the history is intact though), you'll see there's an extra menu as well, first thing in the body (ul.onepage-pagination) that's invisible, but I don't see any styles that should be rendering it as not visible or not displaying. There's no text wrapped by the a elements within the list items, so it could just be that, but when I edit it in DevTools and add text in the links it still doesn't appear.

But my main issue is that the navbar that does display (bootstrap-based), is invisible on mobile devices -- not when you shrink the screen to mobile size, but only when viewed on an actual tablet or phone. Can anyone tell me why that is? Perhaps it's the bootstrap JS trying to shrink it to the dropdown menu for mobile, without that intact, but then that should happen when you shrink the window as it normally does in bootstrap, based on viewport size.

Please help me figure out how I can figure this out. I have the user-agent switcher Chrome extension but that doesn't seem to …

cilla 15 Light Poster

Yeah, unfortunately I don't have access to the source code, and nobody else cares to find out or have our programmer look into it, they'd rather just blame it on Constant Contact. I figured to find out the actual source of the problem the code needs to be debugged, logs checked... that sort of thing... on our server's side, I just wanted to clarify that it has nothing to do with the redirect links, which it obviously doesn't. Thanks. That's all I have the power to do. Still no one cares. You have no idea how many errors and bugs there are throughout our site all the time. It's straight ridiculous.

cilla 15 Light Poster

When clicking on listing links from an email sent via Constant Contact, which masks the links with a tracking code that redirects to the given link, the accessed pages produce a server error 500. Most of the page loads, except for the dynamic listing content which the page is meant to display. I've encountered this error NOT from Constant Contact links before, just browsing the site, but our IT guy says "the initial URL is the tracking URL with some java script in it"... then goes on to say that it has to do with java not being updated on our computers, and nothing to do with the server. I think it's just that the server times out before the redirect goes through. Or either way, there's no "javascript in the URL", and javascript and java aren't at all the same thing.

I'd greatly appreciate if someone could help shed some light on what is actually going on here.

See, the initial Constant Contact links look like this:
http://r20.rs6.net/tn.jsp?f=001z7k8t_ktkq_Kgjb6oUCGE25-wLbQOTyP2qtFdWeHpksY8M6c8a3YBKqSSksqdrSR6r5v6g8SPvZg6Y_rsioK4L_ImzStwhewgDhxSBkXR-pgGBX4UxffL52aUybWq7DWOQqts7A14XyLibj3uxR16I2Ja1rXOK1qGbGMBVR_bdQR5IBRTlrB4-bzlizcEW-0bxD3YxZw9gEQ2CORxadlVbQAb5dkqgNFqOu0cPh0NGiQ6n20LPqNWcdSH4_k-VFEv-VkpLHqAoY=&c=1o0_rd9BgTaTWgFZEMcOmhhRsV_4ba_BFc37-icyjV03EV9IE8cUVw==&ch=8T0E5b0urUObuyz3eLOpmV4Qc4QacWH-uslCofeuylK43nqqx4mlMA==

Anyone see any javascript in that URL? I don't. Just a long tracking code, URL QUERIES (i.e., ?f=...&c=...), which are not JS. Sure it's being processed by a Java Server Page, but once it redirects that shouldn't have anything to do with it anymore, should it?

If that redirects to a page that produces a SERVER ERROR, is the responsibility not on the website's part to handle the request? The links are correct. If the listing doesn't show …

cilla 15 Light Poster

...or a simple grid system if you don't need all the bells and whistles that comes with full-featured CSS/design frameworks like Bootstrap. (You can also/alternatively get a custom build of Bootstrap with only its grid system.) 960.gs, for example, is solely a grid system. Implementing it in your layouts will help ensure proper positioning across screen sizes, with just a little TLC.

cilla 15 Light Poster

& customize as needed to get desired size and positioning...

cilla 15 Light Poster

Just use this:

<?php
// Load the stamp and the photo to apply the watermark to
$stamp = imagecreatefrompng('stamp.png');
$im = imagecreatefromjpeg('photo.jpeg');

// Set the margins for the stamp and get the height/width of the stamp image
$marge_right = 10;
$marge_bottom = 10;
$sx = imagesx($stamp);
$sy = imagesy($stamp);

// Copy the stamp image onto our photo using the margin offsets and the photo 
// width to calculate positioning of the stamp. 
imagecopy($im, $stamp, imagesx($im) - $sx - $marge_right, imagesy($im) - $sy - $marge_bottom, 0, 0, imagesx($stamp), imagesy($stamp));

// Output and free memory
header('Content-type: image/png');
imagepng($im);
imagedestroy($im);
?>

src:PHP Manual

cilla 15 Light Poster

It depends on what you mean to achieve. For simple, static-content sites, you're good with just a code/text editor like NotePad++ (I use that too), or Sublime Text, Textmate, ... anything with code highlighting, to improve readability, at least. They offer more bells and whistles than that, but for starters just get used to that.

All you'll need to write is HTML to mark up pages, CSS to style them, and JS if you want to control any client-side behavior (after the page has loaded). Past that, if you want to go dynamic, you should look into PHP, a server-side programming language built for web.

Hope I near sufficiently answered your question, although I can't guess what you mean exactly by "software"... that's a loaded term.

cilla 15 Light Poster

^ what he said

cilla 15 Light Poster

You can try this:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="Serve PHP files sans ext" stopProcessing="true">
                    <match url="^(.*)$" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
                        <add input="{REQUEST_FILENAME}.php" matchType="IsFile" ignoreCase="false" />
                    </conditions>
                    <action type="Rewrite" url="{R:1}.php" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>
cilla 15 Light Poster

With webdev it's also easier to get your foot in the door... I think... There are countless opportunities.

cilla 15 Light Poster

Thanks for spelling that out for us, Mike.

cilla 15 Light Poster

What bad grammar indicates to me is a lack of critical thinking. It's nothing deep or complex, but that's even more reason that the difference between "it's" and "its" for example should be apparent: i.e., because it's just not that difficult. It makes sense, if you think about it AT ALL. So what is it, you can't spare that tiny spurt of thought to get it right? Maybe that's a bad example because it's only different written, and I suppose some people have no need to write. But in my opinion it's the same difference, I think about it all the same in my pretty little head.

So bad grammar doesn't look good, that much is true, it doesn't read well. Thing is, like someone said on the first page, so many people go to the mall rather than the library... (paraphrase)

Then when it comes to coding, I really get bothered by things like misspellings, especially in code, things like that -- because the thing is that the person writing it is most likely overlooking a slew of other little things too, "minor details", but in programming those can make all the difference; and if your code works, it's very unlikely that it's anywhere close to optimal. This is just from what I've seen. I'm no professional programmer by any means anyway, but I have been cursed with a critical eye (and a hearty slice of humble pie). Grammar and coding are similar in that they are/have syntactical standards …

cilla 15 Light Poster

7pts?

Seby1, that's what I'm talkin about.

and coping, too true.

mikivtc, I recommend you get with the punctuation program. It might help you organize your thoughts.

cilla 15 Light Poster

Oh, well thanks for the affirmation :) Howdy Jorge

cilla 15 Light Poster

I've been really interested in Django lately, so I came here to check out the scene on the forums, only to find there's no Python/Django subforum in Web Development. Where can I come on here for support regarding web development with Django?

cilla 15 Light Poster

Good day, fellow IT enthusiasts.

I am a "super user", and intermediate web developer since the age of 8, having spent so many long hours in childhood on the internet (when I wasn't reading, which I no longer do).

Now in my early twenties, already a 2x college dropout.

I am compulsively drawn to computers and IT, but have seemingly too much to learn. I like languages/linguistics, formal logic, mathematicas... all that structured syntactical type of stuff really appeals to me.

What I'm good for as-is is music, but that's irrelevant here.

Cheers to DaniWeb!