Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Hits and Read More removed from Xantha version of PN theme
  • Posted: 25.11.2004, 20:38
     
    Dave@Dave-Tek.com
    rank:
    Softmore Softmore
    registered:
     March 2004
    Status:
    offline
    last visit:
    29.03.07
    Posts:
    68
    on the old .726 the news section had a times read and read more links, on .75 and under the xantha theme this is removed. how do i get this back.

    you can see the old style at www.davehildebrand.com & and the new style at www.dave-tek.com.

    i would like the look of the old style, to me it looks better and is more intuitive to my users.

    ive tried to use the old theme in .750 with no luck either.
  • Posted: 25.11.2004, 21:15
     
    InvalidResponse
    rank:
    Professional Professional
    registered:
     September 2003
    Status:
    offline
    last visit:
    21.10.07
    Posts:
    2423
    check out this thread: http://forums.postnuke.com/index.php?name=PNphpBB2&file=viewtopic&t=23333&postdays=0&postorder=asc&start=30

    -IR

    --
    http://www.invalidresponse.com
  • Posted: 25.11.2004, 22:40
     
    Dave@Dave-Tek.com
    rank:
    Softmore Softmore
    registered:
     March 2004
    Status:
    offline
    last visit:
    29.03.07
    Posts:
    68
    thanks for the quick reply, but im thick in the head and need to be told here to post the code.

    Quote

    General:
    = Defined language / Diplays text
    = path to image folder (defined in theme.php)
    = path to theme (defined in theme.php)


    = Starts a table, 100% width

    = Closes the table

    = Starts a table, width sized to contents

    = Closes the table

    = theme colors.. 1-10 as defined in the xaninit.php

    Master & module templates:
    - content - = strip white-space between tags.
    = left blocks
    = center blocks
    = module content
    = right blocks
    = footer message as defined in admin settings
    = page render time (must set debug in config.php)
    = don't cache captioned content
    = typetool
    = date and time
    = hello $username
    = get module style sheet if exists
    = display banner
    ----
    = assign _SEARCH as the $search_label

    ----
    = general search of all core modules
    ----
    = Displays a horizontal user login consisting of Username, Password, Remember me checkbox and submit button
    = Displays links for logged-in user (My Account | Logout) and anonymous user (Register | Login)



    Blocks:
    = block title
    = block content


    News-article / News-index:
    = topic image
    = cat and title
    = full text used for News-article template
    = full text minus home text
    = displays "read more.." if applicable
    Show notes (not needed if full text used)
    = displays read count
    = adds send to a friend option
    = adds print option
    = shows comment amount
    = topic title
    = article title
    = shows amount of reads
    = shows short text.. used for News-index template
    = a "words more" count (ie: 37 more words)
    = author
    = long version of date and time



    = story ID
    = link to topic (ie: )
    = shows edit and delete to admin

    --------- shows a "read more" image -----------


    Read the rest of the story...


     

    ------------------------------------------------


    Table1 & Table2 (aka opentable() ):
    = shows table content
  • Posted: 25.11.2004, 23:55
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    28.11.08
    Posts:
    13417
    You want to add


    and

    To your themeindex.htm file in themes/yourtheme/templates

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 26.11.2004, 01:22
     
    Dave@Dave-Tek.com
    rank:
    Softmore Softmore
    registered:
     March 2004
    Status:
    offline
    last visit:
    29.03.07
    Posts:
    68
    i added and to my News-index.htm and to my News-article.htm. This worked great, but it aligns the read more link and # of times read to the left, any way to separate the two, one to the left and one to the right (this is in News-index.htm)?

    also what parts of the above code give the horizontal line breaks like in .726?

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula