|
Spiral Scripts Support Forum :: Amazon Web Services |
|
|
|
|
|
Subject :AmazonWS: Blog Layout read_more Link..
17-12-2009 20:03:18
|
|
|
silentwolf |
|
Fresher |
|
Joined: 17-12-2009 16:16:28
Posts: 4
Location: |
|
|
|
<p>Hello, today i´ve purchased the AmazonWS plugin and now I would like to have the read_more Link in Blog Layout view.</p>
<p>It´s not rendered within com_content Blog Layout. Does anyone has a solution how to achieve this?</p>
<p>Regards</p>
<p>Thomas</p> |
IP Logged
|
|
|
|
|
|
|
Subject :Re: AmazonWS: Blog Layout read_more Link..
18-12-2009 10:22:56
|
|
|
boggler |
|
Spiral Scripts Support |
|
Joined: 18-08-2009 10:14:13
Posts: 211
Location: |
|
|
|
<p>You just need to insert a standard Joomla read-more link into your article. Probably the best place to put it is just after the plugin code.</p>
<p>If the link is not showing you probably need to change the component parameters for the page. Just find the menu item in the menu manager and edit the component paramater Read More...Link to 'show'.</p> |
IP Logged
|
susan subway boggler |
|
|
|
|
|
|
Subject :Re: AmazonWS: Blog Layout read_more Link..
18-12-2009 10:32:40
|
|
|
silentwolf |
|
Fresher |
|
Joined: 17-12-2009 16:16:28
Posts: 4
Location: |
|
|
|
<p>Ahhh, what the hell, Bloggler, maybe it was to late, i was crawling through the code to make it work and now this simple solution. I thought com_content will split automatically and append the readmore button.</p>
<p>Now it works. Thanks a lot!</p>
<p>Thomas</p> |
IP Logged
|
|
|
|
|
|
|
Subject :Re: AmazonWS: Blog Layout read_more Link..
18-12-2009 11:39:16
|
|
|
boggler |
|
Spiral Scripts Support |
|
Joined: 18-08-2009 10:14:13
Posts: 211
Location: |
|
|
|
<p>Great - I know what you mean, sometimes it is easy to miss the simple way.</p> |
IP Logged
|
susan subway boggler |
|
|
|
|
|
|
Subject :Re: AmazonWS: Blog Layout read_more Link..
18-12-2009 11:53:14
|
|
|
boggler |
|
Spiral Scripts Support |
|
Joined: 18-08-2009 10:14:13
Posts: 211
Location: |
|
|
|
<p>Actually if you want to generate a read-more link automatically I think that adding</p>
<p>$output .= '<hr id="system-readmore" />';</p>
<p> </p>
<p>on line 457 after</p>
<p>$output .= '<br />'."\n";</p>
<p>should do it.</p> |
IP Logged
|
susan subway boggler |
|
|
|
|
|
|
Subject :Re: Re: AmazonWS: Blog Layout read_more Link..
18-12-2009 12:27:30
|
|
|
silentwolf |
|
Fresher |
|
Joined: 17-12-2009 16:16:28
Posts: 4
Location: |
|
|
|
<div style="font-style:italic; background-color:#EED8EE; border:dashed 1px blue;">
<p>$output .= '<hr id="system-readmore" />';</p>
</div>
<p><br />No, not working. Just shows the horizontal line?! Plugin is set to the first position.</p> |
IP Logged
|
|
|
|
|
|
|
Subject :Re: AmazonWS: Blog Layout read_more Link..
18-12-2009 12:59:38
|
|
|
boggler |
|
Spiral Scripts Support |
|
Joined: 18-08-2009 10:14:13
Posts: 211
Location: |
|
|
|
<p>OK, then I don't think you can do it through the plugin, I think you will have to actually add it to the article yourself.</p>
<p>It all depends on the timing of when the plugin is fired, I guess that the read-only links are generated before the onPrepareContent event (which fires the plugin) is generated. You would need to look through the code for com_content to check this.</p>
<p>The code for firing the content plugins are fired in the component view files eg</p>
<p>components/com_content/views/category/view.html.php</p>
<p>But I think that this approach is not going to work unfortunately</p> |
IP Logged
|
susan subway boggler |
|
|
|
|
|
|
Subject :Re: Re: AmazonWS: Blog Layout read_more Link..
18-12-2009 13:01:43
|
|
|
silentwolf |
|
Fresher |
|
Joined: 17-12-2009 16:16:28
Posts: 4
Location: |
|
|
|
<p>I´m fine with the manual way!</p> |
IP Logged
|
|
|
|
|