jsimons

No Profile Photo

Real Name: John Simons

Latest Contributions

  • Prayer Request

    There hasn't been much in the way of prayer requests here. I enjoyed the episode where Rob and Matt stopped and prayed for their listeners. For those who are inclined to pray, my son (age 13) and I are going on a mission trip in a couple of weeks to Paraguay. We will be gone from Apr. 4 - 13. I would appreciate any prayers from you guys.

    Thanks.

    John
    john-simons.com

  • Drupal 6 - css only theme

    I was intrigued by the idea of a css only theme under Drupal 6. I have put together a new website for a law firm using this feature. The only files in my theme are a .info file and style.css. All of the page templates and module templates are default from core. So far, I have not installed any modules. I plan to add a few features, some of which may require me to add my own page.tpl.php file, but for now it is css only.

    What do you think? What could be done better?

    The site:
    http://sklaw.john-simons.com/

    A quick Google search would find the old site, if you want to compare.

    John

  • Rotate content by week of the year

    Can someone point me in the right direction? I am working to finalize the new church website. One feature that I am looking at implementing is to have a weekly memory verse. I would like to have 52 verses in the database. Then, create a view that will show the verse, with a filter or argument that chooses the correct verse based on what week it is.

    I have been doing some homework, and it looks like I would need to create some PHP code to insert an argument into the block that will display the verse. Then I suppose, my views will have to accept the argument, parse it and match it up with the verse for that week.

    Is that the right way to attack this?

    For my content, I plan to have a custom content type with three fields: verse text, verse passage, and order which will be an integer from 1 to 52.

    Is there a good resource on how to insert arguments into a block so that the view can use those arguments to filter nodes?

    Thanks.

    John
    john-simons.com

  • Critique request for new church site

    I have been deep into reworking my church's website over the last few weeks. I am at the point where I would like some feedback.

    The new beta site is located at: http://new.christccocala.com

    The current site is at: http://www.christccocala.com if you want to see where we are coming from.

    The old site is all hard coded html. The goal is to move to a drupal system, update to using our new church logo, and add more color and personality to the site.

    Where can I make improvements?

    Thanks.

    John

  • Views Theme Wizard - error

    I am working on a new website for my church using drupal 5. I am making good progress, but have run into an issue with creating a block using a list view.

    I have gone in and created the block. When I set it up, without using the theme wizard, I can see unthemed content. I want to use the wizard, so that I can set up a template with standard text that will appear in the block between some of the fields.

    When I go into the theme wizard, I have copied the
    function phptemplate_views_view_list_view-name ()
    into my template.php file.

    I also copy the views-list-view_name.tpl.php file.
    I also copy the view-list-view_name.css file.

    When I do this and try to load the block, the block has one unordered list, with no content. Inside the html is a comment that reads:

    PHPTemplate was instructed to override the views-list-sugg_reading theme function, but no valid template file was found.

    Am I missing a step in the creation of the tpl.php file? I have moved it into the theme folder. In that file, I see the commented text that includes a number of variables, including one for view-type. Do I need to set up some php functions to tell the template that I am setting up a block view as opposed to a page view?

    If you need to see the site: http://new.christccocala.com
    The site still needs some more theming, the block that I am fighting with is the Suggested Readings block at the bottom of the front page.

    If I can figure this one out, I would like to create at least a couple of other list views.

    Thanks.