1. Creating a temporary staging table in SSIS

    Date: 08/24/07 (SQL Server)    Keywords: web

    I'm trying to create a temporary staging table in SSIS, and I assume I'm going about it the wrong way. I'm importing from a flat file into what I want to be a temp table I can then access from the next step in the package, but none of the destinations seem to have that functionality; the only temporary destinations I can find are DataReader and Recordset, and I can't figure out, once I set them as a destination in step A, how to then access them in step B. Not finding any relevant info on the web, maybe I'm using the wrong search terms.

    Anyone know how to do this? Thanks.

    Source: http://community.livejournal.com/sqlserver/62788.html

  2. Thumbnails of websites

    Date: 08/24/07 (WebDesign)    Keywords: web

    http://www.thumbalizr.com/

    "With thumbalizr you can take screenshots of any webpage you want.
    Use it for your presentations, documentations, visualisations or your webpage."


    *
    This could be useful

    Source: http://community.livejournal.com/webdesign/1301748.html

  3. web upload/download application

    Date: 08/24/07 (WebDesign)    Keywords: software, web

    I want to setup a page on my website that the client can easily upload/download files from my server. The files can be transfter to a specific folders on my server. It's kind of like web FTP without using the FTP software.

    Can anyone recommand any application that I can download or tutorial that I can learn myself?

    Source: http://community.livejournal.com/webdesign/1301455.html

  4. Hunting for invalid markup/ATM Subsystem Failure (DWCS3)

    Date: 08/25/07 (Web Development)    Keywords: web, google

    Hello all, new person here-- I go by Mer or Azurite, whatever strikes your fancy.
    I've got Dreamweaver CS3, because I love Dreamweaver and have been using it since v.4. Some things I'm still learning, like code rewriting and "applying source formatting." I'm thinking that when I click "Apply Source Formatting" in my Commands menu, it's supposed to do all the code-rewrite things that are set in my Preferences (I'm on a Mac, if that helps), but I'm never sure if it actually WORKS.

    Long story short, I seem to have a lot of invalid markup-- emphasis tags, to be precise. They have opening tags but no closing tags, and I have no way of finding them unless I'm peering exceptionally close at the code or I randomly discover a large "space" where the invalid markup tag < ! > would be, if it ever actually DISPLAYED anywhere besides the Property Inspector!

    Is there any way of hunting down that invalid markup? I have plenty of emphasis tags that are perfectly closed and nested, so I don't want to do a run-of-the-mill Search, but it doesn't seem as if there's a way to search for a specific tag that DOES NOT have a closing tag to go with it (where one is necessary).

    Any ideas?

    Also, slightly different subject, same program: has anyone ever encountered the "catastrophic" ATM Subsystem Error before? I got it twice today, but restarting the program both times let me get into it. A Google search of the error didn't return many results in English pertaining to CS3, and on Adobe's website, it couldn't find anything under that search string. I was wondering if other DWCS3 users may have encountered it and if so, what they did.

    Source: http://community.livejournal.com/webdev/431995.html

  5. Discover security breach, blame the co-workers?

    Date: 08/24/07 (Security)    Keywords: security, web

    IT managers in small, midsize companies believe staff members are responsible for online-security problems, survey finds. IT managers in small and midsize businesses blame their fellow workers for online security breaches--despite the fact many small enterprises still don't enforce Web usage policies.More than a fourth of European IT managers in...

    Source: http://news.zdnet.com/2100-1009_22-6204295.html

  6. Needing some help with PHP frames/CSS/Overflow!

    Date: 08/26/07 (Web Development)    Keywords: web

    I'm creating a new website, and I've come across a problem, so I was hoping someone here may be able to help. <3

    My layout involves a series of PHP frames creating a border-ish layout around the page, including a bottom border, with the "main window" in the center. Also, the layout is designed in a way that it expands for those with larger resolutions. I want to make sure the scroll bar only appears in the "main window" frame, but because the middle frame has no set height/width, I'm wondering if it's even possible?

    Any advice is muchly appreciated~

    Source: http://community.livejournal.com/webdev/432296.html

  7. a few more questions

    Date: 08/28/07 (WebDesign)    Keywords: web

    oh and I want to set up a form mail thing on my site in the contact us section. What would you suggest I use? is there a place where I can download a generic application or something?

    and

    Can anyone tell me how I would access the cgi bin on go-daddy?

    If you can't tell I am a bit new to this website design stuff. Any help would be appreciated.

    Source: http://community.livejournal.com/webdesign/1302319.html

  8. go live help

    Date: 08/28/07 (WebDesign)    Keywords: css, web

    I have been making my website with adobe golive.

    When I look at my website in golive it is fine. Everything is where it should be. When I uploaded some of my pages to the internet a lot of the elements shifted. I can't seem to figure out why this is happening.

    If you have any suggestions on how to fix this that would be great because it is driving me insane!

    -I used css for the background and a layout grid on top for all the elements.

    If you want to take a look at the pages in their testing stage here is the link:
    Dreadlordz

    Source: http://community.livejournal.com/webdesign/1302091.html

  9. SET IDENTITY_INSERT on an in-memory table?

    Date: 08/28/07 (SQL Server)    Keywords: sql, web

    I'm 98% sure this can be done, but I'm not finding anything on the web that explicitly says yes or no, and I want to rule out the possibility that I'm just banging my head against a wall. T-SQL, SQL Server 2005.

    Can SET IDENTITY_INSERT be used on an in-memory table? e.g.,

    DECLARE @m_tblOpenReceipts TABLE (
    ID INT IDENTITY (1,1), (etc.)
    }

    ...

    SET IDENTITY_INSERT @m_tblOpenReceipts ON

    Thanks.

    Source: http://community.livejournal.com/sqlserver/63141.html

  10. The horrors of frames

    Date: 08/29/07 (Web Development)    Keywords: php, browser, web

    I've always avoided using frames up til now, but I've recently had to implement a form spell checker script on a site I'm working on, and it's causing me grief. The code for the actual display is as follows:


    " marginwidth="0" marginheight="0"
    scrolling="auto" frameborder="0" border="0">
    " marginwidth="0" marginheight="0"
    scrolling="auto" frameborder="0" border="0">
    <br /> <h2>You must have frames enabled in your web browser to use the spell checker.</h2><br />


    The problem I'm getting is that the text displayed (i.e., the bit being checked) refuses to fill the window properly. Instead it forms one long line of text so that it has to be scrolled along. I've tried turning scrolling off, but it still displays in the same way - the only difference is that you can't read the rest of it. I've also tried adding frameset cols with a fixed width, but to no effect. The most frustrating thing is that as it loads, the text displays as I'd like it to, fitting nicely into the popup window, but then changes its mind. If anyone has any thoughts or suggestions, I would really appreciate the help!



    spellchecktest.php:



    if (!isset($reason)) {
        echo "\n\n";
    } else {
        // add stuff to make word red, etc.
        if($reason == "alldone") {
            echo "

    The spell checker has completed.
    Please close this window.

    ";
        } else {
            $workingtext=str_replace("\'","'",urldecode($workingtext));
            $workingtext=str_replace("\\\"","\"",$workingtext);
            $workingtext=str_replace("\\\\","\\",$workingtext);
            $workingtext=substr_replace ( $workingtext, "", $redend, 0);
            $workingtext=substr_replace ( $workingtext, "", $redstart, 0);
            $workingtext=str_replace ( "&", "&amp;", $workingtext);
            $workingtext=str_replace ( ">", "&gt;", $workingtext);
            $workingtext=str_replace ( "<", "&lt;", $workingtext);
            $workingtext=str_replace ( "\n", "
    ", $workingtext);
            $workingtext=str_replace ( " ", "&nbsp;", $workingtext);
            $workingtext=str_replace ( "&lt;a&nbsp;name=\"theword\"&gt;&lt;/a&gt;&lt;span&nbsp;style=\"color&nbsp;:&nbsp;red;\"&gt;", "", $workingtext);
            $workingtext=str_replace ( "&lt;/span&gt;", "
    ", $workingtext);
            echo $workingtext;
        }
    }
    ?>


    And spellcheckwindow.php... is long....



    sPHPell - Spell Checker





    if(isset($OrigionalText)) {
        // let's start to check the next word
        if (isset($CurrentWordStart) && $CurrentWordStart == "0" && isset($CurrentWordEnd) && $CurrentWordEnd == "0") {
            $thestartpos=0;
            $OrigionalText=str_replace("\\'","'",$OrigionalText);
            $WorkingText=str_replace("\\'","'",$WorkingText);
            $OrigionalText=str_replace("\\\"","\"",$OrigionalText);
            $WorkingText=str_replace("\\\"","\"",$WorkingText);
            $OrigionalText=str_replace("\\\\","\\",$OrigionalText);
            $WorkingText=str_replace("\\\\","\\",$WorkingText);
        } else {
            $thestartpos=$CurrentWordEnd;
            $OrigionalText=urldecode($OrigionalText);
            $WorkingText=urldecode($WorkingText);
            $IgnoreList=urldecode($IgnoreList);
            $OrigionalText=str_replace("\\'","'",$OrigionalText);
            $WorkingText=str_replace("\\'","'",$WorkingText);
            $OrigionalText=str_replace("\\\"","\"",$OrigionalText);
            $WorkingText=str_replace("\\\"","\"",$WorkingText);
            $OrigionalText=str_replace("\\\\","\\",$OrigionalText);
            $WorkingText=str_replace("\\\\","\\",$WorkingText);
        }
        
        // do requested functions here if need be
        switch ($spellaction) {
            case "change" :
                $changinglength=$CurrentWordEnd-$CurrentWordStart;
                $WorkingText=substr_replace($WorkingText,$ChangeToWord, $CurrentWordStart, $changinglength);
                $WorkingText=str_replace("\\'","'",$WorkingText);
                $WorkingText=str_replace("\\\"","\"",$WorkingText);
                $WorkingText=str_replace("\\\\","\\",$WorkingText);
                $CurrentWordEnd=strlen($ChangeToWord)+$CurrentWordStart;
                
                // let's go back and check it again
                $thestartpos=$CurrentWordStart;
            break;
            
            case "changeall" :
                $strbeforestart=substr($WorkingText,0,$CurrentWordStart);
                $findwordoffset=strlen($CurrentFormWord)-strlen($ChangeToWord);
                
                $numberofchangesbefore=substr_count($strbeforestart,$CurrentFormWord);
                
                $strbeforestart=str_replace($CurrentFormWord,$ChangeToWord,$strbeforestart);
                
                $CurrentWordStart=($findwordoffset * $numberofchangesbefore) + $CurrentWordStart;
                
                $strafterend=substr($WorkingText,$CurrentWordEnd);
                $strafterend=str_replace($CurrentFormWord,$ChangeToWord,$strafterend);
                
                $WorkingText=$strbeforestart.$ChangeToWord.$strafterend;
                
                // let's go back and check it again
                $thestartpos=$CurrentWordStart;
            break;
            
            case "ignore" :
                // do nothing, continue
            break;
            
            case "ignoreall" :
                // have ignore list checked below with each mispelling
                $IgnoreList=$IgnoreList.",".$ChangeToWord.",";
            break;
            
            case "closewindow" :
                echo "";
                flush();
                exit;
            break;
            
            case "cancel" :
                $sendbacktext=str_replace("\\","\\\\",$OrigionalText);
                $sendbacktext=str_replace("/","\\/",$sendbacktext);
                $sendbacktext=str_replace("'","\\'",$sendbacktext);
                $sendbacktext=str_replace("\"","\\\"",$sendbacktext);
                $sendbacktext=str_replace("\n","\\r",$sendbacktext);
                $sendbacktext=str_replace("\r","",$sendbacktext);
                echo "";
                echo "";
                flush();
                exit;
            break;
        }
        
        $sendbacktext=str_replace("\\","\\\\",$WorkingText);
        $sendbacktext=str_replace("/","\\/",$sendbacktext);
        $sendbacktext=str_replace("\\\\'","\\'",$sendbacktext);
        $sendbacktext=str_replace("'","\\'",$sendbacktext);
        $sendbacktext=str_replace("\"","\\\"",$sendbacktext);
        $sendbacktext=str_replace("\n","\\r",$sendbacktext);
        $sendbacktext=str_replace("\r","",$sendbacktext);
        echo "";
        
        $texttocheck=substr($WorkingText,$thestartpos);
        $texttocheck=str_replace("~","~~SPLSPACE~~",$texttocheck);
        $texttocheck=str_replace("' ","~~SPLSPACE~~~~SPLSPACE~~",$texttocheck);
        $texttocheck=str_replace(" '","~~SPLSPACE~~~~SPLSPACE~~",$texttocheck);
        $texttocheck=str_replace(" ","~~SPLSPACE~~",$texttocheck);
        $texttocheck=str_replace(",","~~SPLSPACE~~",$texttocheck);
        $texttocheck=str_replace("\n","~~SPLSPACE~~",$texttocheck);
        $texttocheck=str_replace("\r","~~SPLSPACE~~",$texttocheck);
        $stringofchars="`,!,@,#,$,%,^,&,*,(,),_,-,+,=,[,],{,},|,\",:,;,?,/,\\,>,.,<,1,2,3,4,5,6,7,8,9,0";
        $chararray=explode(",",$stringofchars);
        $chararraymax=count($chararray);
        $chararraycount=0;
        while ($chararraycount < $chararraymax) {
            $texttocheck=str_replace($chararray[$chararraycount],"~~SPLSPACE~~",$texttocheck);
            $chararraycount++;
        }
        
        // break into final word check array
        $textcheckarray=explode("~~SPLSPACE~~",$texttocheck);
        $textcheckarraymax=count($textcheckarray);
        $textcheckarraycounter=0;
        
        $pspell_link = pspell_new ($SpellLanguage, $SpellSpelling);
        $getsuggestions="";
        
        $misspellfound="no";
        while($textcheckarraycounter < $textcheckarraymax && $misspellfound == "no") {
            // let's check each word now.
            $thecurrentword=$textcheckarray[$textcheckarraycounter];
            
            if($thecurrentword != "") {
                if(!pspell_check($pspell_link, $thecurrentword) && !strpos("...".$IgnoreList,",".$thecurrentword.",")) {
                    $CurrentWordStart=strpos($WorkingText,$thecurrentword,$thestartpos);
                    $CurrentWordEnd=strlen($thecurrentword)+$CurrentWordStart;
                    $getsuggestions=pspell_suggest($pspell_link, $thecurrentword);
                    // echo $CurrentWordStart.$CurrentWordEnd;
                    $misspellfound="yes";
                }
            }
            
            $textcheckarraycounter++;
        }
        
        // if no misspells found, exit
        if($misspellfound == "no") {
            echo "";
            $alldone="yes";
        } else {
            echo "";
            $alldone="no";
        }
    }
    ?>
    $FormName="SpellCheckForm";
    $JavaText=" ";
    SPHPELLstartform($FormName,"spellcheckwindow.php");
    if(isset($OrigionalText) && $OrigionalText != "") {
        SPHPELLhidden("OrigionalText",urlencode($OrigionalText));
    } else {
        SPHPELLhidden("OrigionalText","");
    }
    if(isset($WorkingText) && $WorkingText != "") {
        SPHPELLhidden("WorkingText",urlencode($WorkingText));
    } else {
        SPHPELLhidden("WorkingText","");
    }
    if(isset($CurrentWordStart) && $CurrentWordStart != "") {
        SPHPELLhidden("CurrentWordStart",$CurrentWordStart);
    } else {
        SPHPELLhidden("CurrentWordStart","0");
    }
    if(isset($CurrentWordEnd) && $CurrentWordEnd != "") {
        SPHPELLhidden("CurrentWordEnd",$CurrentWordEnd);
    } else {
        SPHPELLhidden("CurrentWordEnd","0");
    }
    SPHPELLhidden("ReplaceWord","");
    if(isset($IgnoreList) && $IgnoreList != "") {
        SPHPELLhidden("IgnoreList",urlencode($IgnoreList));
    } else {
        SPHPELLhidden("IgnoreList","");
    }
    SPHPELLhidden("spellcheckfield",str_replace("\'","'",$spellcheckfield));
    SPHPELLhidden("CurrentFormWord",$thecurrentword);
    SPHPELLhidden("spellaction","");
    if($Browser == "Netscape") {
        $textboxwidth=12;
        $onepixwidth=183;
    } else {
        $textboxwidth=25;
        $onepixwidth=183;
    }
    ?>



       
           
           
       
       
       
       

            Change To:

    if($alldone == "yes") {
        SPHPELLtextbox($FormName,"ChangeToWord","Change To","","",$textboxwidth); 
    } else {
        SPHPELLtextbox($FormName,"ChangeToWord","Change To",$thecurrentword,"",$textboxwidth); 
    }
    ?>

           
           

            Suggestions:

           

           
           

    if($alldone == "no") {
        SPHPELLbutton("Change","onClick=\"document.SpellCheckForm.spellaction.value='change';document.SpellCheckForm.submit();\"");
        echo "&nbsp;";
        SPHPELLbutton("Change All","onClick=\"document.SpellCheckForm.spellaction.value='changeall';document.SpellCheckForm.submit();\"");
        echo "&nbsp;";
        SPHPELLbutton("Ignore","onClick=\"document.SpellCheckForm.spellaction.value='ignore';document.SpellCheckForm.submit();\"");
        echo "&nbsp;";
        SPHPELLbutton("Ignore All","onClick=\"document.SpellCheckForm.spellaction.value='ignoreall';document.SpellCheckForm.submit();\"");
        echo "
    \n";
        SPHPELLbutton("Finished (Keeps Changes)","onClick=\"top.self.close();\"");
        echo "&nbsp;";
        SPHPELLbutton("Cancel All Changes","onClick=\"document.SpellCheckForm.spellaction.value='cancel';document.SpellCheckForm.submit();\"");
    } else {
        SPHPELLbutton("Cancel All Changes","onClick=\"document.SpellCheckForm.spellaction.value='cancel';document.SpellCheckForm.submit();\"");
        echo "&nbsp;";
        SPHPELLbutton("Close Window (Keep Changes)","onClick=\"document.SpellCheckForm.spellaction.value='closewindow';document.SpellCheckForm.submit();\"");
    }
    ?>
       

    SPHPELLendform($FormName,$JavaText);
    if(!isset($OrigionalText)) {
        echo "\n\n";
    }
    ?>





    Thanks in advance!

    Source: http://community.livejournal.com/webdev/432693.html

  11. I've run out of ideas!

    Date: 08/29/07 (Web Development)    Keywords: web

    Alright, I've designed a small website for my mom, and I love the design. There's supposed to be a picture of a rose floating over the bottom right corner of the page. (like if it were lying across a book on a desk)
    Well, when the rose is there, you can't click the scrollbar.
    Is there any way to have a floating image that doesn't count as content?

    Link to the Site

    EDIT:

    never mind. I decided to put the content scrolling to the left of the rose and above the rose would be a clear div used for posting the possible appointment/business hours/announcements/ect.

    Source: http://community.livejournal.com/webdev/433036.html

  12. Server Woes

    Date: 08/30/07 (Software)    Keywords: web, linux, spam

    Greetings and Salutations!
    I have an interesting issue.

    I am running a mail / domain controller on SELinux.
    There is a webmin interface installed.
    There is webmail.
    The mail service is a variation of sendmail called SquirrelMail.
    The mail server is also running ClamAV and SpamAssassin.

    Tuesday a problem appeared around 11AM where the outbound mail service just stalls.
    I starting looking at the queue and I noticed an inordinate amount of replies to bad addresses from the Mailer Daemon that are timing out. On peeking in on them I discovered that they are bouncebacks on emails sent to bad addresses here and that they are spam (no surprise there). Many of these messages are stalling in the queue and I suspected that this was the problem. Clearing the queue did not fix the issue, but restarting sendmail did and still does make the outbound process work.

    So, last night, I updated ClamAV (no update needed), sendmail (update completed) and SA (update completed).
    I hoped that the problem would go away but it did not. In fact, it is now worse. The frequency that I must manually restart the sendmail service has gone up.

    In an effort to provide less overall interruption to my users I created a cron task to do this for me.
    Here is the script:
    #/bin/bash
    #this is to restart sendmail
    date >>/etc/mailcron.log
    service sendmail stop>>/etc/mailcron.log
    service sendmail start>>/etc/mailcron.log
    echo "mailtab1 process done
    ">>/etc/mailcron.log

    Now, here is the interesting part.
    The cron is set to run every 10 minutes (minutes ending in 3)
    It runs.
    The output put into the log file when it runs automatically is incomplete:
    Thu Aug 30 11:23:01 EDT 2007
    mailtab1 process done

    So, obviously the script it running, but it is only time-stamping and informing me that it is done.

    The more interesting part is that when I run the task manually it works:
    Thu Aug 30 11:25:19 EDT 2007
    Shutting down sm-client: [ OK ]
    Shutting down sendmail: [ OK ]
    Starting sendmail: [ OK ]
    Starting sm-client: [ OK ]
    mailtab1 process done

    WHY?

    I need a solution to one (or, preferably, both) of these problems. I also have a second script that does the mailreload command.

    My current plan, based on some of the mail server logs showing errors with the ClamAV milter, is to uninstall and reinstall clamav tonight afterhours. Thoughts?


    Cross-posted all over the place

    Source: http://community.livejournal.com/software/75058.html

  13. Server Woes

    Date: 08/30/07 (Computer Help)    Keywords: web, linux, spam

    Greetings and Salutations!
    I have an interesting issue.

    I am running a mail / domain controller on SELinux.
    There is a webmin interface installed.
    There is webmail.
    The mail service is a variation of sendmail called SquirrelMail.
    The mail server is also running ClamAV and SpamAssassin.

    Tuesday a problem appeared around 11AM where the outbound mail service just stalls.
    I starting looking at the queue and I noticed an inordinate amount of replies to bad addresses from the Mailer Daemon that are timing out. On peeking in on them I discovered that they are bouncebacks on emails sent to bad addresses here and that they are spam (no surprise there). Many of these messages are stalling in the queue and I suspected that this was the problem. Clearing the queue did not fix the issue, but restarting sendmail did and still does make the outbound process work.

    So, last night, I updated ClamAV (no update needed), sendmail (update completed) and SA (update completed).
    I hoped that the problem would go away but it did not. In fact, it is now worse. The frequency that I must manually restart the sendmail service has gone up.

    In an effort to provide less overall interruption to my users I created a cron task to do this for me.
    Here is the script:
    #/bin/bash
    #this is to restart sendmail
    date >>/etc/mailcron.log
    service sendmail stop>>/etc/mailcron.log
    service sendmail start>>/etc/mailcron.log
    echo "mailtab1 process done
    ">>/etc/mailcron.log

    Now, here is the interesting part.
    The cron is set to run every 10 minutes (minutes ending in 3)
    It runs.
    The output put into the log file when it runs automatically is incomplete:
    Thu Aug 30 11:23:01 EDT 2007
    mailtab1 process done

    So, obviously the script it running, but it is only time-stamping and informing me that it is done.

    The more interesting part is that when I run the task manually it works:
    Thu Aug 30 11:25:19 EDT 2007
    Shutting down sm-client: [ OK ]
    Shutting down sendmail: [ OK ]
    Starting sendmail: [ OK ]
    Starting sm-client: [ OK ]
    mailtab1 process done

    WHY?

    I need a solution to one (or, preferably, both) of these problems. I also have a second script that does the mailreload command.

    My current plan, based on some of the mail server logs showing errors with the ClamAV milter, is to uninstall and reinstall clamav tonight afterhours. Thoughts?


    Cross-posted all over the place

    Source: http://community.livejournal.com/computer_help/812585.html

  14. Abusing RentACoder For Black Hat SEO

    Date: 08/30/07 (Java Web)    Keywords: web, google

    I came across an interesting project in RentACoder which is obviously taking advantage of RentACoder to do its dirty job - pushing its critic / competitor to page 2 of Google. The project specification is as belows: THE SOLUTION: We NEED this persons website to be “pushed down” to page 2 on google when our [...]

    Source: http://blog.taragana.com/index.php/archive/abusing-rentacoder-for-black-hat-seo/

  15. Random Image+

    Date: 08/31/07 (Javascript Community)    Keywords: css, java, web


    Greets folks,

    I have no problem creating a random image generator in Javascript, but I would like to perhaps create a random div generator.  What I would like to have is a random image appear and text that accompanies that image.  Does that make sense?

    Any comments or suggestions are welcome.

    Cross to '[info]'_css and '[info]'webdesign.

    Source: http://community.livejournal.com/javascript/139754.html

  16. updating table?

    Date: 08/31/07 (Javascript Community)    Keywords: php, html, java, web

    Hello everybody,

    I am trying to create a table of "events". What I would like to do is have this table be updatable via the webpage itself. I am comfortable using javascript, HTML, and some basic PHP, but would like to avoid PHP as much as possible. 

    Is there anyway to accomplish this? 

    Any help is greatly appreciated.

    Source: http://community.livejournal.com/javascript/139891.html

  17. Sharepoint 2007 Master pages query

    Date: 09/01/07 (IT Professionals)    Keywords: programming, html, technology, asp, java, web, microsoft

    Hi all,

    I've been battling with creating (rather modifying a custom page someone else before me has created) a custom master page for my company for a while now; it looks great-ish, but there's a major flaw in there, behind the scenes it's full of errors; I have to link the master page to just about every file such as newForm.aspx and etc. further the most major issue is that a non admin user can't see the custom content; but farm admins can see the custom content just fine.

    I suspect there's a whole lot missing in the master page (as I've tried the same thing with a default page, and it worked fine, so my permission settings are fine, even though for non Admins it says "error: access denied", the issue is the master sheet for sure, since the error dissapears  when i switch back to one of MOSS default masters) thing is i don't have enough knowledge of master pages (I am relatively new to SharePoint 2007; having worked with 2003 years ago. I've never done any major customizations like this one)  to fix it on my own, even though i've spent the past few weeks trying to do so.

    The project I'm working on (an intranet for a media company) is due to go live Sept 9th, thing is, without proper user permissions it'll be tricky to make it work properly, and I've been battling with the master page for about two weeks now trying to make it work, I fix one issue, but keep finding more.

    I appreciate any and all the help i can get on this one as all the code's starting to look the same to me now, and maybe a fresh set of eyes will help.

    Master page code and screenshot of what it looks like and what it should look like for all users below the cuts, if you need any extra info please contact me, and I'll provide for you; I really really appreciate it if someone can help me out on this one.








    <%-- Identifies this page as a .master page written in C# and registers tag prefixes, namespaces, assemblies, and controls. --%><%@ Master language="C#" %><%@ Import Namespace="Microsoft.SharePoint" %><%@ Register Tagprefix="SPSWC" Namespace="Microsoft.SharePoint.Portal.WebControls" Assembly="Microsoft.SharePoint.Portal, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %><%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %><%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %><%@ Register Tagprefix="PublishingWebControls" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %><%@ Register Tagprefix="PublishingNavigation" Namespace="Microsoft.SharePoint.Publishing.Navigation" Assembly="Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %><%@ Register TagPrefix="wssuc" TagName="Welcome" src="~/_controltemplates/Welcome.ascx" %><%@ Register TagPrefix="wssuc" TagName="DesignModeConsole" src="~/_controltemplates/DesignModeConsole.ascx" %><%@ Register TagPrefix="PublishingVariations" TagName="VariationsLabelMenu" src="~/_controltemplates/VariationsLabelMenu.ascx" %><%@ Register Tagprefix="PublishingConsole" TagName="Console" src="~/_controltemplates/PublishingConsole.ascx" %><%@ Register TagPrefix="PublishingSiteAction" TagName="SiteActionMenu" src="~/_controltemplates/PublishingActionMenu.ascx" %><%-- Uses the Microsoft Office namespace and schema. --%><%-- The head section includes a content placeholder for the page title and links to CSS and ECMAScript (JScript, JavaScript) files that run on the server. --%>









    <%-- When loading the body of the .master page, SharePoint Server 2007 also loads the SpBodyOnLoadWrapper class. This class handles .js calls for the master page. --%>


    <%-- The SPWebPartManager manages all of the Web part controls, functionality, and events that occur on a Web page. --%>

    <%-- The PlaceHolderMain content placeholder defines where to place the page content for all the content from the page layout. The page layout can overwrite any content placeholder from the master page. Example: The PlaceHolderLeftNavBar can overwrite the left navigation bar. --%>



    Showtime. Maximum TV!





    PrefixHtml="
    "
    SuffixHtml="
    "
    MenuNotVisibleHtml="&nbsp;">

    FeatureScope="Site"
    Location="Microsoft.SharePoint.StandardMenu"
    GroupId="SiteActions"
    UseShortId="true"
    >

    Text="<%$Resources:wss,viewlsts_pagetitle_create%>"
    Description="<%$Resources:wss,siteactions_createdescription%>"
    ImageUrl="/_layouts/images/Actionscreate.gif"
    MenuGroupId="100"
    Sequence="100"
    UseShortId="true"
    ClientOnClickNavigateUrl="~site/_layouts/create.aspx"
    PermissionsString="ManageLists, ManageSubwebs"
    PermissionMode="Any" />

    Text="<%$Resources:wss,siteactions_editpage%>"
    Description="<%$Resources:wss,siteactions_editpagedescription%>"
    ImageUrl="/_layouts/images/ActionsEditPage.gif"
    MenuGroupId="100"
    Sequence="200"
    ClientOnClickNavigateUrl="javascript:MSOLayout_ChangeLayoutMode(false);"
    />

    Text="<%$Resources:wss,settings_pagetitle%>"
    Description="<%$Resources:wss,siteactions_sitesettingsdescription%>"
    ImageUrl="/_layouts/images/ActionsSettings.gif"
    MenuGroupId="100"
    Sequence="300"
    UseShortId="true"
    ClientOnClickNavigateUrl="~site/_layouts/settings.aspx"
    PermissionsString="EnumeratePermissions,ManageWeb,ManageSubwebs,AddAndCustomizePages,ApplyThemeAndBorder,ManageAlerts,ManageLists,ViewUsageData"
    PermissionMode="Any" />



    NoneUsed to search document and items.true0Normal335pxtruetruetruetruetruetruetrueModeless
    DefaultCannot import this Web Part.true00000000-0000-0000-0000-000000000000g_6165bbdb_3d68_4639_80c9_26b8dc76a97c/_layouts/images/gosearch.gif/_layouts/images/goRTL.gif/_layouts/images/gosearch.gif/_layouts/images/goRTL.gifShowDDSearch Dropdowntruefalse






    <%-- The PlaceHolderMain content placeholder defines where to place the page content for all the content from the page layout. The page layout can overwrite any content placeholder from the master page. Example: The PlaceHolderLeftNavBar can overwrite the left navigation bar. --%>


     




    <%-- These ContentPlaceHolders ensure all default SharePoint Server pages render with this master page. If the system master page is set to any default master page, the only content placeholders required are those that are overridden by your page layouts. --%>

























    Thanks all,
    ~Jess

    Source: http://community.livejournal.com/itprofessionals/63910.html

  18. caching?

    Date: 09/02/07 (Mozilla)    Keywords: html, web

    Lately FF seems to be pulling old HTML on some web pages, such as my own, when I'm building them.  I'll be doing testing, changing the page, and refreshing - but FF doesn't seem to be catching the changes, until I clear all personal data and restart (this is is mac) - is here a hard reset I can do to the history to change this?

    Source: http://community.livejournal.com/mozilla/398117.html

  19. Compete: Free Website Ranking & Analytics

    Date: 09/03/07 (Java Web)    Keywords: web, google

    Compete is a relatively new player in website ranking and third party analytics, a space dominated so far by Alexa rankings and Google PageRank. Whereas Google PageRank is an approximate ranking for a single page, Compete rankings are, like Alexa, for the entire site and they offer it for free. In my initial analysis compete [...]

    Source: http://blog.taragana.com/index.php/archive/compete-free-website-ranking-analytics/

  20. Fixed vs. Absolute Positioning

    Date: 09/04/07 (WebDesign)    Keywords: browser, css, web

    So, I have made a few sites lately that require a little CSS workaround so I can get absolute positioning that is horizontally centered.

    What I have been doing to achieve this is to create one div, with a width of 100%, and I absolutely position it to whatever position I want it to be on the page, vertically (top: 68px, or whatever). Then within that div I place a second div for my content, specify a width, and set the margins to auto. Voila: centering.

    I have been wrestling with something bizarre on my latest website, however (and unfortunately, it's not online yet for me to show you the code). Despite the fact that none of my elements are wider than the window size, a bottom side-to-side scroll bar appears, and my theoretically centered items are moving side-to-side. Very slightly--no more than 25 pixels or so. (And this happened both in Firefox and Safari; I have not yet tested it in a Windows computer.)

    I had a sneaking suspicion this may relate to my background image, which is 800px wide and therefore possibly wider than my window--however, when I moved the window so that part of it was offscreen and resized it to a gigantic width, the problem remained. Also, why would a browser use the background image as a basis for percentage widths, and not the window itself? So, question one: what do you think is making this happen?

    To continue with my story:
    A not-very-helpful fix was to set my parent div to 95%. This completely eliminated the problem of it moving around, but of course, threw off my centering. However, after restoring it to 100%, on a whim, I changed the positioning from absolute to fixed. Everything is now working fine in both browsers?

    What's the story on this? I have read that fixed positioning is less all-around compatible with different browsers than absolute positioning... But I'm realizing, as I write this, that I don't fully understand the difference between fixed positioning vs. absolute positioning. In what instances would you use one instead of the other, and why? And why do you suppose my particular content is working properly in fixed, but not in absolute, position?

    Disclaimer: This is really less of a "help me with my code" question and much more of a "give me your input on fixed and absolute positioning in general" question. So if you're going to say, "post the code and I'll tell you what's going on," and nothing else, don't bother about it--If I still have a problem later, I will post the code, but right now I'm more interested in hearing general thoughts. :)

    x-posted to web_design.

    Source: http://community.livejournal.com/webdesign/1305227.html

  21. Previous page  ||  Next page