31
nick89
Re: Truncating text of users news posts
  • 2004/7/18 1:09

  • nick89

  • Just popping in

  • Posts: 47

  • Since: 2004/7/9 8


err.. wait that would truncate the article too....
hmm... what if i made a new tempplate file news_item_condensed.html with the above and chane news_index.html to include this file...



32
nick89
Re: Truncating text of users news posts
  • 2004/7/18 0:57

  • nick89

  • Just popping in

  • Posts: 47

  • Since: 2004/7/9 8


could i not change the template news_item.html and replace
<p class="itemText"><{$story.text}></p>
WITH
<p class="itemText"><{$story.text|truncate:30:"...":false}></p>



33
nick89
Truncating text of users news posts
  • 2004/7/18 0:49

  • nick89

  • Just popping in

  • Posts: 47

  • Since: 2004/7/9 8


On the top pages of the news module I want to trucate the contents of each news item to 30 chars so that big articles can be read in full by clicking it's link. Has anyone ever done this before?



34
nick89
Re: Prefrences Freak Out
  • 2004/7/10 3:14

  • nick89

  • Just popping in

  • Posts: 47

  • Since: 2004/7/9 8


well that worked - but i'm still quite weary of it.
It's in the table xoops_config and its conf_id 63 for anyone interested.



35
nick89
Re: Prefrences Freak Out
  • 2004/7/10 3:05

  • nick89

  • Just popping in

  • Posts: 47

  • Since: 2004/7/9 8


i can change the config straight from the database - but i'd want to be sure it didn't screw up.



36
nick89
Re: Security Problem
  • 2004/7/10 2:48

  • nick89

  • Just popping in

  • Posts: 47

  • Since: 2004/7/9 8


How does your SERVER handle cookies?
if it doesn't record them - OR - it puts them all together than there would be a serious override issue (i think)



37
nick89
Prefrences Freak Out
  • 2004/7/10 2:32

  • nick89

  • Just popping in

  • Posts: 47

  • Since: 2004/7/9 8


Yeah well, every time i try to change the template set in the preferences and i click go - it never gets to the stage where it says Database Updated, it just stops.



38
nick89
Re: FAQ Module information
  • 2004/7/10 0:10

  • nick89

  • Just popping in

  • Posts: 47

  • Since: 2004/7/9 8


*BUMP*



39
nick89
FAQ Module information
  • 2004/7/9 10:15

  • nick89

  • Just popping in

  • Posts: 47

  • Since: 2004/7/9 8


hi.
in the faq module admin/index.php i want to take out the new question form and any dependencies within the file to run it so that i can design a users can post faq's hack.
I have found the form under the listcontents process - but i am a little unsure about how it works and its happenings. Then i think it does the quickeditcontents section. But i am confused - dosen't it need to run the addcontentsgo section???

any help appreciated.




TopTop
« 1 2 3 (4)



Login

Who's Online

144 user(s) are online (90 user(s) are browsing Support Forums)


Members: 0


Guests: 144


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits