syncbox
Forum Replies Created
-
Forum: Installing WordPress
In reply to: New Upgrade using Automatic fantasico-what will happen?personally, I find upgrading via Fantastico easy… (not using Bluehost, but another host with it). My hosting company (midphase or anhosting) backs up all files, including the db on upgrade AND provides a detailed list of files to revert, should anything go wrong.
That said, per ANY upgrade, simply copy all the files you’ve modified to your local machine… (I do this using Dreamweaver CS3). Typically, this would be the theme folder, plugins and potentially quicktags.js or other core WP files, if you’ve modified those (I often do).
I try to keep a text file of any non-theme/plugin files I modify for each WP project. It simplifies things tremendously.
The upgrade will not remove the database (at least where I host – I suspect the same for your host) but it never hurts to backup the database as well.
Better safe than sorry. When you’ve upgraded, check to see what, if anything, changed. If it did, upload the custom files. All should be well. As a test, I just upgraded from 2.1.3 to 2.2 for an out-of-date project (not using this anymore) and nothing needed to be saved or uploaded.
But again, that is midphase, not bluehost.
I just wanted to counter the negativity of Fantastico. I’ve NEVER had a single issue with it and I’ve just spent 2 days trying to deal with a host that said “sure, we can do WordPress” but who’ve failed to get it working properly DESPITE links to all the install instructions, etc I’ve supplied.
I insist on clients having hosting where Fantastico is installed. It makes my job easier.
My 2.
Forum: Requests and Feedback
In reply to: Godaddy and WP.. are they happy together?I’d agree with whooami on the bloated user panels… and they require a toll call for support, unlike midphase and AN Hosting, which I have also used a lot.
Forum: Themes and Templates
In reply to: image padding and <P>you really need to understand css and how to use it in combination with your markup (html) to be effective in this. I’d start with that – get a book about how to apply css to html tags and such.
you DON’T add img.left to the style sheet… you create a class in your style sheet
.left {
float:left;
/*whatever other properties and values you want*/
}THEN, in the actual PAGE or POST you are writing in the admin pages, you insert an image, which means you are using the <img /> tag.
After that image is inserted, you modify the tag to add class=”left” inside it. It will automatically use the properties you’ve given to the class .left in the style sheet.
There’s a lot more to using CSS than that, though, so a better understanding of it would be really valuable to you.
Forum: Everything else WordPress
In reply to: Word Press and DreamweaverHowever, my bigger question is–is this program good for coming up with designs and templates and things like that that are not sooo complicated with so many weird coding rules?
The documentation is best for getting base loop methods, etc… and yes, you can build those template files in DW, though it will not display using the visual/design view.
But, just edit, upload and view in a browser. Or edit the files in the WP admin. The advantage of DW for editing is that you can use its other features, functions and extensions easily (from code view) and ftp new files up (like plugin files) from one app.
To avoid overly-complex themes, find a simple one to start with and learn about what you don’t understand in it by searching the documentation and these forums.
HTH
Forum: Everything else WordPress
In reply to: Word Press and DreamweaverI use both WP and DW a LOT.
I develop a design in DW, using xhtml and css (and js, etc as needed)…. when I have a design working, layout wise – css layout, that is – and I know it is x-browser compatible, I move on to WP development.
I set up the wp site, set up my template files, from header.php, etc to footer.php, etc, then put my xhtml/css markup in where needed.
No, you won’t see much in design view once you are working on the php files – sadly. If you want this (as I do) GET VOCAL WITH ADOBE! It’s been mentioned as a possible feature, but requests for such functionality (understanding basic WP functions, such as get_header(), etc) are what drives Adobe to improve the product.
There is a DW extension that adds a WP insert bar for wp functions (tagstention, just google it) that is useful.
To get vocal with Adobe, add your request via their bug submission form (http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform)
and state your case for wanting WordPress support in Dreamweaver. I have.
So, to summarize, DW works well to develop a layout (static) then in code view, to develop the php and ftp files as needed. I also use it to edit the db sql file if moving from one domain to another.
hth – and yes, looking at other themes is one way to do things, as is (very important) reading the codex documentation.
Forum: Themes and Templates
In reply to: image padding and <P>when you are writing content and insert an image, you can add the class to the img tag, as in
<img src="whateverpathyouuse" class="left" />OR, and this is the more efficient way…
1) open the wp-includes/js/quicktags.js file
2) create a new quicktag entry
3) either add the new quicktag to your own style.css sheet or modify the admin.css file in the wp-admin directory to add the quicktag to the list of tools there.Here’s what you do:
1) in Manage>Files, navigate to:
/wp-includes/js/quicktags.js
2) copy one of the entries, such as:
edButtons[edButtons.length] = new edButton('ed_strong' ,'b' ,'<strong>' ,'</strong>' ,'b' );and paste it below the one you copied.
3) change it to something like:
edButtons[edButtons.length] = new edButton('ed_leftpic' ,'Photo Left' ,' class=\"left\"' ,'' ,'' );4) repeat for picright (copy, paste, edit to do the obvious) and save the updated file.
5) if needed, you can style the new quicktag tool by editing the wp-admin.css file in your wp-admin folder (or by adding a new style for #ed_leftpic in your style.css file in your theme)
Then, to use your new quicktag tools, refresh the page you are editing (you should see your new tools appear in the toolbar)
After you insert an image, look for that markup in the html editing field (or, if you are like me and just turn off visual editing, this will just be in the content field), place your cursor in the <img /> tag and click the “Photo Left” or “Photo Right” button as desired.
I make custom tools for all my clients’ wp sites to suit the stylesheet I create for them, from custom class headings, lists, images, etc… even an external link versus internal link tool. It’s a GREAT WordPress feature that everyone should make use of.
HTH
Forum: Plugins
In reply to: c2c custom fields plugin and $order variableDoes anyone use c2c’s custom fields plugin?
Forum: Plugins
In reply to: plugin or something wanted to make a page-related sidebarIf you want to reference the theme directory, use bloginfo, as in:
href="<?php bloginfo('template_directory'); ?>"to reference the DEFAULT uploads directory, use:
href="/wp-content/uploads/img_'.$pagina.'jpg"'you for sure would not use a / after the image extension .jpg
when you are writing an echo statement and want to reference something with php, you have to step out of the literal content and reference the variable, as in:
echo '<p>This is actually what will be written... in this case, the name of the post:<br />'.$post->post_name.'back in the html or content here.</p>';if you need html attributes inside the html tags, you use double quotes that don’t have to be escaped, as in
echo '<p class="foo">this is html etc<br />'.$post->post_name.'back in the html or content here</p>';hth
Forum: Fixing WordPress
In reply to: Question about databasewell, I have a cable connection in my home office and it took about 7 seconds to load the first page of your site. Is that too long for you?
That’s with Firefox 2x on Windows XP Pro sp2 on a p4 3.8 hyperthreading laptop with 1GB ram.
In IE6, about the same, maybe 1 more second or so.
doesn’t seem that slow to me.
HTH
Forum: Fixing WordPress
In reply to: how to reference the theme directorynevermind… I did find it, thanks.
<?php bloginfo('template_directory'); ?>/sharedimages/Forum: Themes and Templates
In reply to: Brand new user, client wants different compsExcept that it isn’t just about colors of text or even containing blocks… there is the layout and the logic of the site.
That’s probably the most important reason why someone who takes a paid job to design a wp site needs to understand the markup, css and php end of things. If the designer doesn’t understand where to “put” the content (using php logic to conditionally show things, likely) then they find themselves frustrated by how wp will remove injected scripting or markup or whatever.
I do things either way – I take other designers’ ideas and translate to a working site AND/OR design the look/logic and translate that to a working site. I prefer the later only because many graphic site designers don’t understand how dynamic sites work and think it’s all about the pixels…
rather than logic, user interface, simplicity, SEO, the content from the visitor’s perspective, etc
Anyway, it’s an interesting topic. Getting back to the request for help, it’s all about trying to balance polite requests with helping yourself with the existing documentation and previous help supplied in this forum…
IMO.
Casey
Forum: Themes and Templates
In reply to: Brand new user, client wants different compsI understand your POV, I do… sometimes my jaw drops when I read posts (not just here, but on other forums, like those for Adobe’s Dreamweaver software, for example) that seem downright demanding of help (as if a forum was customer support for WP) and petulant when someone suggests that perhaps understanding the software you are using is step 1 of being able to use it!
Forum: Themes and Templates
In reply to: how to make my blog look like a webpageOr, comment out the call to the sidebar.php file if everything in there is stuff you don’t want…
from:
<?php get_sidebar(); ?>to:
<?php /*get_sidebar();*/ ?>would eliminate the sidebar altogether.
HTH
Forum: Themes and Templates
In reply to: is_page not working on sidebar – how do I add a new template?hmmm… I use if (is_page()) all the time in the sidebar.
what version of WP are you using AND are you actually using pages? or posts?
Forum: Themes and Templates
In reply to: is_page not working on sidebar – how do I add a new template?Try not using the single quotes around the page number?
<?php if (is_page(72)) { echo ('page id 72'); } ?> <?php if (is_page('content')) { echo ('page named content'); } ?>That’s the first thing I’d try… and then be sure you are getting to those pages, of course. When you are testing, what is the page url you are on?