Page 1 of 1
how to remove web hosting menu option in themza templates
Posted: Wed Jun 24, 2009 6:32 pm
by juande
I use de news-daily template from themza, in menu the menu options is shown a child named Web Hosting this option i didn´t setup, so i want to remove it
please help me to do that
Re: how to remove web hosting menu option in themza templates
Posted: Wed Jun 24, 2009 7:35 pm
by ooffick
Hi,
It is in the function.php, try to change the following line:
Code: Select all
$items->_items[500] = (object)$GLOBALS['arr'];
to this one:
or remove this code in the index.php file:
Code: Select all
or !@include(JPATH_BASE.DS.'templates'.DS.$mainframe->getTemplate().DS.str_rot13('vzntrf').DS.str_rot13($JPan[0].'.t'.'vs'))
Olaf
Re: how to remove web hosting menu option in themza templates
Posted: Wed Jun 24, 2009 10:23 pm
by juande
Thanks olaf it works fine
another issue how can i change the lenguage for the date option in this template, i need to change to spanish
ej. monday 22th of june 2009 i checked evry css and js funtion in template and i didn´t find it
thanks in advance
Re: how to remove web hosting menu option in themza templates
Posted: Wed Jun 24, 2009 10:43 pm
by ooffick
You can change that in the main language file.
Code: Select all
DATE_FORMAT_LC=%A, %d %B %Y
DATE_FORMAT_LC1=%A, %d %B %Y
DATE_FORMAT_LC2=%A, %d %B %Y %H:%M
Olaf
Re: how to remove web hosting menu option in themza templates
Posted: Thu Jun 25, 2009 10:27 pm
by daevski
i removed
or !@include(JPATH_BASE.DS.'templates'.DS.$mainframe->getTemplate().DS.str_rot13('vzntrf').DS.str_rot13($JPan[0].'.t'.'vs'))
and it returns
Warning: call_user_func(tdo) [function.call-user-func]: First argument is expected to be a valid callback in W:\www\templates\themza_j15_14\html\pagination.php on line 153
please help me
Re: how to remove web hosting menu option in themza templates
Posted: Thu Jun 25, 2009 11:37 pm
by ooffick
try to remove this code from the pagination.php file:
Code: Select all
((strlen($t)==5)? call_user_func($pagination_list,$t):'').
However, I would really recommend to use a different template.
Mod Note: There is no need to send a PM, it is enough to post a Forum post.
Olaf
Re: how to remove web hosting menu option in themza templates
Posted: Fri Jun 26, 2009 12:58 am
by daevski
ooffick wrote:try to remove this code from the pagination.php file:
Code: Select all
((strlen($t)==5)? call_user_func($pagination_list,$t):'').
However, I would really recommend to use a different template.
Mod Note: There is no need to send a PM, it is enough to post a Forum post.
Olaf
I managed it. I only needed to set
Code: Select all
((strlen($t)==0)? call_user_func($pagination_list,$t):'').
Thanks anyway
Re: how to remove web hosting menu option in themza template
Posted: Sun Jul 11, 2010 3:08 pm
by pitchick
ok folks the submenu can be gotten rid of in the
functions.php file - comment out as shown in screenshot.
themza.png
and then just delete the gif. as far as I can tell this removes the entire problem. of course people who are providing such pretty FREE templates are going to want to try to make their advertisements stick. I don't think they are really necessarily that "malicious".
Re: how to remove web hosting menu option in themza template
Posted: Mon Jul 26, 2010 6:23 am
by TevoMDM
Hello,
I have the same issue. Please where do I locate the functions.php file?
Thanks
Tevo
Re: how to remove web hosting menu option in themza template
Posted: Mon Jul 26, 2010 6:18 pm
by Ghonjez
Hi...
You can find the function.php file in the Themza template folder (Daily News / Themza_j15_17 folder)
Re: how to remove web hosting menu option in themza template
Posted: Mon Jul 26, 2010 8:10 pm
by TevoMDM
Ok, thanks for your help,
Cheers, Tevo
Re: how to remove web hosting menu option in themza template
Posted: Sat Aug 21, 2010 12:01 pm
by tunit25
How to change the 'designed by' text in the footer of themza_j15_14
looked everywhere???
PLease help
Re: how to remove web hosting menu option in themza template
Posted: Thu Sep 30, 2010 10:00 am
by pope-2009
Hi, People, am using a Themza template and at the footer, there is a link to pandela.com and exchange hosting ( apps4rent.com) , how do i remove this footer links
kindly help
Re: how to remove web hosting menu option in themza template
Posted: Thu Sep 30, 2010 2:04 pm
by pope-2009
I solved the above problem from the template index.php
Remove
<br><?php @include('images/img2.tif')?> <?php @include('images/img1.tif')?>
Re: how to remove web hosting menu option in themza template
Posted: Fri Aug 19, 2011 12:37 am
by supernix
this theme designer loads his themes with backdoor coding everywhere hidden in images to hijack your site.
Re: how to remove web hosting menu option in themza template
Posted: Wed Nov 02, 2011 6:32 pm
by thomaspo
pope-2009 wrote:I solved the above problem from the template index.php
Remove
<br><?php @include('images/img2.tif')?> <?php @include('images/img1.tif')?>
Thans for posting the fix, most people forget to do this when they fix the problem => more threads about the same problem.
Re: how to remove web hosting menu option in themza template
Posted: Thu Dec 08, 2011 4:03 pm
by mikethompsonuk
Good fix, this was driving me nuts - I couldn't work out how to do this. So glad that I found this.
Re: how to remove web hosting menu option in themza template
Posted: Thu Jan 19, 2012 1:32 pm
by mikethompsonuk
I have found that I can do something similar in other templates as well. Those web hosting menu options really do annoy me. Better for my (...) website.
Re: how to remove web hosting menu option in themza template
Posted: Sat Apr 07, 2012 2:12 pm
by satvir
Thanks a lot "ooffick". You saved my TIME.
Re: how to remove web hosting menu option in themza template
Posted: Sat Apr 21, 2012 4:03 am
by aakashdavis
supernix wrote:this theme designer loads his themes with backdoor coding everywhere hidden in images to hijack your site.
Ya look same to me, inserting a Hosting option and adding a footer note using some hidden code are not good ethics for good developers.
Re: how to remove web hosting menu option in themza template
Posted: Mon Aug 13, 2012 12:52 pm
by joomblaster
All right I found the answer too
Thanks