No read more link is coming up. Even when I set intro text to 2 paragraphs, and have a read more thingy from joomla in there. It breaks at the read more break point where its meant to, but never seems to show a link... Why is that?
Lyften Bloggie - Read More Link Problem - Forums
Hi,
Maybe a workaround; what joomla editor do you use? I had the same issue when using the JCE 154 editor. Switching back to TinyMCE and the readmore function button was functional again.
Btw, you can also use the plain code for inserting a 'read more' in lyften. That code is:
<hr id="system-readmore" />
Since I prefer JCE over Tiny, I always edit the code whenever a readmore is needed.
PS: I agree that the response to support questions is somewhat slow. It might be reactions are a bit overwhelming, considering people tend to have a private life too.
Good luck, hope it helped.
Gabsor, Netherlands
|
|
Thanks Gasbor, but that doesn't solve the problem!
I have tried editing with the Lyften editor, TinyMCE and JCE, and none are working.
Let me elaborate. The html plain code editor within each of the editors DOES show the <hr id="system-readmore" /> code. However, the code is not generated in the output html, and therefore there is no link in the blogs.
Also the read more link does work in the Joomla articles.
So I guess there is a glitch in the Lyften code somewhere, although of course I could be wrong 
I was hoping someone here would know where to find the code to check.
Let's see.....
|
|
Don't know if anyone is still following this but, try this fix:
I am not an expert in PHP, so perhaps if someone who is could check this. . . there may have been good reason the creator left it out. Basicly, use at your own risk.
Check your settings as mentioned above in the post. From your LyftenBloggie settings, under content, make sure intro text is turned off and read more is on.
Then find the file: components -> com_lyftenbloffie -> addons -> themes -> anemoi -> entries.php
Open up that file. Line 57ish find
<?php echo $entry->text; ?>
<div class="clear"></div>
immediately after that add:
<?php if($entry->readmore) : ?>
<p class="read-more"><a href="/<?php echo JRoute::_( 'index.php?view=entry'.$entry->archive.'&id='. $entry->slug ); ?>"><?php echo JText::_('READ MORE'); ?></a></p>
<?php endif; ?>
Save, upload the file back to where you found it. It is a good practice to rename the original file instead of replacing it, just in case something goes bad.
Find a longish blog entry, add a read more link at the top and save the blog entry. The link should be there now. You can adjust the style of the actual link by going to:
components -> com_lyftenbloffie -> addons -> themes -> anemoi -> CSS -> style.css
and find on line 59ish
#lyftenbloggie .blogcontent .read-more {float: right; margin-right: 10px}
and changing that line to: (add a "p" before ".read-more")
#lyftenbloggie .blogcontent p.read-more {... specify text size, color, ect. here ...}
there are a couple of other CSS modifiers on the lines immediately following this line. You can play with those if you want to do more stuff.
Again, save, upload to where you found the file.
Hope this helps. Cheers
--Beyond
|
|
Still does not work that way, the link is wrong,
i had to change to:
<p class="read-more"><a href="/<?php echo JRoute::_( 'index.php?option=com_lyftenbloggie&view=entry'.$entry->archive.'&id='. $entry->slug ); ?>"><?php echo JText::_('READ MORE'); ?></a></p>
[Alex 30 Dec 2009 13:40:22]<p class="read-more"><a href="/<?php echo JRoute::_( 'index.php?view=entry'.$entry->archive.'&id='. $entry->slug ); ?>"><?php echo JText::_('READ MORE'); ?></a></p>
|
|

