I got this to work finally. Had to do this: a href="<?=$this->fuel_blog->get_next_post($post)->url?>">Newer Entries/a
I actually have two pages where $post as argument works for one page but doesn't work for the first or the last …
The url property does not work. It gives me an error saying
A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
I supply the $posts as argument to get_next_post()
The $this->fuel_blog->get_next_post() will work but I have to create links like "Older Posts" under each detailed post on the right div. If we click on that link the right div is filled with the one previous post. I see how get_next and get_pr…
Ok. So, I have got the left and right divs to work properly. Just having two more issues:
1. There is a strange space between the post title and post content on the left side div element even though I have kept the margin as 0px.
2. Another featur…
Yes, I had to do strip_tags($post->content_formatted) that removes the tags. I don't know why just doing $post->content_stripped did not work. Maybe because I do not want tags to be removed?
Hi,
I tried to use <?php echo $post->content_stripped?> to remove images from the left sidebar but that removes the content also. I can just see the title. Can I do something else?
Thanks
Thanks for that. I actually managed to do it using $post->excerpt_formatted. Is that the same thing?
Also, one more question, I cannot get to cover the whole background of the left sidebar with color. The color only displays till the text conten…
no but I have modified the blog like I said before so the left sidemenu actually displays archives and post too. So, now when I write a post to a blog and use images in the content, it appears both in the sidemenu and also the right div.
Thanks. I managed to do this without utilizing AJAX.Hopefully it works.
I have another question to ask:
So, I have the two div layout as I described before in the blog module that works ok if I don't use any images. Now, when I create the blog po…
I do want to AJAX it in. I was doing this before:
In posts.php under views,
div id="left"
<?php echo $this->fuel_blog->sidemenu(array('archives'))?> //Left div
/div
div id="detail" //Right div to show detail
/div
Then in posts.php un…
In short, I just needed help with this:
I want to open individual blog post within the same page (where the list of posts are shown) within a div element rather than having it open in a new page. Is there a way to do that?
Thanks.
Thanks, I also wanted to know where/if there's a css for the div elements used in the blog files? I could not find a separate css. (i.e for main_inner div id etc.)