×

Notice

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

TOPIC: Reposition the {readon}{/readon} block

Reposition the {readon}{/readon} block 15 years 9 months ago #71

  • Blessed
  • Blessed's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
How do i control where the {readon}{/readon} block displays when the content item is rendered by joomla i.e. i want to achieve the following output:

STORY 1 TITLE
x comments | STORY 1 DATE

STORY 1 TEXT

STORY 2 TITLE
x comments | STORY 2 DATE

STORY 2 TEXT

etc

How can i achieve this?

Reposition the {readon}{/readon} block 15 years 9 months ago #74

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081

Reposition the {readon}{/readon} block 15 years 9 months ago #77

  • Blessed
  • Blessed's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
Sorry was so tired i had to rest for a while. lemme look at it and get back to you, thanks.

Reposition the {readon}{/readon} block 15 years 9 months ago #78

  • Blessed
  • Blessed's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0

Is that helping: compojoom.com/index.php/faq/28-faq/21-ch...e-comment-style.html


I had looked at this but to be honest im not quite understanding what is being said here, could you say it in simpler terms?

thanks again

Reposition the {readon}{/readon} block 15 years 9 months ago #80

  • Blessed
  • Blessed's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
Daniel,

I reread my initial post, i think i didnt clearly out line exactly what i want to achieve. Here is my scenario.

CURRENT SITUATION:

i have a story displaying as hown below on thefront page:

[url=#]This is a sample story title[/url]
Thursday, July 3, 2008

This is the story's into text
This is the story's into text
This is the story's into text

[url=#]2 Comments[/url]


DESIRED SITUATION:

[url=#]This is a sample story title[/url]
[url=#]2 Comments[/url] | Thursday, July 3, 2008

This is the story's into text
This is the story's into text
This is the story's into text

===============================

NOTE THE REPOSITIONING OF THE LINK TO THE COMMENTS


I hope this makes clear what i want to achieve.

Reposition the {readon}{/readon} block 15 years 9 months ago #81

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Well, I've looked at beez template and to me it seems that with joomla 1.5 everything is possible,
for me the solution is css - I have no idea how much time you will need to get it right, but it is possible.
I recently read that book: http://www.amazon.com/Transcending-CSS-Design-Voices-Matter/dp/0321410971/ref=sr_1_15_s9_rk?ie=UTF8&s=books&s9r=8afea4c112e1793d0112ea24a54500ef&itemPosition=15&qid=1215090720&sr=8-15 and I realised the power of css - but it needs a lot of practice.

Sorry, if I'm not very helpfull, but the only solution for me is to play with your template to get it right.
Greetings!
Daniel

Reposition the {readon}{/readon} block 15 years 9 months ago #84

  • Blessed
  • Blessed's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
thanks, I'm currently looking at the option of overiding templates docs.joomla.org/Tutorial_talk:Template_overrides

Do you think in future in joomlacomment releases a parameter could be added that allows user to toggle wether the {readon} block is displayed before or after the article?

Reposition the {readon}{/readon} block 15 years 9 months ago #87

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I'm not 100% sure how we add that link there right now. I was thinking that we rewrite the normal joomla read more link with !jc's one.

I believe overriding the template should work(tried it for few minutes with beez and it seems that you can get the read more to be on another place)

In a future release - I don't know - not really sure how it is working now - I must read a little code :)
  • Page:
  • 1
Time to create page: 0.115 seconds