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

Dizkus

Bottom
Remove (# bytes more)
  • Posted: 22.09.2002, 09:57
     
    SteveComenzo
    rank:
    Helper Helper
    registered:
     September 2002
    Status:
    offline
    last visit:
    08.04.03
    Posts:
    140
    How can I remove the (# bytes more) from the home page without removing the Read More link?
  • Posted: 28.09.2002, 02:42
     
    KingKuma
    rank:
    Registered User Registered User
    registered:
     September 2002
    Status:
    offline
    last visit:
    27.09.02
    Posts:
    1
    I would also love to know how to accomplish this; I have looked through every file and have had no luck. I probably missed it, but after you looking through so much code you start to miss a lot of things. :D
  • Posted: 28.09.2002, 08:58
     
    Lordaeron
    rank:
    Freshman Freshman
    registered:
     September 2002
    Status:
    offline
    last visit:
    29.09.02
    Posts:
    3
    I would also like to know how to get rid of this it would really be appreciated unless it is built into the program?
  • Posted: 10.10.2002, 21:40
     
    bharvey42
    rank:
    Developer Developer
    registered:
     December 1969
    Status:
    offline
    last visit:
    01.08.07
    Posts:
    820
    Read the theme documentation on the documentation site.

    It should tell you what you need

    Hope that helps :)
  • Posted: 15.10.2002, 22:09
     
    Olematon
    rank:
    Freshman Freshman
    registered:
     September 2002
    Status:
    offline
    last visit:
    28.05.03
    Posts:
    13
    Haven't read the docs myself so there could be a non-hack way also, but here's how I've done it.

    In modules/News/funcs.php approx. on line 360 change

    Code

    // More complex extras - use values in the array
        $preformat['more'] = "";
        if ($bytesmore > 0) {
            $preformat['more'] .= "$preformat[readmore] ($preformat[bytesmore]) ";
        }
        $preformat['more'] .= "$preformat[comment] $preformat[send] $preformat[print]";
    to

    Code

    // More complex extras - use values in the array
        $preformat['more'] = "$preformat[comment] $preformat[readmore]";
    //    $preformat['more'] = "";
    //    if ($bytesmore > 0) {
    //        $preformat['more'] .= "$preformat[readmore] ($preformat[bytesmore]) ";
    //    }
    //    $preformat['more'] .= "$preformat[comment] $preformat[send] $preformat[print]";
  • Posted: 15.10.2002, 22:36
     
    byzantine
    rank:
    Helper Helper
    registered:
     July 2002
    Status:
    offline
    last visit:
    14.04.04
    Posts:
    128
    Nothing personal, bharvey, but that kind of reply is next to useless. As many, many users have pointed out, the doc site is confusing and hard to navigate. In addition, I *have* gone so far as to print out AND read all available docs on themes and the closest thing I've seen to mentioning the 'read more' constant is in a list of $preformats, which tells you nothing about how to get rid of it, where it's located, or anything else immediately useful in this particular context.

    I don't know about other users, but when I post a question to the forums, it's because I've already exhausted every other resource (including my own sometimes limited thinking power) that I have available and I still don't know the answer. Granted, some people don't read anything and run into trouble and then use the forums to get quick answers. That's their perogative. If you're tired of answering the same question, or one you think should be readily solved by reading docs, then ignore it. And I don't mean to single you out, bharvey...it's just that your comment reminded me of this....I'd simply like to see a little higher signal to noise ratio in the forums. :)

    Leaving poor ole bharvey alone :wink: , I'd also like to comment that I see a lot of responses that tell the questioner to 'use search'. Am I the only one who's noticed that the 'search' button doesn't search site-wide? And I don't mean just within the forums....each area of the main site only searches it's area....i.e. if you use the search box in 'modules', it only searches 'modules'. That's an additional component that adds to the difficulty in finding answers on this site...if you don't realize it's not searching the WHOLE site, then you do it once in one area and don't look elsewhere if it tells you there's no hits.
  • Posted: 15.10.2002, 22:43
     
    ALPO
    rank:
    Helper Helper
    registered:
     September 2002
    Status:
    offline
    last visit:
    09.07.03
    Posts:
    109
    My thing is what harm is to just answer the question and/or post a direct link. Most users do find the documentation hard to find. The search as mentioned above does not find most thing even if they are in the forum or portal.

    Just my opinion.
  • Posted: 16.10.2002, 01:21
     
    SteveComenzo
    rank:
    Helper Helper
    registered:
     September 2002
    Status:
    offline
    last visit:
    08.04.03
    Posts:
    140

    Olematon

    Haven't read the docs myself so there could be a non-hack way also, but here's how I've done it.

    In modules/News/funcs.php approx. on line 360 change

    Code

    // More complex extras - use values in the array
        $preformat['more'] = "";
        if ($bytesmore > 0) {
            $preformat['more'] .= "$preformat[readmore] ($preformat[bytesmore]) ";
        }
        $preformat['more'] .= "$preformat[comment] $preformat[send] $preformat[print]";
    to

    Code

    // More complex extras - use values in the array
        $preformat['more'] = "$preformat[comment] $preformat[readmore]";
    //    $preformat['more'] = "";
    //    if ($bytesmore > 0) {
    //        $preformat['more'] .= "$preformat[readmore] ($preformat[bytesmore]) ";
    //    }
    //    $preformat['more'] .= "$preformat[comment] $preformat[send] $preformat[print]";


    Thanks. I removed the "($preformat[bytesmore])" part to remove JUST the "(Bytes More)".
  • Posted: 16.10.2002, 02:15
     
    bharvey42
    rank:
    Developer Developer
    registered:
     December 1969
    Status:
    offline
    last visit:
    01.08.07
    Posts:
    820
    You must not have read the theme documentation well then, because it clearly explains what does what and what controls what.

    Yes and I have heard complaints about the documentation site. I still don't see whats so hard about clicking on the obvious documentation library and then going from there, or the Wikki documentation.

    Like I said it's not hard to find the answers you just have to be willing to look.

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula