New Templates Copyright

Feel free to talk about everything related to our Joomla Products
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Tue May 22, 2012 4:25 pm
Hello,

It used to be I could insert links into the copyright field before, now those HTML tags are stripped. It is important for me to link from the client's sites to my site. How can I fix it without messing with the template and hard-coding it? I'd still like to use simplicity of updating the copyright (with the link) in the template admin area.
Thanks.
User avatar
Fresh Boarder

teitbite
Wed May 23, 2012 6:43 am
Hi

Unfortunalety there is no other way than hard code that. You can find a right file to do that in /layouts/blocks/footer.php
User avatar
Moderator

GK User
Sat May 26, 2012 2:23 am
Thank you. I really wish this feature would come back as it was in Joomla 1.5. As you may understand the only reason people pay for template clubs is if they make money using your work. The more referrals from our work we get, the more money we make, the more site licenses we buy from you. So, please think about it and try to get it somehow back in the future. You are doing fabulous work. I am a big Gavick fan.
User avatar
Fresh Boarder

teitbite
Mon May 28, 2012 6:42 am
Hi

Sure, good point. I'll write programmers about this request.
User avatar
Moderator

GK User
Mon May 28, 2012 7:01 am
Hi guys,

I have got a trick to do that, check at https://www.gavick.com/forums/financial ... tml#p72376

Cheers,
User avatar
Platinum Boarder

teitbite
Mon May 28, 2012 7:47 am
Hi

A trick is ok :) But I'm trying to convince guys to use a html for copyrights as default, because it's not the first time I'm answering this question.
User avatar
Moderator

teitbite
Mon May 28, 2012 8:28 am
Hi

I got a reply from programmers:

It is more Joomla issue that template, since Joomla 1.7 HTML stripping is enabled by default and we can't change this because we use simple Joomla text fields in admin panel.
User avatar
Moderator

GK User
Tue Jun 05, 2012 2:50 am
Thank you for trying. I am not a programmer, so I cannot understand, if changing templateDetails.xml does the trick, why not do it for all the templates? Thank you again.
User avatar
Fresh Boarder

teitbite
Tue Jun 05, 2012 12:22 pm
Hi

templateDetails.xml will not work. This file is only telling joomla how params are called and what type of the field should it be. Result of filling settings form is processed by joomla core engine. And such engine is stripping this code to avoid a content structure which may destroy database. On the other hand this can be possible if module would have it's own table in database, unfortunately this is a topic for a pretty big code changes.
User avatar
Moderator

GK User
Wed Jun 06, 2012 5:03 am
Well, the workaround did work, and hope will continue working. Try it. Pity, I have now do this to every project (which is not hard). Thanks for the code change, Don Lee.
User avatar
Fresh Boarder

GK User
Wed Jun 06, 2012 3:53 pm
Thanks for letting me know that. Feel free to ask if you need any other assistance.

Have a nice day,
User avatar
Platinum Boarder

GK User
Thu Jun 07, 2012 8:16 am
You can use filter="raw" in templateDetails.xml which renders out html stripping for that field only.

See following link.
Code: Select all
https://www.gavick.com/forums/140/copyright-text-area-with-html-tag-16235.html?p=78918#p78918


See you guys around...
User avatar
Platinum Boarder

GK User
Thu Jun 07, 2012 8:34 am
Could you not insert the code you want into a custom-html module, then place that module in the copyright position?
User avatar
Expert Boarder

GK User
Thu Jun 07, 2012 8:40 am
Of course you can do that, but when template setting has copyright feature obviously users will want to use that ;)

See you around...
User avatar
Platinum Boarder

teitbite
Thu Jun 07, 2012 10:55 am
Hi

Ok. So is it solved or not ? Can we please close it already ?
User avatar
Moderator

GK User
Fri Jun 08, 2012 4:53 am
CMYKreative, this is something I did not think of. Would be a good solution if the templates had the copyright module position. The problem is the latest templates do not seem to have it.
I think you can close this discussion. Just wish you guys could change that code as Don Lee advised so that we could use the old convenience of inserting and updating links in the template manager.
Anyways, I love your designs and functionality of your templates.
Gavick is the best, please continue making us happy with new and even better designs.
Keep up the good work!
User avatar
Fresh Boarder

GK User
Fri Jun 08, 2012 5:09 am
We rarely use a templates copyright functionality anyway, it's usually way quicker and easier to add a new copyright module position (if it doesn't already have one) and then drop a module into that position. 2 mins work.
User avatar
Expert Boarder

teitbite
Fri Jun 08, 2012 4:21 pm
CMYKreative wrote:We rarely use a templates copyright functionality anyway, it's usually way quicker and easier to add a new copyright module position (if it doesn't already have one) and then drop a module into that position. 2 mins work.


Hi

Exacly. That's the best option. If someone is interested in this kind of solution here is a link about how to add new module position https://www.gavick.com/documentation/jo ... -position/

In this case a file where to add it is easy to find because with every template it's called footer.php
User avatar
Moderator

GK User
Sat Jun 09, 2012 3:36 am
Yay! Someone agrees with me! lol

Topic solved I guess :)
User avatar
Expert Boarder

teitbite
Sat Jun 09, 2012 11:22 am
Hi

There is no point to dissagree. It's a good solution :) Ok. I'm closing this miles long thread.
User avatar
Moderator

GK User
Thu Jun 21, 2012 6:50 am
Hi guys,

This bug is fixed now please upgrade your template to the latest version to get it.

Cheers,
User avatar
Platinum Boarder

teitbite
Thu Jun 21, 2012 6:26 pm
Hi

Ok. Thank You for info Don :)
User avatar
Moderator


cron