Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

Add custom input field into admin panel

Aloittaja MarkoKg, marraskuu 02, 2013, 02:26:00 IP

« edellinen - seuraava »

MarkoKg

Lainaus käyttäjältä: Sir Cumber-Patcher - tammikuu 25, 2014, 03:47:32 IP
*shrug* You really are making this more complicated than it needs to be.
I believe you, really :)
Sorry for bothering you, I can't imagine how weird it looks to you what I'm trying to do, I guess.
The thing is that I thought that this would be the easiest way of managing with this, and I managed all except CSS part which i left for the end.

MarkoKg

I tried with:
#blog1 { background: url("<?php echo $lines[4]; ?>") center center;}
But it doesn't work as well. I added:
$lines = file('http://myforum.com/file.txt');
before that in index.template as well.

Don't know where I'm wrong here...  :-\

MarkoKg

Nevermind, I got it myself, had to rewrite the html code and put that css code inline, and it's working just fine now.

Thanks for your help.

Advertisement: