Panneau N0C 04 EN 250 250
Get 15% discount on our partner PlanetHoster with the code PHA-ceikay

Addign copyright year

More
10 years 8 months ago - 10 years 8 months ago #33375 by trogladyte
Previously, I used to add the line of code:
Code:
<p>Copyright © 2005 - <?php echo date("Y"); ?>. Company Name. All rights reserved.</p>

to the index.php file. I can't see quite how to accomplish this with Template Creator.

I made a module position and used a Custom HTML module, but, despite having JCE set to accept PHP, and confirming the code is still there in the module, nothing shows up. Just the plain text and links.

www.ckdev.info/mc

A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!
Last edit: 10 years 8 months ago by trogladyte.

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #33377 by ced1870
Replied by ced1870 on topic Addign copyright year
Hi
in template creator you have a custom html block where you can put directly your code
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago - 10 years 8 months ago #33379 by trogladyte
Replied by trogladyte on topic Addign copyright year
So I took out the module position and dropped in the Custom HTML. I styled the BG black, though, in TC it still shows as a white block. Dropped in the code I wanted saved, validated, copied, etc. No footer at all now. It doesn't show at all. Not sure what I've done wrong.

EDIT: Hmmm, my WHOLE footer area has gone...

A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!
Last edit: 10 years 8 months ago by trogladyte.

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #33385 by ced1870
Replied by ced1870 on topic Addign copyright year
I will check this by my side
do you have only the html block in your footer container ?

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #33386 by trogladyte
Replied by trogladyte on topic Addign copyright year
Yes, just in the footer. When I had it as a module position (I actually have 2 rows, one with 1 position - where the custom HTML block is, and another with 4 module positions below it) it showed up. When I changed to the HTML block the footer disappeared.

I'm sure I've done one little thing wrong.

A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #33392 by ced1870
Replied by ced1870 on topic Addign copyright year
no, I think that this come from a recent change in my code, I will check this today

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.214 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 570 guests and one member online