1. Basic HTML Document

    Date: 08/18/15     Keywords: html

    In this HTML 5 Tutorial we will look at a very basic HTML document.  These three HTML tags are required in each HTML document.

    Source: http://webdev.livejournal.com/584857.html

  2. Google Analytics

    Date: 07/22/14     Keywords: google

    At work we are having a discussion about Google Analytics referencing information by page titles and URL changes (where the node id turns into the permalink we specify).
    If you add a minor correction to the title of a Drupal page, GA will treat it as a new page and start the counter all over again.
    If the person in charge of doing the reports is not aware of the title changes, it will mess up her reports.

    Is it possible to track GA information by Drupal node id's? Most systems will track by ID by default, but maybe there are some configurations that need to be completed in GA or Drupal before you can do that?

    We are considering implementing a procedure where titles and URLs are finalized even before the page is published, but this seems like really poor practice in my opinion because clients will still come back with title changes, or will ask to re-use the same page year after year with new content on it. There must be some other solution!

    Any help you provide would be greatly appreciated.

    Source: http://webdev.livejournal.com/584322.html

  3. Drupal blocks, beans, etc.

    Date: 05/12/14     Keywords: browser, css, html

    I need to create "hub pages" (pages with multiple blocks to different areas of a Drupal site) but I have limited access to what I can modify.

    Right now the pages that are supposed to be "hub pages" are just simple content pages with a series of divs and inline CSS as blocks, which IMO is a really bad way of coding pages when we can use Drupal to its full potential. And we're also wasting a lot of time tweaking the inline CSS which is being overwritten by the Drupal css...

    I think what we should be doing for browser compatibility is to use the "Drupal Blocks" area of the site to create blocks that can easily be added to multiple pages but I don't fully understand how Drupal blocks work.

    I'm not really sure what I should be doing and with limited access to most of the block types (the only blocks I can create are "beans"), I need to understand this more before I can get the access I need from the other team who installed the site.

    There are several other types of blocks already created so I added some HTML content to it, but I don't know how to add that block to a bean page or if it should be added to a content page?

    Please help.


    Source: http://webdev.livejournal.com/584098.html

  4. Wordpress migration from dev to production

    Date: 09/02/13     Keywords: php, database, web, hosting


    I downloaded the Wordpress source files to my development environment, where I am playing around with new features and adding content.
    Now that I have a better comfort level with Wordpress, I'd like to migrate my blog content to my production server through FTP.

    I understand I also would have to migrate the database too, since that's where all my content is stored.

    Should I go through the installation process on my production server, and then copy the modified databases over to production? Or should I just paste all of my PHP source files from dev into a new folder on my server and assume that things will work (I guess that is kind of a silly question?)

    Is there anything I should be aware of when pasting the files in Production and logging into it? My biggest concern is while I am going through the installation again, someone else could be trying to go through the Wordpress files as I am configuring my blog environment for the first time.

    I can't change the database names on my server, since it is going through a web hosting company, so perhaps it is better to go through the installation again in production, and then migrate the content from the databases.

    Your help is greatly appreciated!


    Source: http://webdev.livejournal.com/583728.html

  5. SQL injection .NET

    Date: 03/13/13     Keywords: sql

    The pentesters told use that the following code is vulnerable to SQL injection in our e-store:

    create procedure dbo.uspBeAfraidBeVeryAfraid ( @p1 varchar(64) )
    declare @sql varchar(512)
    set @sql = 'select * from ' + @p1

    How I should fix the issue?

    Source: http://webdev.livejournal.com/583006.html

  6. Event on closing browser window

    Date: 03/11/13     Keywords: browser, asp, java, web

    I am working on a web site (ASP.NET, FW4) which has a secure section (login required).
    I would like to clear the session variables when customer closes the browser.
    To achieve that I have placed a hidden button on the MasterPage (have tested, it works) and then trying to call the ASP method using JavaScript.


    (Also tried to put this call into body tag: )

    CustomLogoff is not being called. Thought when calling it like this:

    It works fine (on button click of course).

    Is there a way to make it work on browser closing too?

    Source: http://webdev.livejournal.com/582886.html

  7. web content accessibility and web forms

    Date: 10/05/12     Keywords: web, google

    I have to validate pages for web content accessibility standards, and I have to explain to the client why in certain cases having a radio button is more acceptable than a checkbox; but I can't seem to find anything to back this up.

    The website form uses labels, and is created by the client with some of the following options:

    Gender: Female: [] Male: []

    Languages spoken: English: [] French: [] Both: []

    The page does not validate server-side because the idea is you're supposed to fill out the form and click the "Print" button at the bottom, then send. Why they didn't create a fillable form in Adobe is beyond me, but that is the not the point right now...

    I do not think there is anything in the WCAG standards about using checkboxes or radio buttons but it seems this is often overlooked by web publishers. But if someone helps me find some good information to bring forward to the client, then that should be enough evidence to change the form.

    I tried doing a google search but I don't think I am choosing the search words, or something...so please help me out


    Source: http://webdev.livejournal.com/581821.html

  8. Catch undefined method calls in JS

    Date: 07/20/12     Keywords: no keywords


    There is an interesting task. I need to catch any undefined calls in my JS code. Is there a solution?


        function a() {
            alert('Hi, I'm a function!');
        a(); // works great
        a.b(); // call undefined function

    So, are there any ways to catch calls a.b() in my function a()?

    Source: http://webdev.livejournal.com/581007.html

  9. ARGH, any way I can find a anti spam guestbook?

    Date: 02/23/12     Keywords: html, hosting, spam

    Ok, if you didn't know, HTML Gear is closing. I'd used them for guestbooks on my personal pages for a long time.

    However they're closing, so I took them off. The service I switched to said they were anti spam but..

    First entry I get is spam. It's proly time to start hosting the guestbook on my own server since I can. Mind, I have access to recapatcha which seems to stop most spammers. Is there any scripts out there that'd allow that?

    Source: http://webdev.livejournal.com/579568.html

  10. Coding book recs?

    Date: 12/05/11     Keywords: html

    Hello everyone. I was wondering if anyone out there could give me some recommendations on current html 5.0 books? Or even sites. Many thanks in advance.

    Source: http://webdev.livejournal.com/577849.html

  11. embedding fonts on livejournal

    Date: 11/10/11     Keywords: no keywords

    I've spent a lot of time knowing the ins and outs of my lj theme 'tranquility ii'. One of the things I have never been able to figure out is how to embed a font from my own personal font library so that that anybody viewing my blog will see my entries with my selected font, regardless whether they have a copy of it on their computer.


    The font in question here is called Chandler, a vintage typewriter style font. From what I understand, embedding requires that a true type font be used. Is there a quick and easy way to convert a bitmap font to the required format? If so, would I be pursuing this objective in vain seeing as I don't know where to begin to embed a font for my livejournal entries?

    Source: http://webdev.livejournal.com/577704.html

  12. Writer's Block: International Skeptics Day

    Date: 10/13/11     Keywords: no keywords

    About my Ex and friend.

    Source: http://webdev.livejournal.com/576675.html

  13. Xfbdev startup on customize Linux kernel

    Date: 10/12/11     Keywords: linux

    Hi All,
    I just finished working on Xserver startup on Linux machine along with configuring kernel for that. I hope this would be helpful to guys, who hold less experience in Linux world.

    Before I begin, I just want to have some words with you guys that this blog is NOT a step by step guide to do things. It's just a list of my experiments I have done with development board. So this will provide an insight to people who are facing same problems as I did. But they must know some basics of Linux.

    Personally I never liked spoon feeding, some answers need to be dig up by yourself.

    So let's begin with Xservers. Xservers are most important thing for Linux GUI. In Linux environment, almost all Xclients (any GUI application) request to Xserver for Screen draw and other graphical operations(like Windows, button checkbox draw/movement on screen). The idea behind Xserver and Xclient is to run a light weight server which can process and send request to graphics hardware on Host machine. Now the Xclients can run on same machine or other and request to Xserver for graphical operations.

    One can find more details about X system on http://en.wikipedia.org/wiki/X_Window_System.

    So Xervers can be said of two types. One is Xorg, full featured Xserver.
    Second one is Xfbdev, which has some limited functionality as compared to Xorg. It is a generic Xserver, which does not know about the particular hardware and uses framebuffer provided by Linux framebuffer device.

    Now let's move on to kernel configuration required for kernel.
    The linux kernel must have support for framebuffer device and VESA driver support for framebuffer.
    following options should be enabled in kernel config:
    For Sandy Bridge architecture based boards, enable CONFIG_ACPI option too, to avoid DSDT table error.

    After building the kernel, all you need to do is to copy the kernel image under /boot directory with name like 'vmlinuz-' and make relevant entries in grub configuration.
    In grub entry for the kernel, add 'vga=0x318' (or any other suitable vga mode) in kernel boot option. [0x318 represents standard resolution of 1028x768x32]
    Now install the modules under /lib directory.

    Also u may need to build an initramfs/initrd, required for RHEL/ubuntu file systems.
    You can use dracut/mkinitramfs utility to build one.

    Place it under /boot directory and add it to grub entry.

    Under /boot/grub/grub.conf file, remove or comment out the line 'hiddenmenu' and set some time out.
    Now reboot the system.

    Select your custom kernel, and press enter. Kernel should boot and give you log in prompt. I have tried it with custom file system which does not belong to redhat/ubuntu. so i got command prompt. In order to have the same, one can add 'single' in boot option for custom kernel grub entry.
    Ensure the enumeration of framebuffer device nodes, like /dev/fb*
    Now execute 'export DISPLAY=:0'.
    Run 'Xfbdev'.
    Xserver should start and give you a graphical pattern with a X on it. X represents mouse pointer.

    Source: http://webdev.livejournal.com/576507.html

  14. JS/CSS load order incoherency

    Date: 07/11/11     Keywords: css, html, java

    [Edit: fixed CSS syntax in these examples. The development code is fine in that regard.]

    Using Firefox 5 on Windows 7, I ran into two related problems that must be common enough for there to be standard workarounds.

    1. CSS is not applied until after Javascript runs. Given the CSS:

    #id { width: 50px; }

    document.getElementById("id").style.width is undefined. This is using jquery's $(document).ready() which runs after everything else is supposed to be loaded. The standard body onload will run even earlier, with less of a chance that the CSS will be loaded if the problem is due to a race.

    Javascript can see the CSS style if it is set in the contents of an HTML style="" attribute, but you lose the benefits of CSS if you have multiple tags sharing the same style.

    2. Previously defined CSS does not apply to new nodes created by Javascript. [Edit #2: This does work. I had a typo in my code.]

    div.myclass { width: 50px; }  /* CSS */
    var node = document.createElement("div"); // JS
    node.setAttribute("class", myclass"); // CSS is not applied.
    node.className = "myclass"; // CSS is not applied.

    One solution to this one is to code every single CSS style change in Javascript using the DOM, but I would prefer not to have to do that.

    What are the best practices in these situations?

    Source: http://webdev.livejournal.com/575335.html

  15. RSS channel icon

    Date: 03/06/11     Keywords: rss


    Can somebody explain me how to change my RSS channel's
    default icon to personal logo (like those shown at the screenshot)?

    Thank you!

    Source: http://webdev.livejournal.com/574580.html

  16. Spammer problem on Vbull. Anyone know how to program a challenge question?

    Date: 02/28/11     Keywords: spam

    Ok. This is a odd question guys but hopefully someone knows enough about Vbull so I can tell the admin.

    I'm a moderator (just a member moderator, mind you) on a gaming forum. The trouble is we've been hit very very hard by spammers. Which is annoying the mods and admins to distraction.

    We've added a mod called Spam-O-Matic that auto denies spammers from reging tho it's not perfect.

    What I'd like to see done is (since the head admin does not like capatchas, she has trouble solving them) adding a challenge question on reging.(Like a game question that most should know, "Are you human?” or “Do you have a heartbeat above 0?”) The thing is we'd need to obscure the answer like a password. (We wouldn't want spambots to be able to figure it out easily!) The board itself is Vbull 4.03 if that helps..does anyone know a mod that could allow us to do that, and maybe randomize the question so it’d be more than one to further confuse spammers? Or could make one?

    Source: http://webdev.livejournal.com/574319.html

  17. Aesthetics vs Functionality

    Date: 02/11/11     Keywords: asp, web

    Where do you draw the line between looking good and working well? I feel obligated to give my clients as much control over the content of their website, but in doing so I think I subtract from what is visually possible.

    How do you work around giving the client the freedom to update the content while still maintaining a visually pleasing site? I sometimes struggle keeping the creative juice flowing when [almost] every aspect of the site can be editable.

    Source: http://webdev.livejournal.com/574058.html

  18. Inkwell Creative Hiring Web Developer

    Date: 02/11/11     Keywords: programming, css, html, technology, database, web, seo

    Inkwell Creative, a growing Portland, Oregon company focusing on web design, graphic design, interactive media, video and branding, is looking to hire a web developer. We are seeking a hard working team player and someone who is forward thinking when it comes to technology. You must be able to work with us in a collaborative team setting, know many coding and web programming languages and have a strong portfolio.

    5+ years of experience
    Strong portfolio
    Must be collaborative
    Knowledge of many coding/web development languages
    Knowledge of CSS and HTML 5, Content Management Systems, Flash, SEO programming, Integration into Databases
    Knowledge of iPhone apps a plus

    DOE. Benefits and paid-for parking. This is a salary position.

    Email a cover letter, resume and link to your online portfolio to hr@inkwellgroup.com. Please include in your cover letter any outside hobbies, passions and interests. We kindly request no phone calls and no employment agencies.


    Source: http://webdev.livejournal.com/573896.html

  19. Hide Things From Google?

    Date: 01/04/11     Keywords: html, web, google

    I'll be the first to admit I only know minimal HTML and use WYSIWYG feature of Dreamweaver to edit most of the website, I'm working on. Sadly I'm the only one in an organization I'm involved with that knows the most about HTML/web development. I didn't create this website, but I know it was made by another graphic designer that probably cared more about the looks than coding.

    Anyway, she made a portion only viewable if you log-in with a password and we host several documents like a phone tree up there. Someone found out about that you can access these without logging in if you searched for them on Google or other search engines. I'm wondering if there's anyway to hide these documents from Google/other search engines in Dreamweaver? Any information would be much appreciated, thanks!

    Source: http://webdev.livejournal.com/573218.html

  20. Using Tags

    Date: 12/28/10     Keywords: database

    I want to create a database of information, and I want to be able to support multiple tags to improve search capabilities.
    I'm not sure what is the best way to implement such a (tag) system.
    Wondering if anyone can point me in the right direction?

    Source: http://webdev.livejournal.com/572544.html

  ||  Next page

antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home