I'm sorry for the miscommunication, I had solved the problem even before you answered... If you read that very long post it explains the solution...
The next little post was stating that I wish you (ARI) would insert that little bit of code that I used to solve the issue into the actual plugin...
AND I wish you fix the issue where I could save the custom CSS into the ARI Image Slider template that way I could make different frame TEMPLATES. That way it'll be easy to switch between frame designs with a click...
Well I just solved that issue too and it wasn't the plugins fault.. it was the permission settings on the image folder inside the template folder... I had to set it to 745... that made the frame load... So now I can make different templates...
But now I have another issue... LOL
OK Now that I can save the custom CSS into the template file... My issue is that the custom TEMPLATE is only good for one module because the custom css is based off the unique ID that your plugin creates for each slider...
Example:
#ais_104_frameHolder {
width: 971px;
height: 460px;
position: relative;
margin-right: auto;
margin-left: auto;
top: 30px;
}
The
ais_104 part of the CSS is generated automatically by your code
Code: |
<div id="<?php echo $sliderId; ?>
|
So it's going to be unique on each instance of the plugin...
The
_frameHolder part of the CSS is a constant, it will be generated on each instance of the plugin...
So I'm still forced to use the module CSS field in each ARI ImageSlider module that I create...
If I can somehow get the CSS that's located in the CSS file in the ais template to dynamically insert
Code: |
<div id="<?php echo $sliderId; ?>
|
in front of _frameHolder {
} then I could save custom templates that can be used on every ais I create...
I don't think you can interject php code into a CSS file... But can there be a wild card in CSS? Meaning I would write the code like this:
Example:
#
*_frameHolder {
width: 971px;
height: 460px;
position: relative;
margin-right: auto;
margin-left: auto;
top: 30px;
}
So that the
* will apply to anything that's before the
_frameHolder part of the CSS
Excuse me and my none coding abilities... I don't know how to code... So I'm just trying to figure out how to do this...