[SOLVED] Display full post instead of excerpt -need a little more help
2 Attachment(s)
As was discussed in a few previous threads, the post excerpt is controlled by
<?php bfa_excerpt(); ?> [Default. Same as <?php bfa_excerpt( 55, ' ...' ); ?>] and I changed that in my postformat.php Sub Template to: <?php get_content(); ?> Unfortunately, it does not completely solve the problem. I am working on a localhost before introducing changes to my my live site at http://alittlesewing.com. edited to add: it looks like there is a limit to how many images I can upload. The next step I took was to remove this line from postformat.php: <?php bfa_thumb( 620, 180, true, '<div class="thumb-shadow"><div class="post-thumb">', '</div></div>' ); ?> and that removed the thumbnail from displaying. At that point the blog is displaying the correct date with the title of the post, but no content is shown. I have looked all through the information in the Montezuma Options, including the Limited PHP code. Unless you have a specific recommendation, it seems my next step is to learn how to create a child page? What am I missing. Thanks so much for guidance. |
for the moment use
HTML Code:
<?php bfa_excerpt( 99999, '' ); ?> |
never mind, that will strip all html from the posts...
|
I have a possible fix. I haven't tested it in all conditions but if you would like to try it
edit 'montezuma/includes/parse_php.php' and change line 35 from HTML Code:
if (have_posts()) HTML Code:
if (is_single() AND have_posts()) |
Juggledad, I changed the HTML on line 35 of the parse_php.php file.
But now I have a different problem - when I use Text Wrangler to save it, it saves as a text file, not a PHP file. I am new to Text Wrangler, but can't find option to allow me to save as a PHP file. At this point, it has crashed the site. I guess I need a different editing program so I can save a PHP file. I'll let you know what happens when I get that part straightened out. |
Quote:
|
you can ues the dashboard->apearances->editor to edit the file on the server.
textwrangler saves php files as test, it just gives them the extension of .php On the MAC I juse 'FETCH as my FTP program and edit the file that way with no problem. It could have something to do with your server... can you get into the back end? |
I got my localhost sorted out and got my site back.
Quote:
thanks for the extra info, though, about text wrangler and fetch. What do you think - can this be resolved or might it become a Request For Enhancement? I love the overall style of Montezuma. If I can't display complete posts, I need to provide better navigation for users at the bottom of the comment page. They don't like getting to the end of the comments and being "stranded" there with only the previous post or next post to click on. They want to click and return to the main page. What can I say, my readers don't like all the extra clicking! |
Well did you go into postformat.php in the virtual templates and change the 'bfa_excerpt(..)' to 'the_content()'?
|
YES! It seems to have worked.I actually did that earlier, took a look and didn't see a change.
Duh, I forgot to refresh the page. I just now did that and refreshed the page and I am getting the full post! Thank you!! |
1 Attachment(s)
Juggledad,
My website (http://alittlesewing.com) is now up to date with the changes and I am getting complete posts with correct content, thank you! There is one small issue I'd like to resolve - the text doesn't align perfectly with the date. I looked through CSS files, but can't figure out where it should change. Any ideas? thanks so much!! |
Not sure why it is like that but the following might fix it.
HTML Code:
.post-bodycopy p { |
Larry, that did the trick! Thanks so much!
|
All times are GMT -6. The time now is 09:44 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.