WebDev

SMF Modifications => EhPortal => EhPortal Support => Topic started by: dman on March 16, 2026, 06:39:34 PM

Title: EhPortal and Image Slider Integration. Location for files ??
Post by: dman on March 16, 2026, 06:39:34 PM
I can't post the actual calls as this forum blocks it as code. 

The calls are for style sheets, and java script.

The two calls need be go inside the head tags, but not sure which file. 
Title: Re: EhPortal and Image Slider Integration. Location for files ??
Post by: Chen Zhen on March 17, 2026, 01:08:40 AM

I'm not sure what you're attempting to accomplish.
Is this image slider a SMF modification or is it custom code?

You can always add some JavaScript functions and/or CSS id/classes to the "Website Header" option in the admin & then create a block or page that uses them. 
Title: Re: EhPortal and Image Slider Integration. Location for files ??
Post by: dman on March 18, 2026, 09:05:33 PM
Thanks (as always), for the fast feedback Chen.  It is a custom slider, and I added the pointers for the CSS and JS in the themes index template.

Thank you.
Title: Re: EhPortal and Image Slider Integration. Location for files ??
Post by: Chen Zhen on March 20, 2026, 11:48:28 PM
That's what the "Website Header" option is for.. no need to manually edit files because it adds your HTML5/JavaScript code to the head of all templates.
EhPortal 1.40.4-RC1 © 2026, WebDev