Jump to content
thejinxters

How To Use Carousel Hook - Pagelines_Carousel_List

Recommended Posts

thejinxters

I am looking to add a custom image with a link to an external site to the carousel. The 3 default options of post, flickr, and nextgen, cannot do this. There is a 4th option called pagelines_carousel_list hook. How do I use this hook? I know how to use hooks in the functions.php of my child theme, however I do not know the syntax needed to place images inside the carousel. Could I get an example of this being done or at least the syntax used to place images in the carousel?

Share this post


Link to post
Share on other sites
Rob

The carousel is an older technology and using a hook on it is an excellent way to crash the carousel and likely, the entire site.

To meet your needs, I'd recommend finding an alternative carousel plugin.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
thejinxters

That is strange! Why is this an option in the pagelines framework if it is likely to crash a site? There has to be a reason this was coded into the framework...

Share this post


Link to post
Share on other sites
Rob

The statement I made above was pretty clear and not intended to confuse anyone into thinking that the carousel is subject to crashing anyone's site. The key is not the carousel, it's those who'd try to apply a hook anywhere. Improperly added hooks in the most up to date sections may cause the best maintained site to crash, irrespective of the framework or platform. Sometimes things just don't belong and can cause damage.

The reason our carousel is viable option in PageLines is simply that it works across browsers and when used properly, it just plain works.

Things don't break down until radical changes are made. Hooks in a carousel are radical and not supportable.

If our carousel doesn't work, we heartily recommend replacing it with something that is more akin to a client's needs.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
thejinxters

The statement I made above was pretty clear and not intended to confuse anyone into thinking that the carousel is subject to crashing anyone's site.

My statement was refering to the option of pagelines_carousel_list hook being in the dropdown menu within the carousel section, NOT about the carousel as a viable section.

The key is not the carousel, it's those who'd try to apply a hook anywhere. Improperly added hooks in the most up to date sections may cause the best maintained site to crash, irrespective of the framework or platform.

Thats precisely the reason I came to this forum: to ask how to do it properly. I understand that hooks used improperly can crash a site, plugin, section, etc. I am only asking how this hook was originally intended to be used so that I may expiriment on my own. If you do not know, or do not want to help, so be it. If anyone on this forum does know, please respond to this topic. Thanks.

Share this post


Link to post
Share on other sites
Rob

First, let me apologize if you think I was insulting you. No such intent.

Second, we do not support the use of hooks in core sections. That's a customization that requires the assistance of a pro.

I was answering your question which impunes that we're placing a section likely to crash a site:

Why is this an option in the pagelines framework if it is likely to crash a site?

I point out that we did not add a section that will crash anyone's site, but that when anyone does unintended and unsupported things with them, it will crash it. Modification of core sections is never supported. As I said, twice before, the solution here, rather than debating this is to find a suitable alternative as any of our developers will tell you.

The hook you mention was coded to make the section work, not to enable customization.

I was answering this quote as well with that information:

There has to be a reason this was coded into the framework...

We'd be happy to provide you access to several of our great pro developers to help with modifications, but those are simply not supportable in this forum. Please see http://www.pagelines.com/pros


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
James B

Thanks for posting the solution which could help other users :-)


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
beardedavenger

I also created Better Carousel, a new and improved Carousel plugin with extended post support. Stream any category, multiple categories, and even post types. AND, it's responsive. ;)

 

http://bearded-avenger.com/better-carousel

 

Should be up on the store shortly, it's currently in the review phase.


Something big is coming for DMS + photographers.

http://fotostheme.com

 

Nick Haskins & CO - New home for all of my PageLines Store products! 

http://nickhaskins.co

 

Better DMS - News, Tutorials, and Tips

http://betterdms.com

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×