HI,
I have doubled (actualy made 5 different copies) of Fordson theme to give theme selection to users. so the themes can be installed and set in parallel. ( anyone needs this feature can inform me to send the revised plugins). Omn the other hand I have made a weekly schedule by usign HTML block and a simple link mapping on a JPG file. So the users can click on the needed class and directly enter the class. It's really useful. Now that these two have combined, I need to detect the theme name in my HTML code and based on that, show a specific schedule JPG with the appropriate color scheme. can any one please help me how I can access to these global variables like current theme name, background filename, main color or... in an HTML block? I have attached the codes and a picture of my weekly schedule below:
HTML Code:
<div class="flexslider">
<p dir="rtl" style="text-align:center;"><img src="JPG address" usemap="#mp3"><br></p>
<map name="mp3">
<!-- 2nd grade-->
<area shape="rect" coords="550,100,700,150" href="https://lms.parsa-r.ir/course/view.php?id=23">
<area shape="rect" coords="300,100,450,150" href="https://lms.parsa-r.ir/course/view.php?id=24">
<area shape="rect" coords=" 50,100,200,150" href="https://lms.parsa-r.ir/course/view.php?id=22">
<!-- 3rd grade -->
<area shape="rect" coords="550,175,700,225" href="https://lms.parsa-r.ir/course/view.php?id=27">
<area shape="rect" coords="300,175,450,225" href="https://lms.parsa-r.ir/course/view.php?id=28">
<area shape="rect" coords=" 50,175,200,225" href="https://lms.parsa-r.ir/course/view.php?id=29">
<!-- 4th grade -->
<area shape="rect" coords="550,250,700,300" href="https://lms.parsa-r.ir/course/view.php?id=34">
<area shape="rect" coords="300,250,450,300" href="https://lms.parsa-r.ir/course/view.php?id=32">
<area shape="rect" coords=" 50,250,200,300" href="https://lms.parsa-r.ir/course/view.php?id=33">
<!- 5th grade -->
<area shape="rect" coords="550,325,700,375" href="https://lms.parsa-r.ir/course/view.php?id=38">
<area shape="rect" coords="300,325,450,375" href="https://lms.parsa-r.ir/course/view.php?id=39">
<area shape="rect" coords=" 50,325,200,375" href="https://lms.parsa-r.ir/course/view.php?id=42">
<!-- monday -->
<area shape="rect" coords="550,400,700,450" href="https://lms.parsa-r.ir/course/view.php?id=49">
<area shape="rect" coords="300,400,450,450" href="https://lms.parsa-r.ir/course/view.php?id=45">
<area shape="rect" coords=" 50,400,200,450" href="https://lms.parsa-r.ir/course/view.php?id=46">
</map>
</div>