Jump to content
Sign in to follow this  
JcMagpie

Support thread for JcM Header Stock Banner V1.0 Phoenix

Recommended Posts

This is a simple header add-on that lets you place banner at the top of your site.

This makes use of the stock banner manager that comes with osC.

It’s a no core change add-on. Simply install and turn on like any other add-on.

Once it’s installed simply go to admin tools/banner manager and add your banners. Make sure to add it to the header group or it will not work. These can be text or images just follow instructions in admin. Remember to add your URL link for each banner or you will get a 404 error.

The banner can be configured in admin and you can select which pages it is to be shown on. The text message is optional and can be turned on or off in admin. The actual text is set in the language file.

That’s it enjoy.

It has only been tested on Phoenix 1.0.1.X only.

Can be seen working on this custom test site

NOTE: This is NOT the official test site

image.thumb.png.5815240a988aa2660d422e4481a0101f.png

 


 

Share this post


Link to post
Share on other sites

Just installed this on a Phoenix 1.0.2.5 with the below settings and it forces the breadcrumb to appear below this only.

Logo - Order; 10,  Width; 4

Banner - Order; 20  Width; 8

Breadcrumb - Order; 40  Width; 12

Any thoughts on this before I start digging into it?

 

Share this post


Link to post
Share on other sites

Sorry but not tested on 1.0.2.5  works fine on 1.0.2.2

post or pm link to site as got to be some issue with settings.


 

Share this post


Link to post
Share on other sites

Changed this 

<div id="header-banner" class="img-fluid " style="text-align: center;">
  <?php echo tep_display_banner('static', $banner); ?>
  <?php if (MODULE_CONTENT_HEADER_JCM_STOCKBANNER_TEXTDISPLAY == 'yes') {?>
  <?php echo MODULE_CONTENT_HEADER_JCM_STOCKBANNER_TITLEB1?>
 <?php echo MODULE_CONTENT_HEADER_JCM_STOCKBANNER_TEXTB1?>
</div>

To this 

  <?php echo tep_display_banner('static', $banner); ?>
  <?php if (MODULE_CONTENT_HEADER_JCM_STOCKBANNER_TEXTDISPLAY == 'yes') {?>
  <?php echo MODULE_CONTENT_HEADER_JCM_STOCKBANNER_TITLEB1?>
 <?php echo MODULE_CONTENT_HEADER_JCM_STOCKBANNER_TEXTB1?>

and it worked. For some reason it doesn't like that DIV

Share this post


Link to post
Share on other sites
Posted (edited)

Should be no need to remove a div but hey if it work's for you then all good.

sorry missing image in last post, as you can see works fine as is.

image.thumb.png.23f4f8943b39b8665ba1acb3e0a1f06f.png

Edited by JcMagpie

 

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
Sign in to follow this  

×