We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Static pages with dynamic content

Development and Programming

jwindhorst's avatar
jwindhorst
99 posts
14 years ago
jwindhorst's avatar jwindhorst

I’m not sure how well that title actually describes my problem, but hey, that’s what the message area is for right?

Anyway, we have are using pages and taxonomy for the majority of our site. There are a few pages however that would have a brief description at the top and then a series of image galleries with descriptions, and pagination below that.

I was envisioning using taxonomy/pages to create the original description, and then doing an ajax call to a separate channel called “galleries” to get the multiple entries that would make up the gallery. I set the channel path, and I left the URL in the pages section of the entry blank, however I still cannot access the multiple entries in the “galleries” channel.

Is this even possible when using pages and taxonomy?

       
Rob Allen's avatar
Rob Allen
3,114 posts
14 years ago
Rob Allen's avatar Rob Allen

You probably need to use dynamic=”no” in your gallery Channel tag…

{exp:channel:entries channel="gallery" dynamic="no"}
Stuff
{/exp:channel:entries}
       
iain's avatar
iain
317 posts
14 years ago
iain's avatar iain

I do this all the time, but not using any ajax methods like you describe.

If you have a page_uri of /gallery on a “page”, simply assign it your /gallery template, which includes all of your dynamic calls etc.

Similar to the dynamic=”no” parameter, you can use show_pages=”no” with the difference being that it will listen to categories, pagination etc in the url.

Then you can tell taxonomy which nav item you’re on by passing the entry_id of the gallery entry through to the nav/breadcrumbs tag.

Make sense?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.