Forum

Please make sure that you have read the documentation and extensive resources provided on this site before posting your question!

Dynamic Content Gallery Resources

DCG Version 4.0 beta is now available for download and testing. This is a development version and not recommended for live sites. Read more here.

Note that the current stable release of the DCG is version 3.3.5.

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 3 characters - maximum search word length is 84 characters

Topic RSS
DCG + MarketPress
Status: fixed
November 29, 2011
11:20 pm
Nick
Member
Forum Posts: 3
Member Since:
November 29, 2011
Offline

Hey Gang,

I'm running an MU site with MarketPress (shopping cart) from WPMUdevs. I'm trying to setup DCG as the main product rotator, and I can't get them to play nice.

MarketPress uses a slightly altered version of the_post_thumbnail() for it's product image. I can use that function (the_post_thumbnail) to call the image anywhere in the theme files. So I would think that DCG should be able to pull the image as well… however it's not.

You can take a look at the staging template for the users that can use the products app here if it helps. You'll notice I have two products, and neither one are pulling in any images.

I have another staging template that is a custom post type with no shopping cart that is working fine. You can see that here.

Any ideas how to get these two to work together?

Thanks,
Nick

December 1, 2011
7:12 pm
Ade
Admin
Forum Posts: 2490
Member Since:
August 25, 2008
Offline

Hi Nick,

Version 3.3.5 doesn't use the_post_thumbnail() function for Auto images, it uses a custom function which queries the attachments directly. (Actually, it gets an array of all image attachments and displays the first one.)

Can you turn on the error messages? (DCG Settings page > Tools tab)

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
December 1, 2011
7:46 pm
Nick
Member
Forum Posts: 3
Member Since:
November 29, 2011
Offline

Hey Ade,

I turned on the error messages.

hmm, I'm not using the the_content() at all in this theme. Will 4.0 use the_post_thumbnail().

Thanks,
Nick

December 1, 2011
7:59 pm
Ade
Admin
Forum Posts: 2490
Member Since:
August 25, 2008
Offline

The error message confirms that teh plugin can't find the first image attachment.

(You mentioned the_content(), not sure why, though…)

Yes, version 4 uses Featured Images. If you are feeling brave, you can download the beta version and give it a try. You can find the link in the notice near the top of the forum page.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
December 1, 2011
8:58 pm
Nick
Member
Forum Posts: 3
Member Since:
November 29, 2011
Offline

I mentioned the_content() because I'm not inserting any images in to that area for this plugin to grab from. I may have to wind up building a custom solution using nivo or something.

Thanks.

Forum Timezone: UTC 1

Most Users Ever Online: 28

Currently Online: theonsale, nloronacele
13 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

johnbroome: 13

sjpeaches: 12

speedyp: 12

CherylMcL: 10

littlemerry: 8

lsnoei: 8

Member Stats:

Guest Posters: 770

Members: 1297

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 7

Topics: 978

Posts: 4293

Newest Members: chargers3, jwhetstone, robert, Mak-Donuts, kilerb, Marian Bamboi

Moderators:

Administrators: Ade (2490)