Jump to content

Modificare file Non appare il codice sorgente del tpl o php


diodato

Recommended Posts

Salve a tutti,

quando scarico il file che voglio modificare con filezilla e lo apro con il TExtedit

non esce il codice da modificareallego file rinominato in html.

 

 

C'è bisogno di una licenza per modificarlo?

Come si ottiene, oppure sbaglio qualcosa, sono un principiante.

 

Vi prego di indicarmi tutta la procedura per poter modificare un file.

Grazie

footer.html

Link to comment
Share on other sites

L'ho aperto con un editor html ma nulla da fare, fa visualizzare quanto riporto:

 

 

 

* 2007-2012 PrestaShop

*

* NOTICE OF LICENSE

*

* This source file is subject to the Academic Free License (AFL 3.0)

* that is bundled with this package in the file LICENSE.txt.

* It is also available through the world-wide-web at this URL:

* http://opensource.org/licenses/afl-3.0.php

* If you did not receive a copy of the license and are unable to

* obtain it through the world-wide-web, please send an email

* to [email protected] so we can send you a copy immediately.

*

* DISCLAIMER

*

* Do not edit or add to this file if you wish to upgrade PrestaShop to newer

* versions in the future. If you wish to customize PrestaShop for your

* needs please refer to http://www.prestashop.com for more information.

*

* @author PrestaShop SA <[email protected]>

* @copyright 2007-2012 PrestaShop SA

* @version Release: $Revision: 6594 $

* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)

* International Registered Trademark & Property of PrestaShop SA

*}

 

{if !$content_only}

</div>

 

<!-- Right -->

<div id="right_column" class="column grid_2 omega">

{$HOOK_RIGHT_COLUMN}

</div>

</div>

 

<!-- Footer -->

<div id="footer" class="grid_9 alpha omega clearfix">

{$HOOK_FOOTER}

{if $PS_ALLOW_MOBILE_DEVICE}

<p class="center clearBoth"><a href="{$link->getPageLink('index', true)}?mobile_theme_ok">{l s='Browse the mobile site'}</a></p>

{/if}

</div>

</div>

{/if}

</body>

</html>

 

Qualcuno può aiutarmi?

Grazie

Link to comment
Share on other sites

Io non uso firebug, ma chrome... Ma credo che siano simili.

Con chrome se clic chi di dx hai 2 scelte " visualizza sorgente pagina" che fa vedere tutto il codice ( come dici tu) ed " ispeziona elemento"... Qui agisci in modo più mirato, xchè cliccando di dx sul punto esatto, ti fa vedere tutte le dipendenze di quella porzione di codice.

Credo che ci sia qualcosa di simile anche con firebug!

Ciao

Link to comment
Share on other sites

Firebug è un'estensione di firefox.... ma con firebug non modifichi niente.

Ti serve solo x individuare il punto esatto, dopo di che devi lavorare con un software in locale tipo dreamweaver o simili, e ricaricare i file via ftp.

Non capisco cosa tu intenda con "non mi fa visualizzare i sorgenti".

Spiegati meglio per cortesia!

Link to comment
Share on other sites

Ormai tu sei la mia guida, innanzitutto ti ringrazio per la pazienza, cerco di spiegarmi meglio.

NEl forum si dice, che per modificare alcuni elementi di mio interesse, bisogna modificare il file footer.tpl, se io apro questo file con un editor mi esce la scritta che ti postai ieri? Cosa sbaglio?

Spero che mi sia spiegato.

Arturo

Link to comment
Share on other sites

{*

* 2007-2012 PrestaShop

*

* NOTICE OF LICENSE

*

* This source file is subject to the Academic Free License (AFL 3.0)

* that is bundled with this package in the file LICENSE.txt.

* It is also available through the world-wide-web at this URL:

* http://opensource.org/licenses/afl-3.0.php

* If you did not receive a copy of the license and are unable to

* obtain it through the world-wide-web, please send an email

* to [email protected] so we can send you a copy immediately.

*

* DISCLAIMER

*

* Do not edit or add to this file if you wish to upgrade PrestaShop to newer

* versions in the future. If you wish to customize PrestaShop for your

* needs please refer to http://www.prestashop.com for more information.

*

* @author PrestaShop SA <[email protected]>

* @copyright 2007-2012 PrestaShop SA

* @version Release: $Revision: 6594 $

* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)

* International Registered Trademark & Property of PrestaShop SA

*}

 

{if !$content_only}

</div>

 

<!-- Right -->

<div id="right_column" class="column grid_2 omega">

{$HOOK_RIGHT_COLUMN}

</div>

</div>

 

<!-- Footer -->

<div id="footer" class="grid_9 alpha omega clearfix">

{$HOOK_FOOTER}

{if $PS_ALLOW_MOBILE_DEVICE}

<p class="center clearBoth"><a href="{$link->getPageLink('index', true)}?mobile_theme_ok">{l s='Browse the mobile site'}</a></p>

{/if}

</div>

</div>

{/if}

</body>

</html>

 

 

Come vedi (questo è il footer.tpl di uno dei miei siti... ma del tema default)... e non c'è niente di strano... è così..

poi se devi modificare colori... formattazione del testo.. allora devi lavorare sul global.css del tuo tema.

 

Se in alternativa ( come ti ho detto qualche post fa) devi modificare dei testi.. bisogna vedere quale porzione del footer devi modificare.. dato che a volte basta modificare le cose nel moduli da BO...

Tutto dipende da cosa vuoi fare.

Ad esempio, alcune cose le modifichi anche lavorando sui css o sui tpl dei moduli agganciati al footer.. insomma, senza sapere nel dettaglio cosa vuoi fare, diventa veramente difficile darti una mano.

 

Ciao e Buon lavoro!

Link to comment
Share on other sites

  • 2 years later...

Ciao a tutti, anche io sono curioso di sapere come si fa esempio:

nel modulo configura CMS c'è la possibilità di scrivere le informazioni piè di pagina e supponiamo che scrivo: copyright 2016 

ora voglio modificare con dreamwawer la scritta "copyright 2016"

dove la trovo?? ovvero quale è file che devo aprire una volta scaricato in locale?

in blockcms.tpl non c'è

in global.css non c'è

 

Grazie

Roberto

Link to comment
Share on other sites

MarcoBiz buonasera, in effetti la scritta "copyright 2016" non è presente in nessuno dei file nonostante abbia nuovamente controllato nelle cartelle del tema come suggerito da Giorgio M. buonasera a te e grazie della risposta

 

quindi ora svelato il mistero di molti di noi, sembrerebbe proprio che sia possibile modificare con editor di testo come dreamweawer.

 

Sarebbe stato comodissimo abilitare le modifiche in alcuni punti della struttura come ad esempio il footer fondamentale per le normative vigenti senza tutte le volte disturbare il progettista dei tema acquistato su addons quando si riscontrano errori di allineamento, spaziatura, distanze e nell'ultima mia esperienza anche la posizione nel "bottom: -28px!important;" , il progettista ha dovuto realizzare un fix.css per risolvermi il problema.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...