The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.



Post new topic Reply to topic  [ 21 posts ] 
Author Message
PostPosted: Wed Jun 24, 2009 6:32 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Jun 24, 2009 6:24 pm
Posts: 3
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


Top
 Profile  
 
PostPosted: Wed Jun 24, 2009 7:35 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Thu Jul 17, 2008 3:10 pm
Posts: 10938
Location: Ireland
Hi,

It is in the function.php, try to change the following line:
Code:
         $items->_items[500] = (object)$GLOBALS['arr'];


to this one:
Code:
         $items->_items[500] = null;



or remove this code in the index.php file:
Code:
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
http://learnskills.org


Top
 Profile  
 
PostPosted: Wed Jun 24, 2009 10:23 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Jun 24, 2009 6:24 pm
Posts: 3
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

[code][/code]


Top
 Profile  
 
PostPosted: Wed Jun 24, 2009 10:43 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Thu Jul 17, 2008 3:10 pm
Posts: 10938
Location: Ireland
You can change that in the main language file.

Code:
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
http://learnskills.org


Top
 Profile  
 
PostPosted: Thu Jun 25, 2009 10:27 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue May 19, 2009 1:47 pm
Posts: 44
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


Top
 Profile  
 
PostPosted: Thu Jun 25, 2009 11:37 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Thu Jul 17, 2008 3:10 pm
Posts: 10938
Location: Ireland
try to remove this code from the pagination.php file:

Code:
((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
http://learnskills.org


Top
 Profile  
 
PostPosted: Fri Jun 26, 2009 12:58 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue May 19, 2009 1:47 pm
Posts: 44
ooffick wrote:
try to remove this code from the pagination.php file:

Code:
((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:
((strlen($t)==0)? call_user_func($pagination_list,$t):'').

Thanks anyway


Top
 Profile  
 
PostPosted: Sun Jul 11, 2010 3:08 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Aug 31, 2007 3:30 am
Posts: 30
ok folks the submenu can be gotten rid of in the functions.php file - comment out as shown in screenshot.

Attachment:
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.


Top
 Profile  
 
PostPosted: Mon Jul 26, 2010 6:23 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Jul 14, 2010 7:08 pm
Posts: 2
Hello,
I have the same issue. Please where do I locate the functions.php file?
Thanks

Tevo


Top
 Profile  
 
PostPosted: Mon Jul 26, 2010 6:18 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Sat Oct 18, 2008 3:02 am
Posts: 8771
Location: Mars
Hi...

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

:)


Top
 Profile  
 
PostPosted: Mon Jul 26, 2010 8:10 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Jul 14, 2010 7:08 pm
Posts: 2
Ok, thanks for your help,
Cheers, Tevo


Top
 Profile  
 
PostPosted: Sat Aug 21, 2010 12:01 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Jun 28, 2009 6:38 pm
Posts: 17
How to change the 'designed by' text in the footer of themza_j15_14

looked everywhere???

PLease help


Top
 Profile  
 
PostPosted: Thu Sep 30, 2010 10:00 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Sep 30, 2010 9:09 am
Posts: 3
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


Top
 Profile  
 
PostPosted: Thu Sep 30, 2010 2:04 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Sep 30, 2010 9:09 am
Posts: 3
I solved the above problem from the template index.php

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


Top
 Profile  
 
PostPosted: Fri Aug 19, 2011 12:37 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Mar 26, 2007 12:34 pm
Posts: 18
Location: USA
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


Top
 Profile  
 
PostPosted: Wed Nov 02, 2011 6:32 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Nov 02, 2011 6:29 pm
Posts: 1
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.


Top
 Profile  
 
PostPosted: Thu Dec 08, 2011 4:03 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Dec 08, 2011 4:00 pm
Posts: 2
Good fix, this was driving me nuts - I couldn't work out how to do this. So glad that I found this.


Top
 Profile  
 
PostPosted: Thu Jan 19, 2012 1:32 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Dec 08, 2011 4:00 pm
Posts: 2
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.
[Mod Note: Self Promotion URL removed]


Top
 Profile  
 
PostPosted: Sat Apr 07, 2012 2:12 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Aug 17, 2011 9:11 am
Posts: 7
Thanks a lot "ooffick". You saved my TIME.


Top
 Profile  
 
PostPosted: Sat Apr 21, 2012 4:03 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Apr 21, 2012 3:19 am
Posts: 13
Location: India
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


Top
 Profile  
 
PostPosted: Mon Aug 13, 2012 12:52 pm 
User avatar
I've been banned!

Joined: Fri Aug 14, 2009 12:40 pm
Posts: 93
Location: Jakarta
All right I found the answer too

Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ] 



Who is online

Users browsing this forum: No registered users and 40 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group