Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

This is for users to help other users, to discuss topics that are related to forum administration in general or problems in running Joomla. This is not the place to ask for Joomla support. If you want assistance with Joomla please ask at forum.joomla.org

Question When using firebug to look at code, how can you tell which php file the code is located in?

More
15 years 11 months ago - 15 years 11 months ago #48950 by inphx
Kunenan 1.5.11.

For an example, the image reference below is apparently keeping the search box on the categories page from aligning all the way to the right, so I'd like to delete it (if I can without deleting the other expand/collapse buttons). How can I tell which file it's located in?

<img alt=""src=" azmatters.com/components/com_kunena/temp...s/english/shrink.gif " class="hideshow" id="BoxSwitch_topprofilebox__topprofilebox_tbody">

Hopefully the question makes sense. Thanks in advance.

EDIT: Ok now I see there's an expand/collapse button actually there that's invisible presumably b/c of the color. I still want to get rid of it if I can, but either way I'd still like help with the general issue of finding files.
Last edit: 15 years 11 months ago by inphx.

Please Log in or Create an account to join the conversation.

More
15 years 11 months ago #48971 by sozzled
If you could find out what server side code was used (with a tool as widely available as Firebug for Firefox) that's the end of the security ball-game! The fact is that what you see, as a user with your browser, is the HTML code generated behind-the-scenes at the website. Let me put it another way: when you issue a GET request to the webserver, the PHP interpreter, running at the website, generates the response as HTML. As far as the user is concerned, it's just HTML. How it's done is a mystery (as long as the browser can interpret it) ... and it should be a mystery.

How would you like it if the database tables, their locations and passwords were suddenly available for everyone to see? Well, of course, that's why we use PHP (or some other CGI tool). Firebug can't see it.

Please Log in or Create an account to join the conversation.

More
15 years 11 months ago #48988 by inphx
I'm just looking for the name of the file that contains the code...not the text of the file. Is that possible (with FB or another tool)? I'm not experienced enough (probably obviously) to be able to figure it out and hence am otherwise left to just search every file, which is quite tedious. Thx.

Please Log in or Create an account to join the conversation.

More
15 years 11 months ago - 15 years 11 months ago #48996 by sozzled
As I tried to explain (and obviously didn't succeed) in my last message, Joomla websites are constructed in PHP which is used as a server-side scripting language. Firebug, on the other hand, merely exposes the objects detected by the client (i.e. Firefox). If this sounds confusing, don't worry.

Think about it in these terms: when you buy milk at the shop what do you get? You get milk. But, even though you can analyse the milk to determine the percentage of fat, water, lactose and whatever else goes into making the milk, you can't find out the details of which cow in the world was responsible for producing the raw ingredients, can you?

The same thing applies with server side scripting. At the client/browser end, you can't tell what, specifically, was responsible for producing the raw HTML that was transmitted to you via the internet. The only way you can do that is to examine what is going on at the server. Firebug can't do that.

As for finding the name of the file that contains a certain piece of text, if you don't know which file it's in then, I'm sorry, you'll have to search all of them (or at least, start by knowing where to search). If the text is generated by Kunena, there's a good chance that it will be in the ../components/com_kunena folder (or one of its subfolders) somewhere (unless someone else knows where what-you're-looking-for is). What were you looking for again? :S
Last edit: 15 years 11 months ago by sozzled.
The following user(s) said Thank You: Murder Legendre

Please Log in or Create an account to join the conversation.

More
15 years 11 months ago - 15 years 11 months ago #49000 by inphx
Gotcha, thx for your patience.

I'm trying to remove the expand/remove button just to the right of the search box on the categories page in default_ex (provided it can be easily done w/out deleting all the other expand/remove buttons). The html for the button reference per FB is in the OP. It's not a big deal...I mostly asked b/c it involved the more general question about php files which had come up in a few other instances. Thx for that answer, even though I don't like what it is. :)
Last edit: 15 years 11 months ago by inphx.

Please Log in or Create an account to join the conversation.

More
15 years 11 months ago - 15 years 11 months ago #49001 by sozzled
Before we start dealing with ways to prevent you from being able to upgrade Kunena in the future, because you want to customise your site (please read what I wrote yesterday in Notice: Trying to get property of non-object in /components/com_kunena/template/default/view.php on ), what is the specific problem with this "button"? I mean, why not take a lateral look at the problem.

You have decided, for some reason :unsure: , that this object doesn't is (apparently) "keeping the search box on the categories page from aligning all the way to the right" So, let me ask you a simple question: look at this page: is there something wrong with the way this page is laid out? If you can answer that question, then maybe we need to look at ways to redesign Kunena?

I still don't know the technical answer to your problem. I mean, it could take me a couple of hours to find every place where the shrink.gif is referenced and to isolate which parts of those files you should change and which parts you should not change. But, are we only talking conserving the 10 lousy pixels of space? :dry:
Last edit: 15 years 11 months ago by sozzled.

Please Log in or Create an account to join the conversation.

Time to create page: 0.295 seconds