×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: preview

preview 8 years 10 months ago #8614

  • Grebox
  • Grebox's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
hi!

Is there a possibility to separate or not to show date and time on the preview? as you can see now preview do not place any blank space between time and first letter of the post... :S

thank you!

preview 8 years 10 months ago #8615

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
ah, we forgot to fix this in the RC. Search the forum you will find instructions what to change.

preview 8 years 10 months ago #8616

  • Nils Ally
  • Nils Ally's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 299
  • Thank you received: 33
Nice stuff!
I followed JonusC' description, and altered it a bit, to seperate the dates and titles with a vertical seperator like this:

YOURSITE > components > com_comment > joscomment > comment.class.php

I changed Line 753 to this:
$previewline	= str_replace('{PREVIEW_TITLE}', '  |  '.$title, $previewline);

preview 8 years 10 months ago #8617

  • Grebox
  • Grebox's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
...can you please paste an link to explanation as I can't find it...

preview 8 years 10 months ago #8618

  • Nils Ally
  • Nils Ally's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 299
  • Thank you received: 33
You must download the file through the FTP.
Then alter it as described, then upload it again to the same spot of course.

Here is my altered version you can try out.
But, rename your original version first (just for your own safety) to something like 1comment.class.php comment-20100130.zip

preview 8 years 10 months ago #8620

  • Grebox
  • Grebox's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
thank you Nils Ally.

i did not succeed with editing my php but when I upload your attached file it is OK.

Thank you!

preview 8 years 10 months ago #8626

  • Nils Ally
  • Nils Ally's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 299
  • Thank you received: 33
Glad to be of help! :)

Please write a review to help Compojoom (!JoomlaComment) or even a donation if possible. ;)

... or even both... :laugh:
  • Page:
  • 1
Time to create page: 0.086 seconds