Jump to content
JcMagpie

Support thread for JcM Index Banner Carousel Animated V1.0

Recommended Posts

This is an Index add-on that lets you place a carousel banner on the index page of your site which can be animated if required.

It will show up to 8 banners. It allow start and finish dates to be set for the banners. This can only be done for the last 7 as the first must always be active for carousel to run. Banner will only show when start date is reached and will turn off on end date. The date must be entered in correct format.

Simply copy over all files install and turn on like any other add-on.

The overlay text for each banner and images can be set in the language file.

You can also select which pages it is to be shown on.

The animation is set by the header tags add-on which must be installed once only. It’s a bit complicated to explain but if you play with it you will figure it out. Each banner can have its own animation as can the 2 text groups on each banner. You can also use the animated class’s on any other add-on if you wish by simply adding the required class.

That’s it enjoy.

It has only been tested on Phoenix 1.0.5.4 only.

Can be seen working on this custom test site

image.thumb.png.2880f0c6df450936ed4894055597f0ca.png


 

Share this post


Link to post
Share on other sites

hi Zahid, @JcMagpie

Thank you for the addon. I tried to install all your banner related addons.
One of them i have trouble to change the block block to show the banner.
Please find the image below to see what i mean.


banner-index-1.4-2.gif.ee7f1a39b3b62aa8660b7c237c2b9010.gif

image.png.c54e8f3d80a82974b11881d071db2dd4.png

the above image is the setting in admin, how can I modify it to make the block bigger to show the banners? (it is all base on original setting, the only change i did is max high i changed to 100%)

Many thanks!  Lyn

Share this post


Link to post
Share on other sites

HI @JcMagpie;

I'm running on Pheonix 1.0.6.0  and PHP 7.2

Just down loaded JCM Index Banner Carousel Animated V1.0.  Uploaded all the files.  Every thing seems to have gone correctly.  I only found 1 file to turn on: admin -> modules -> header_tags -> JCM animated class.  So I install it.  but I can find where to go to start building the Banners.  It is not showing up under any tabs in admin. 

Need help please. 

Share this post


Link to post
Share on other sites

@hungryfrank

Thanks for letting me know.  I looked all over that one.  Now I'm looking for you go to set up the banners.  I have never used this program before.  I have the images up but no idea where to put them.  Or set this up.  I'm probably overlooking it.  Like I did with content.

 

Share this post


Link to post
Share on other sites

Also see another problem on the index page:

image.thumb.png.4236e251e6fed04b013c6a4b959372d6.png

This is all I see. 

 

Share this post


Link to post
Share on other sites
Posted (edited)

haven't used it just looking at the package 

there are some images in images/banners.  you might have to upload them manually. 

and in the content module you can probably make  the settings.  and he says that you can define the text in the language files.

I will install it if you can't figure it out

 

Edited by hungryfrank

you can cut up to 4 pages of your checkout by using my three add_ons

login create account in one page

Express checkout  

login pop up modal

Share this post


Link to post
Share on other sites

Okay I see where you have to manually put the images names in the language fields.   But I seem to have another issue.  When I click on the PHP to show errors the image goes to normal size.  and I have 2 errors/warnings.  I did a clean install of v1.0.6.0 and i restored my data files.  (to many items to key back in).  When I turn the php show errors off.  The image shrinks as shown above in a previous post.  I have emailed 1.0.6.0 but no one is able to help.  The errors are.  


Warning: Use of undefined constant MODULE_BOXES_CATEGORIES_MAX_LEVEL - assumed 'MODULE_BOXES_CATEGORIES_MAX_LEVEL' (this will throw an Error in a future version of PHP) in /includes/modules/boxes/bm_categories.php on line 36

Warning: Use of undefined constant MODULE_CONTENT_HEADER_MESSAGESTACK_CONTENT_WIDTH - assumed 'MODULE_CONTENT_HEADER_MESSAGESTACK_CONTENT_WIDTH' (this will throw an Error in a future version of PHP) in /includes/modules/content/header/cm_header_messagestack.php on line 24
 
They only poped up after I reinstall my data files.  System to seem to be running until now. 

 

Share this post


Link to post
Share on other sites

@hungryfrank

 

You are a bloody genus.  That got read of the messages.  Thank you.  I owe you. 

Now just one more problem. The banner is still small. Weather the PHP display errors is on or off.   

Just one more question I  for got to look at set up at the module/conntent/header/messagestack before I uninstalled.  When I instilled it  back it is at true , 12 and 0 (for sort order) is this correct?

image.thumb.png.3d3b80924b961b0ba8902e228b754530.png

Share this post


Link to post
Share on other sites

12  because  you want it to be full length

0 because it has to come first

true because you want it

if it doesn't work let me know ii will install it.

 

it might not show the image because of its type


you can cut up to 4 pages of your checkout by using my three add_ons

login create account in one page

Express checkout  

login pop up modal

Share this post


Link to post
Share on other sites

@hungryfrank

I added 4 images and I get this - all looking great. 

image.thumb.png.421fda1ecb265341941401d1dc53c5c2.png

After the 4th image shows it goes to the other.  image5 thru 8.

image.thumb.png.1efe83a3a89efa24cd85d47426587927.png

Here is the file if you want to look at, and make sure I worked it correctly. 

cm_i_index_banner2.php

I'm not seeing where the "Module-------Image5 thru 8 is coming form.  I blocked out the lines not needed.  Then I went to adim -> Module -> Content -> jcm index carousel banner and changed the end time on 5 thu 8 to 2019.  I hope all this was right.  It stopped the Module content image from showing. 

You have been a big help and I hope that I am moving in the right direction with this app. 

Thanks

 

Share this post


Link to post
Share on other sites

@hungryfrank

2 minutes ago, hungryfrank said:

12  because  you want it to be full length

0 because it has to come first

true because you want it

if it doesn't work let me know ii will install it.

 

it might not show the image because of its type

I learning - How do you test it? 

Share this post


Link to post
Share on other sites

 

2 hours ago, dculley said:

@hungryfrank

I learning - How do you test it? 

you can change wit and see what happens.  

I would do the same thing. if everything works then it is fine.

 

 

 


you can cut up to 4 pages of your checkout by using my three add_ons

login create account in one page

Express checkout  

login pop up modal

Share this post


Link to post
Share on other sites

I've hit another problem. I want to remove the banner text for showing up.

image.thumb.png.2cf3e1123666321c22322314cc3d67bd.png

I went in and committed out all the text lines in the file.  Thought that would do it.  But still missing something. 

What do I need to do??

Share this post


Link to post
Share on other sites

fixed it - at least it looks like I did.  :)

 

Share this post


Link to post
Share on other sites
Posted (edited)

excellent. any code that produces the desired result is fixed and working.

the constants are to be defined at a different part of the shop.

usually either in the language files or in the configuration table. 

they can be defined as '   '  to produce blank. 

THIS_CONSTANT_HAS_TO_BE_DEFINED

define('THIS_CONSTANT_HAS_TO_BE_DEFINED',' ');

 

Edited by hungryfrank

you can cut up to 4 pages of your checkout by using my three add_ons

login create account in one page

Express checkout  

login pop up modal

Share this post


Link to post
Share on other sites

Hi Zahid,  @JcMagpie

Thank you for this addon JcM Index Banner carousel Animated V1.0.
Can you please explain what these for and how I can apply them?
Banner to show    MODULE_CONTENT_HEADER_JCM_CAROUSELBANNER_ID1
Block on screen size  MODULE_CONTENT_HEADER_JCM_CAROUSELBANNER_VISABLE_CLASS
Banner text size MODULE_CONTENT_HEADER_JCM_CAROUSELBANNER_TEXTSIZE (is this for MODULE_CONTENT_HEADER_JCM_CAROUSELBANNER_TITLEB1   or for    MODULE_CONTENT_HEADER_JCM_CAROUSELBANNER_TEXTB1?)

Many thanks!  Lyn

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

×