Addign copyright year

Addign copyright year was created by trogladyte

Posted 8 years 2 months ago #33375
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:8 years 2 months ago by trogladyte
Last edit: 8 years 2 months ago by trogladyte.

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

Replied by ced1870 on topic Addign copyright year

Posted 8 years 2 months ago #33377
Hi
in template creator you have a custom html block where you can put directly your code
CEd

Joomlack Webmaster and Developer

by ced1870

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

Replied by trogladyte on topic Addign copyright year

Posted 8 years 2 months ago #33379
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:8 years 2 months ago by trogladyte
Last edit: 8 years 2 months ago by trogladyte.

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

Replied by ced1870 on topic Addign copyright year

Posted 8 years 2 months ago #33385
I will check this by my side
do you have only the html block in your footer container ?

Joomlack Webmaster and Developer

by ced1870

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

Replied by trogladyte on topic Addign copyright year

Posted 8 years 2 months ago #33386
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.

Replied by ced1870 on topic Addign copyright year

Posted 8 years 2 months ago #33392
no, I think that this come from a recent change in my code, I will check this today

Joomlack Webmaster and Developer

by ced1870

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

Time to create page: 0.698 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1034 guests and one member online