Recent Topics

1 Jun 08, 2009 01:42    

My b2evolution Version: 2.x

Hello.

Okay so, here goes:

I finally upgraded to b2evo 2.4.7 and my site is still under construction.

After updating, my chosen skin was photoblog just to test it out so that I could see if everything worked before I attempted to customize my own skin using some of the photoblog features.

I made a few post in my http://candyacidreign.com/diablogue/index.php/portfolio/ just to test things out, but the "Index" link took me to a page that had all of the menu's etc, but no thumbnails. It was empty.

I saw that the thumbnails were created in my /media/blogs/portfolio/.evocache/

I even edited this code to my skins index.main.php to include the 'mediaidx'

as seen here

<?php
  // -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) --------------
  skin_include( '$disp$', array(
       'disp_posts'  => '',		// We already handled this case above
       'disp_single' => '',		// We already handled this case above
       'disp_page'   => '',		// We already handled this case above
	   'mediaidx' => 'mediaidx.disp.php',
     ) );
  // Note: you can customize any of the sub templates included here by
  // copying the matching php file into your skin directory.
  // ------------------------- END OF MAIN CONTENT TEMPLATE ---------------------------
?>

The bottomline is I don't know how to get my ?disp=mediaidx to work.

using dreamweaver I opened my blog/skins/_mediaidx.disp.php file and it was completely EMPTY. Even the _mediaidx.disp.php file in my upgrade folder I downloaded from b2evo site is also empty. I also had a /blog/_mediaidx.disp.php file and that was also empty. absolutely no code in it.

In b2evo 2.4.7 there is no inc/widgets/widgets/_coll_media_index.widget.php

or at least, I don't have one. The resolution might be simple, but I'm clueless as to why I have no working ?disp=mediaix

I did alot of researching before hand, and so I checked for a solution but can't seem to find one. I'm on a deadline because i need my site complete before a very important black tie event I have coming up. Any help would be greatly appreciated.

by the way,
I'm an artist, and a poet, so I needed a photoblog but I wanted it to look like my normal skin, so as you can see by clicking the link (far above) to my incomplete portfolio, I edited the "DarkBlogTheme' to my liking. However, the photoblog index DID NOT work even when I was using the normal photoblog skin. :-/ [/php]

3 Jun 08, 2009 20:09

Really stupid question, are your images "attached" to a post?

¥

4 Jun 08, 2009 20:12

Yes, if by attached you mean the image code is within the post. div class=image_block and so forth.

5 Jun 08, 2009 20:14

is my _mediaidx.disp.php file supposed to be empty? It has absolutely no code in it. never had code in it. Also what folder should it be in? skins/ or in the blog/ ?

6 Jun 08, 2009 20:21

I'm guessing that's a "no" then? ... ok, mediax only shows thumbnails that are "attached" to a post ( admin > files > select image(s) > make post(s) ) as opposed to ones that are slapped in a post ( admin > write > files > upload/select > add to post ) ... far from perfect huh?

the way skins work is "if you have that file in your skin then it takes priority ... if not then wander up a folder and look for the same file" .. check /skins/_meadiaix.disp.php ;)

¥

7 Jun 08, 2009 20:37

okay it worked in making thumbnails... YAY! BUT the post it made have no image in them. BOOoo

8 Jun 08, 2009 20:54

I think something is missing in my main.index.php because it worked fine in the photoblog skin, but not in my customized skin. Does anyone happen to know what php code displays the image post correctly?

9 Jun 08, 2009 21:26

i got it to work. However this php code wasn't working well. It created tiny little thumbnail images within the post, instead of fitting the image to size

'image_size' =>          'fit-720x500'

10 Jun 09, 2009 10:06

Post the whole section of that code ;)

¥

11 Jun 09, 2009 20:03

yeah... i did... lol... of course, but I'm saying that part didn't work. once i took it out it worked fine. It wasn't resizing properly.

12 Jul 07, 2009 13:31

CandyAcidReign wrote:

i got it to work.

Can you explain how please?


Form is loading...