• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Link in footer

Started by mihai,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mihaiTopic starter



Am incercat sa adaug linkuri in footer
Ce ar trebui sa contina codul ca sa fie vizibil in footer
Cu codurile de mai sus apare o pagina in loc de continutul siteului
Multumesc!
  •  

Marius P.

#1
Ai o super mega eroare acolo :)

$footer .= '
<div id="custom-footer">
'._lang("Bla bla bla").'
</ div>';



Mie imi sterge forumul </ a> si </ div> deci nu da copy paste.


Nu poti sa pui <?php ?> cand esti deja intre bracet-uri php (zone de php) si nu poti sa pui '' daca encapsulezi cu  ' fara sa iti dea eroare!


Ex:


echo 'It's my life';



DA EROARE!


In timp ce


echo 'It\'s my life';

sau
echo 'It"s my life';

Nu dau eroare.




Intelegi macar putin?
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

mihaiTopic starter

  •  

mihaiTopic starter

Gata am rezolvat
<a href="http://numesite/blabla" title="Blabla">Blabla</a>

In footer-content




Am inteles ideea!
Multumesc Mario!
  •  

Marius P.

Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

mihaiTopic starter

As mai avea o problema:
Am introdus 3 imagini
$footer =  '
</div>
</div>
</div>
</div>
<a href="http://blablabla.asdas" target="_self"><img src="http://asfasfasfg" border="0" style="position:absolute;bottom:120px;left:500px;"/></a>
<a href="http://yh/share" target="_self"><img src="http://s25.posting" border="0" style="position:absolute;bottom:120px;left:997px;" /></a>
<a href="http://hh" target="_self"><img src="http://s25.po" border="0" style="position:absolute;bottom:120px;left:712px;" /></a>
<a href="#" id="linkTop" class="backtotop"><i class="icon-arrow-up"></i></a>

As vrea sa stiu cum pot face sa se ajusteze imaginile in functie de rezolutie(prin media queries)
Adaug div id in tpl + ///cod id + setari in responsive///?
  •  

Marius P.

Pai nu asta e problema ta, problema ta e ca le-ai pus cu position absolute.
Asa imginile sunt toate responsive, dar daca containerul nu e responsive (div-ul care le tine) atunci normal ca nu se adapteaza.
Chiar ai nevoie sa fie pozitionate absolute?
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

mihaiTopic starter

Cand le-am pus position responsive nu le-am mai putut misca
  •  

mihaiTopic starter

Si ma mai intrebam daca le pot pune efecte(cand ai cursoru pe imagine sa fie mai mai inchisa)
  •  

mihaiTopic starter

#9
Am reusit sa le misc cu position relative dar tot nu este bine
Nu se ajusteaza cum trebuie
  •  

mihaiTopic starter

Defapt nu se ajusteaza deloc.Raman fixe
  •  

mihaiTopic starter

+
<div class="span8 footer-content">
<a href style="font-size:15px;http://youplay.url.ph/share/blabla" title="About">About</a>
<a href style="font-size:15px;margin-left:20px;http://youplay.url.ph/share/blabla" title="Terms and Conditions">Terms and Conditions</a>
<a href style="font-size:15px;margin-left:20px;http://youplay.url.ph/read/contact/4/" title="Contact">Contact</a>
<a href style="font-size:15px;margin-left:20px;padding-right:10px;http://youplay.url.ph/share" title="Help">Help</a>
'.apply_filters('tfc', get_option('site-copyright')).'
</div>
</div>
</div>
</div>
<script type="text/javascript">
var site_url = \''.site_url().'\';

Cand le selectezi nu te redirectioneaza catre pagina specificata in cod.De ce?Cum pot repara asta?
  •  

Marius P.

.footer-content a {
display:inline-block; /* in linie orizontala */
margin-right: 15px; /* 15px dupa fiecare in dreapta */
}
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

mihaiTopic starter

  •  

mihaiTopic starter

Am rezolvat problema redirecturilor.Probleme ramase legate de footer:
1.Nu am reusit sa-l fac sticky footer
2.Imaginile pe care le-am adaugat nu se ajusteaza in functie de rezolutie(raman fixe)
  •  

wolftbpg

como colocamos menu no rodape?
  •  

PHPVibe A.

Quote from: wolftbpg on
como colocamos menu no rodape?

How should I know to guess what you need? Simple code move, css changes...I can't guess what you need if you don't give details (in english)

PHPVibe A.

Quote from: mihai on
Am rezolvat problema redirecturilor.Probleme ramase legate de footer:
1.Nu am reusit sa-l fac sticky footer
2.Imaginile pe care le-am adaugat nu se ajusteaza in functie de rezolutie(raman fixe)

Aici poti sa-ti faci tu buildul, sunt 10000 de tutoriale cu sticky footer si la imagini, nu stiu, le aplici ceva hack the responsive (sa nu le pui dimensiuni decat procentual)

Similar topics (7)