Re: Customization of some of the phpslash text
"Luis M" <[email protected]> Mon, 21 Apr 2003 22:53:26 -0400
| Newsgroups | gmane.comp.cms.phpslash.user |
|---|---|
| Message-ID | <[email protected]> |
>
>phpslash-users -
>
>1) I what file do I change the text "Contributed by" for each story. I
>got lost in the templates and couldn't find it. I rather have it say
>"Posted by" for my site.
$> cd templates/en/basic
$> grep -i "contributed by" *.tpl
article-pf.tpl: Contributed by {NAME} on {DATEF} from the {DEPT} dept.
story.tpl: Contributed by <a href="{URL}">{NAME}</a> on {DATEF}<br />
submission.tpl: Contributed by <a href="{URL}">{NAME}</a> on {DATEF}<br
/>from the {DEPT} dept.
>
>2) Also in the search return page - I'd like to eliminate the "by <user>"
>for each story. In what file do I change that?
>
Change this:
$> vi searchPage.tpl
45 <!-- BEGIN each_match -->
46 <p class="storyTitle"><a href="{STORY_URL}">{STORY_TITLE}</a> <span
clas s="author"> by <a href="{AUTHOR_URL}">{AUTHOR_NAME}</a> on
{DATE} <span class="commentCount">{COMMENTCOUNT}</span>
comment.</span></p>
to this: 45 <!-- BEGIN each_match -->
46 <p class="storyTitle"><a href="{STORY_URL}">{STORY_TITLE}</a> <span
clas s="author"> on {DATE} <span
class="commentCount">{COMMENTCOUNT}</span> comment.</span></p>
----)(-----
Luis Mondesi
System Administrator
LatinoMixed.com
[email protected]
"...The Mac does this so smoothly, it feels like an extension of your mind."
- Paula Speer, MacWorld Magazine 2003-04
Public signature: http://www.latinomixed.com/lems1/public-a.asc
_________________________________________________________________
MSN Search, le moteur de recherche qui pense comme vous !
http://search.msn.fr/worldwide.asp
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf