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  [ 6 posts ] 
Author Message
PostPosted: Sat Mar 12, 2011 3:32 pm 
Joomla! Intern
Joomla! Intern

Joined: Fri Apr 09, 2010 10:48 pm
Posts: 58
Howdy,
I use firebug the element inspector that highlights the various HTML elements on the page,
which is great. But where do I find the HTML code outside of firebug to edit it? Alot of it is not in the template HTML.I know it is probably in a php file or 2 or 20, but every php file I look in has nothing but php code in it. I have some extension modules that I want to edit the HTML. finding and editing CSS files is no problem.
I have been playing around building a wordpress theme and i know you copy your HTML code into the corresponding php file for instance the footer html code goes in the footer.php file.
Any insight into this would be appreciated.


Top
 Profile  
 
PostPosted: Sat Mar 12, 2011 10:02 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso

Joined: Thu Feb 15, 2007 5:48 am
Posts: 3344
Location: Sydney, Australia
Usually each component in Joomla has template files where the HTML code is generated in a PHP script. Those templates are stored in the subfolder 'views' under the component, for example components/com_user/views/register/tmpl/default.php.

_________________
toivo
my first programs were assembled and run in 16KB :)
http://archive.computerhistory.org/resources/text/GE/GE.GE-115SystemSoftware.1967.102646096.pdf#zoom=100


Top
 Profile  
 
PostPosted: Sun Aug 14, 2011 8:52 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Jul 31, 2011 9:31 pm
Posts: 4
Hi, in the footer of the page it is written Powered by Joomla!® how can I add text to that line?


Top
 Profile  
 
PostPosted: Fri Aug 19, 2011 2:48 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Jun 08, 2010 3:13 am
Posts: 10
Location: Hanoi, Vietnam
nordiskshop wrote:
Hi, in the footer of the page it is written Powered by Joomla!® how can I add text to that line?


Based on which template you use. Usually it's in the index.php (in template_name folder) or footer.php (in layouts folder with T3 framework for example).

You need a tool. Notepad++ has "Find in files..." function which allows you search for a keyword(s) in many files.

Hope this helps.

_________________
http://misoblog.net - Joomla, Web Design and Photography


Last edited by novanova on Fri Aug 19, 2011 8:19 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Fri Aug 19, 2011 6:47 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Aug 16, 2011 2:18 pm
Posts: 49
nordiskshop wrote:
Hi, in the footer of the page it is written Powered by Joomla!® how can I add text to that line?


Top
 Profile  
 
PostPosted: Sat Aug 20, 2011 2:39 pm 
Joomla! Explorer
Joomla! Explorer

Joined: Mon Aug 11, 2008 3:05 pm
Posts: 459
I find that using grep works very nicely.

In your /htdocs directory or your root directory on linux use this command.
grep -r 'Powered by Joomla' * > ../temp

Then open ../temp with a text editor, I like to use SciTE. Once the file is open it shows you the relative path and file name and then the line of code that matches your search. In SciTE if you prepend htdocs/ to the path and then select the file name you want to open you can use the file menu to open the selected file.


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



Who is online

Users browsing this forum: No registered users and 3 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