| User | Post |
|
2:47 pm March 10, 2010
| Don Begley
| | |
| Guest
| | |
|
|
I'm working with a Market theme installation for a client who wants to display her product posts in the news section, which is currently drawing content from a category called 'Store Home'. Her products are in a category called 'Products' or in its child subcategories. Apparently the material in the 'News' section is limited to 'Store Home'. Can it be opened to include 'Products' and its subcategories?
Thanks,
-d-
|
|
|
|
|
The code that displays on the index.php page on the sidebar (located within the <div class="products"> area) can be moved into the news section.
Hope that helps.
|
|
|
1:47 pm March 17, 2010
| Don Begley
| | |
| Guest
| | |
|
|
Market Admin said:
The code that displays on the index.php page on the sidebar (located within the <div class="products"> area) can be moved into the news section.
Hope that helps.
Thanks. I'll see how it works.
-d-
|
|
|
7:56 am March 23, 2010
| Don Begley
| | |
| Guest
| | |
|
|
Market Admin said:
The code that displays on the index.php page on the sidebar (located within the <div class="products"> area) can be moved into the news section.
Hope that helps.
index.php doesn't have a didebar as it only checks for phpThumb.config.php. frontdoor doesn't have a sidebar or class="products" either. page.php calls sidebar.php but sidebar.php doesn't have a products div, either. ditto singlepage.php. page.php does have this call: <div class="post"; id="post-<?php the_ID() ?>">. Can it be modified to call soemthing other than news, assuming this call is responsible for the news post on the home page?
Thanks,
-d-
|
|
|
|
|
What version of Market Theme are you running?
index.php DOES have a sidebar, unless you've got an older version of Market. (It's down around line #79)
frontdoor.php also has the ability to have a sidebar, but it's got to be physically enabled. (Check around line #41) If you change that, you'll also have to make some changes to the functions.php file around lines #61, 61 & 63. You have to disable one and enable the other. There's a post somewhere around here on adding the sidebar to the frondoor file. Step by step.
I suppose I'm a little unsure of what you're after. It sounds like you're trying to move the product thumbnails that show up on the right column of the homepage ("New Additions") — to the left column under "news". Is that correct?
If so, then all you should need to do is move the thumbnails code out of the "products" <div> tag nest, and place it into the "news" <div> tag nesting section.
The complete code is there, it just needs to be moved.
|
|
|
9:17 am April 1, 2010
| Don Begley
| | |
| Guest
| | |
|
|
It's version 3.62. Index.php has 11 lines as follows:
<?php if (!file_exists('phpThumb.config.php')) { if (file_exists('phpThumb.config.php.default')) { echo 'WARNING! "phpThumb.config.php.default" MUST be renamed to "phpThumb.config.php"'; } else { echo 'WARNING! "phpThumb.config.php" should exist but does not'; } exit; } header('Location: ./demo/'); ?>
Does that make sense to you?
Thanks,
-d-
|
|
|
|
|
Actually, I think you're being showed the wrong "index.php" page. (You must be using the built-in WordPress editor.)
The newer versions of the WordPress theme editor now looks into subfolders as well, rather than just the main theme folder. (However, this brings up a flaw in the editor, because if it finds mulitple files with the same name, it only shows one.)
So, what's happening, is that it's showing you the "index.php" file of the "phpThumb" subfolder.
You'll have to do the editing changes manually on your local machine, and then upload it.
|
|
|
10:59 am April 6, 2010
| Don Begley
| | |
| Guest
| | |
|
|
That makes sense–I didn't understand how we could be so far apart. I'll get back to the site owner for access to the files.
-d-
|
|