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
no gallery is showing up after installation
Status: closed
March 5, 2011
11:15 pm
james438
Guest

Hi,

http://www.qcsgopc.org/wordpress/

I have been at this for a couple hours now with very little luck. I am only using your plugin 3.3.5, WP 3.1, and the Default 1.6 Theme for wordpress. I inserted into the index.php template of the theme. I have tried many different options in the DCG settings and the DCG widget is present. I have tried setting it to display on every page/post, but with no luck. Errors are set to display, but none show up when I view the source. I have tried other themes and editing the index.php template, but that has not worked either.

I am pretty sure I followed the directions and faq correctly and have tried searching the forums, which helped correct a few mistakes. My best guess is that I am trying to pull the images from a gallery to display on the main page of my site , when I should be pulling the images from the posts themselves.

Any suggestions?

March 6, 2011
6:38 am
james438
Guest

I am making some progress. I was able to get it to work by setting the main page to display posts as opposed to a static page. The options for getting it to work in static pages has not really worked. I am still trying to figure out what I am doing wrong with static pages, but at least I am finally making some progress.

This plugin takes a bit of effort to learn, but it is certainly worth it.

March 6, 2011
8:18 am
james438
Guest

I am working on customizing the plugin further by displaying the gallery within a post, but I may be looking at this problem in the wrong way.

Either way I wanted to say that my problem has been resolved. What I did wrong was I edited the index.php template when I should have edited the page.php template because I was trying to use a static page.

March 6, 2011
3:12 pm
Ade
Admin
Forum Posts: 2493
Member Since:
August 25, 2008
Offline

James,

Let's rewind a bit…

First, you need to determine which template is being used to display the home page of your site. Some themes will use index.php (for a typical blog style front page) and others will use home.php (typical magazine theme). Assuming your theme has a home.php, then you need to set your Dashboard > Settings > Reading to "Front page shows latest posts". Then, if home.php exists it will be used or, if home.php doesn't exist, index.php will be used. If you have a home.php, then simply add the dynamic_content_gallery() function somewhere appropriate in home.php.

If index.php is used, you need to deal with the fact that the Template Hierarchy will use index.php for displaying many different types of page in addition to the home page. Therefore, you need to use Conditional tags when adding the DCG template tag to index.php, ie like this:

if( is_home() ) {
dynamic_content_gallery();
)

If you want to use a Static front page (ie set Dashboard>Settings>Reading to "Front page shows a Static page") there are two possibilities:

1. Your chosen Static Front page doesn't use a Page Template, ie it uses the default page.php. Again, as with index.php, page.php will be used for displaying Pages other than the Static front page, so you need to use Conditional tags in page.php:

if( is_front_page() ) {
dynamic_content_gallery();
}

2. Your chosen Static Front page uses a Page Template. If the Page Template is only used for the Static Front page, just add the dynamic_content_gallery() code to this Page Template. If the Page Template is used for other Pages in addition to the Static front page, use the Conditional tag code shown in #1 above.

The next issue to deal with is the script loading. Until you can answer the above questions, just set this to "Other" in the DCG Settings > Load Scripts options.

Have you read the Configuration Guide?

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
March 6, 2011
8:54 pm
james438
Guest

I have read the configuration guide, faq, and documentation, but that does not mean I have not missed something. Later I discovered the quick start guide to be another useful resource. I would like to suggest adding that as a resource link in the sidebar of the plugin. It really helped as well.

My work with wordpress plugins is rather minimal. In retrospect another misunderstanding was I thought that the DCG image was the image that was posted by the user somewhere in the middle of the post as opposed to each post needing a DCG image. Silly, I know.

I made the further changes that you mentioned and now DCG only loads and operates on the static front page, which is what I originally wanted as opposed to what I had last night where DCG worked on every page and post except except the static main page.

Is there a way to mark this thread resolved?

March 6, 2011
10:37 pm
Ade
Admin
Forum Posts: 2493
Member Since:
August 25, 2008
Offline

James,

Glad it's sorted out. Smile

A word about images…

See DCG Settings > Image Management tab.

"Auto" means the DCG grabs the first image attachment in the post.
"Full" and "Partial" mean that you have to paste an image URL in the DCG metabox in the Write Posts screen.

PS: I agree, documentation could always be better, but there's only so much time I can give to a free plugin, and documentation is very time consuming. Smile
There is a link to the Quick Start Guide in the sidebar of the DCG pages on this site.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
Forum Timezone: UTC 1

Most Users Ever Online: 28

Currently Online: esana
12 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

johnbroome: 13

speedyp: 12

sjpeaches: 12

CherylMcL: 10

gscorp: 8

lsnoei: 8

Member Stats:

Guest Posters: 770

Members: 1300

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 7

Topics: 980

Posts: 4299

Newest Members: jochris26, eva-aa, Tushar, chargers3, jwhetstone, robert

Moderators:

Administrators: Ade (2493)