Darin Roman @drome22 ?

Active 5 years, 2 months ago

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #3035
    Darin Roman
    Participant

    Vicente,

    Contact me to discuss your project.

    Are you using the WordPress media library or a plugin to upload images?

    Please provide a link to your current website, the name of your hosting provider and the version of WordPress you are running.

    Darin Roman
    Roman Creative

    #2505
    Darin Roman
    Participant

    Melissa,

    I am assuming that you have built and currently maintain your website using Dreamweaver and have a working knowledge of HTML and CSS. As indicated in the links you’ve provided, Dreamweaver can certainly be conneced to WordPress to create and edit a theme with a local server environment then pushed to your web host via FTP. However, you cannot edit the page or post content with Dreamweaver as the content HTML is stored in a database and not in an HTML file.

    WordPress is a CMS, which requires a different approach and workflow (from a static website) when maintaining and updating your content. Your theme and template files are PHP with HTML for structure/layout and once in place would rarely be edited or changed. These files do not contain any content, just the instructions for getting the content from the database and displaying it within the intended layout.

    Creating a WordPress version of your website would require some planning, however, is worth the effort as it will be much easier to maintain. I’m afraid you’re going to have to give up the idea of using Dreamweaver for content management. It is not a matter of it not being a good tool for editing code, you should use what you are comfortable with. It is simply not possible to edit HTML within a database using Deamweaver. WordPress has its own editor for this purpose with a Visual & HTML mode. The editor’s visual mode can also be truly WYSIWYG with an additional CSS file in your theme and can be extended with a plugin.

    Darin

    #2359
    Darin Roman
    Participant

    Steve,

    I am editing this awesome WP/BP theme (framework) Salutation, which includes customized copies of all BP default templates and folder structure, therefore, I am not touching the BP default theme or any core files.

    It is certainly something important to remember, thanks for mentioning it.

    I’ve spent a great deal of time figuring things out, which is great and helps my understanding. BuddyPress is a good theme development challenge. I definitely plan to learn PHP properly though, to speed up development time.

    #2357
    Darin Roman
    Participant

    @Steve

    Update: I received a simple answer on the BP forums.

    Just in case anyone wants to limit their main Activity Stream Page, simply edit this line in your theme’s activity/activity-loop.php file:

    if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ) . ‘&per_page=5’ ) ) :

    BTW: Are there any tags enabled here to display code?

    #2356
    Darin Roman
    Participant

    @Steve

    Thank you for this! This code snippet is definitely heading in the right direction. I works well for custom loops of latest entries as long as you do not need to load more, as on the main activity stream page. This is where I am trying to limit the output.

    I’ll need to play with it a bit to get working the way I’d like. When I pass the arguments ( ‘per_page=5&page=1’ ) it returns only 5 items as expected, however, it returns the same 5 items every time I click ‘Load More’. I get the same result even if I remove the ‘page=1’ parameter since that is a default value.

    I am working with the latest BP 1.5.4 so I am not sure if there were any significant changes to the activity since. I’ll keep searching and experimenting.

    I appreciate the feedback and help!

    #1966
    Darin Roman
    Participant

    Jake,

    I’m not sure why you’d do this unless you also wish to remove the labels underneath the fields. This leaves it to your visitors to fully delete or highlight and replace the ‘Name (required)’ and ‘Email (required)’ before sending. Keep in mind, you would loose any changes made to this plugin when updating.

    You should try Contact Form 7. This plugin allows you to easily create customized forms for use throughout your website. You can specify any fields you wish to include, their default values, labels, format the email(s) you will receive, and edit the messages returned to the visitor. You can also add an optional CAPTCHA to avoid spam (Requires: Really Simple CAPTCHA). Each form generates a shortcode that you can place in a page, post or text widget in your sidebar. It also uses AJAX and does not require a page reload when the message is sent.

    It may not seem as easy as simply adding the shortcode provided with ‘Send E-mail’, but I think you’ll find the form editor easy to use and very flexible. Just ask if you need help creating a form.

    Darin

    #1965
    Darin Roman
    Participant

    Steve, thanks for the feedback at the meetup.

    I think I’ve figured out where to start. I’m not sure why I did not notice before, but it seems the header, footer and fixed position media player are unaffected as all the content in between is loaded dynamically via AJAX/jQuery. You’ll notice a loading page… message at the top right when navigating through the website.

    I suddenly remembered; Chris Coyier of CSS-Tricks and Digging into WordPress covered these techniques in a couple of screencasts he posted over a year ago:

    #81 AJAXing a WordPress Theme

    #84 Site Walkthrough of chris-mcgarry.com

    #1805
    Darin Roman
    Participant

    Rahul,

    Nice looking website! Great colors!

    Steve’s advice is right-on…the image file sizes are too large, and using a multi-state sprite for each navigation item would eliminate the black box effect. Also, consider optimizing the images to GIF or PNG 8 (these formats are best suited to flat solid color graphics and can reduce the file sizes considerably). If yours are PNG 24 with alpha-transparency they are surely too large. Check this out > http://www.underwaterphotography.com/PhotoShop/PhotoShop/help.html

    There are 2 other options and additional things you can do:

    1. Reduce the images’ vertical dimensions and use absolute positioning rather than keeping within the very high vertical area for the diagonal text. Keep the background as a full width image in the containing div and only swap out the area just around the text since that is what you are already doing.

    2. Use a CSS3 transform to skew the the markup’s anchor link text for the diagonal effect without using any images.

    http://www.zenelements.com/blog/css3-transform/

Viewing 8 posts - 1 through 8 (of 8 total)