Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default An Announcement box on index page, and only on Index page

    I know this is do-able as i have previously done it, but I don't remember the name of the box

    Basically i person asked me today to make a box on the main page that is a different colour and has a border, that they can use to announce things, i am pretty sure i can do it using a sidebox, but is there a specific one i am supposed to use?

    Thanks

  2. #2
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: An Announcement box on index page, and only on Index page

    You can use define main page for this option

  3. #3
    Join Date
    Mar 2009
    Posts
    58
    Plugin Contributions
    0

    Default Re: An Announcement box on index page, and only on Index page

    tools> define pages editor > define_main_page.php

    or google 'blank sidebox' and make your own.

  4. #4
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: An Announcement box on index page, and only on Index page

    They already use the define main page, basically what they want, is a box on the main page above the content from the define main page that is a different colour and has a border so it stands out.

    I have solved the problem anyway, as they don't use define_page_2 I have copied the relevant code from tpl_page_2_default and placed it in the tpl_index_default.php file and used a bit of CSS to make it appear as a box on the main page

    Looks like the below

    http://nigel.geek.nz/zen-stuff.php

  5. #5
    Join Date
    Mar 2009
    Posts
    58
    Plugin Contributions
    0

    Default Re: An Announcement box on index page, and only on Index page

    Good job :)

 

 

Similar Threads

  1. Why strange /index/xxx urls showing my index page
    By creamcrackers in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 27 Mar 2012, 03:23 AM
  2. Removing categories side box from index page only
    By rack14650 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 2 Apr 2009, 03:58 AM
  3. Blank Index Page/Apache Errors - Optimize MYSQL Index
    By fr33k in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 23 Oct 2008, 10:58 PM
  4. Blank index.php and /admin/index.php page after install
    By gsummerlin in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 14 Jul 2006, 10:04 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR