how to remove web hosting menu option in themza templates

Everything to do with Joomla! 1.5 templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Locked
juande
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Jun 24, 2009 6:24 pm

how to remove web hosting menu option in themza templates

Post by juande » Wed Jun 24, 2009 6:32 pm

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

User avatar
ooffick
Joomla! Master
Joomla! Master
Posts: 11614
Joined: Thu Jul 17, 2008 3:10 pm
Location: Ireland
Contact:

Re: how to remove web hosting menu option in themza templates

Post by ooffick » Wed Jun 24, 2009 7:35 pm

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:

Code: Select all

			$items->_items[500] = null;

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
Olaf Offick - Global Moderator
learnskills.org

juande
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Jun 24, 2009 6:24 pm

Re: how to remove web hosting menu option in themza templates

Post by juande » Wed Jun 24, 2009 10:23 pm

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

User avatar
ooffick
Joomla! Master
Joomla! Master
Posts: 11614
Joined: Thu Jul 17, 2008 3:10 pm
Location: Ireland
Contact:

Re: how to remove web hosting menu option in themza templates

Post by ooffick » Wed Jun 24, 2009 10:43 pm

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
Olaf Offick - Global Moderator
learnskills.org

daevski
Joomla! Apprentice
Joomla! Apprentice
Posts: 44
Joined: Tue May 19, 2009 1:47 pm

Re: how to remove web hosting menu option in themza templates

Post by daevski » Thu Jun 25, 2009 10:27 pm

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

User avatar
ooffick
Joomla! Master
Joomla! Master
Posts: 11614
Joined: Thu Jul 17, 2008 3:10 pm
Location: Ireland
Contact:

Re: how to remove web hosting menu option in themza templates

Post by ooffick » Thu Jun 25, 2009 11:37 pm

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
Olaf Offick - Global Moderator
learnskills.org

daevski
Joomla! Apprentice
Joomla! Apprentice
Posts: 44
Joined: Tue May 19, 2009 1:47 pm

Re: how to remove web hosting menu option in themza templates

Post by daevski » Fri Jun 26, 2009 12:58 am

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

pitchick
Joomla! Apprentice
Joomla! Apprentice
Posts: 30
Joined: Fri Aug 31, 2007 3:30 am

Re: how to remove web hosting menu option in themza template

Post by pitchick » Sun Jul 11, 2010 3:08 pm

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".
You do not have the required permissions to view the files attached to this post.

TevoMDM
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Jul 14, 2010 7:08 pm

Re: how to remove web hosting menu option in themza template

Post by TevoMDM » Mon Jul 26, 2010 6:23 am

Hello,
I have the same issue. Please where do I locate the functions.php file?
Thanks

Tevo

User avatar
Ghonjez
Joomla! Exemplar
Joomla! Exemplar
Posts: 8770
Joined: Sat Oct 18, 2008 3:02 am
Location: Mars
Contact:

Re: how to remove web hosting menu option in themza template

Post by Ghonjez » Mon Jul 26, 2010 6:18 pm

Hi...

You can find the function.php file in the Themza template folder (Daily News / Themza_j15_17 folder)

:)

TevoMDM
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Jul 14, 2010 7:08 pm

Re: how to remove web hosting menu option in themza template

Post by TevoMDM » Mon Jul 26, 2010 8:10 pm

Ok, thanks for your help,
Cheers, Tevo

tunit25
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Sun Jun 28, 2009 6:38 pm

Re: how to remove web hosting menu option in themza template

Post by tunit25 » Sat Aug 21, 2010 12:01 pm

How to change the 'designed by' text in the footer of themza_j15_14

looked everywhere???

PLease help

pope-2009
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Sep 30, 2010 9:09 am

Re: how to remove web hosting menu option in themza template

Post by pope-2009 » Thu Sep 30, 2010 10:00 am

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

pope-2009
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Sep 30, 2010 9:09 am

Re: how to remove web hosting menu option in themza template

Post by pope-2009 » Thu Sep 30, 2010 2:04 pm

I solved the above problem from the template index.php

Remove
<br><?php @include('images/img2.tif')?> <?php @include('images/img1.tif')?>

supernix
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Mon Mar 26, 2007 12:34 pm
Location: USA
Contact:

Re: how to remove web hosting menu option in themza template

Post by supernix » Fri Aug 19, 2011 12:37 am

this theme designer loads his themes with backdoor coding everywhere hidden in images to hijack your site.
Affordable Business Solutions LLC
http://www.cutabovehost.com/
Web Hosting Provider since 1999

thomaspo
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Nov 02, 2011 6:29 pm
Contact:

Re: how to remove web hosting menu option in themza template

Post by thomaspo » Wed Nov 02, 2011 6:32 pm

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.

mikethompsonuk
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Dec 08, 2011 4:00 pm

Re: how to remove web hosting menu option in themza template

Post by mikethompsonuk » Thu Dec 08, 2011 4:03 pm

Good fix, this was driving me nuts - I couldn't work out how to do this. So glad that I found this.

mikethompsonuk
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Dec 08, 2011 4:00 pm

Re: how to remove web hosting menu option in themza template

Post by mikethompsonuk » Thu Jan 19, 2012 1:32 pm

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.
Last edited by ooffick on Mon Jan 23, 2012 10:53 pm, edited 1 time in total.
Reason: [Mod Note: Self Promotion URL removed]

satvir
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Wed Aug 17, 2011 9:11 am

Re: how to remove web hosting menu option in themza template

Post by satvir » Sat Apr 07, 2012 2:12 pm

Thanks a lot "ooffick". You saved my TIME.

aakashdavis
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Sat Apr 21, 2012 3:19 am
Location: India
Contact:

Re: how to remove web hosting menu option in themza template

Post by aakashdavis » Sat Apr 21, 2012 4:03 am

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.
~Aakash
A computer once beat me at chess, but it was no match for me at kick boxing
http://akashtablet.in/
Moving http://aadhaaruid.org/ from WP to Joomla

User avatar
joomblaster
I've been banned!
Posts: 93
Joined: Fri Aug 14, 2009 12:40 pm
Location: Jakarta
Contact:

Re: how to remove web hosting menu option in themza template

Post by joomblaster » Mon Aug 13, 2012 12:52 pm

All right I found the answer too

Thanks


Locked

Return to “Templates for Joomla! 1.5”