0
Welcome Guest! Login
0 items Join Now

PatrioticPulse.org: New site using Internet Gazette Template

    • template_noob's Avatar

    Re: PatrioticPulse.org: New site using Internet Gazette Template

    Posted 18 years 2 months ago
    • cool site. how did you make that banner? and how do I insert it to appear on front page alone? ;D
    • railer's Avatar
    • railer
    • Newbie
    • Posts: 9
    • Thanks: 0

    Re: PatrioticPulse.org: New site using Internet Gazette Template

    Posted 18 years 2 months ago
    • template_noob wrote:
      cool site. how did you make that banner? and how do I insert it to appear on front page alone?  ;D

      Hi TN,
      Thanks! To get it to show up only on the Home Page, I made a copy of InetGazette template directory, and then modified the index.php file as needed. If you weren't already aware of it, Joomla allows you to assign specific templates to specific pages. Just go to Sites/Template Manager/Site Templates. Select the template you want to assign (it must be installed first--I just uploaded it via FTP), click the Assign button and select the Home page from the list. That's it!

      Regarding the image itself--I assume you're talking about the photostrip montage--well I made it using layers and gradients in photoshop. It's one long image that's placed as a background in a div tag.

      Best,
      Railer
  • Re: PatrioticPulse.org: New site using Internet Gazette Template

    Posted 18 years 2 months ago
    • Where in the php code did you insert the image? I just tried modifying and it didn't work for me...

      Cheers!

      Steve
    • railer's Avatar
    • railer
    • Newbie
    • Posts: 9
    • Thanks: 0

    Re: PatrioticPulse.org: New site using Internet Gazette Template

    Posted 18 years 2 months ago
    • Stephen Blais wrote:
      Where in the php code did you insert the image? I just tried modifying and it didn't work for me...

      Cheers!

      Steve

      Hi Steve,
      In the index.php template file, at around line 59 (under the horizmenu div) I inserted the following div tag which contains a spacer gif image:
      <div id="photostrip"><img src="<?php echo $mosConfig_live_site;?>/templates/jw_inetgazette_home/images/spacer.gif" width="750" height="90" /></div>

      Then in my template stylesheets, I inserted this div definition, which links to my photostrip image:
      div#photostrip {
           background: url(../images/photostrip_wide.jpg) no-repeat;
           height: 90px;    
      }

      I made my photostrip wider than the maximum width of the template, just in case I ever decide to allow the template to expand wider, but I guess you don't really have to do that.

      Hope this helped,
      Railer

Time to create page: 0.049 seconds