- Moderated by:
- Support
-
- rank:
-
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 -
- rank:
-
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 :) -
- rank:
-
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 changetoCode
// 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]";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]"; -
- rank:
-
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. -
- rank:
-
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. -
- rank:
-
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 changetoCode
// 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]";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)". -
- rank:
-
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.
