add column in items manager (backend) [SOLVED]

More
13 years 2 months ago - 13 years 2 months ago #18934 by carlinchisart
HI all,

I have to add the field alias in the table of presentation of articles in a component, in the backend of the site.

other explanation, I have to put on the table that displays all items in the backend, the alias field

Can I do this?, If yess, how i can do this??

Thanks
Last edit: 13 years 2 months ago by carlinchisart.

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

More
13 years 2 months ago #18943 by ggppdk
You mean, you want to add a new column in the backend Flexicontent items manager?

You can by adding a column in the file
administrator/components/com_flexicontent/views/items/tmpl/default.php

e.g. something like:
Code:
... <th class="center"> ALIAS </th> ... <td align="center"> <?php echo $row->alias> </td> ...

But note this file will be overwritten when you upgrade.


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
13 years 2 months ago #18945 by carlinchisart
Yes is it, and this change of code work for me, Additionally, this column should be sorted, so use the following line, with 'i.ordering' and work perfect
Code:
<th class="center"> <?php echo JHTML::_('grid.sort', 'Name Field', 'i.ordering', $this->lists['order_Dir'], $this->lists['order'] ); ?> </th>

this code in the line 191 is my third column.
and in the line 461
Code:
<td align="center"> <?php echo $row->alias> </td>

Thank for your help,

I have another question, I had to edit the language file for Spanish FLEXICONTENT, but it is only part of the frontend, currently this file has the same fields at the English file, then I can send only that file? or i have to translate the Backend file?

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

More
13 years 2 months ago #18954 by ggppdk
If you don't need don't translate backend file, i don't think it is nowhere loaded in frontend ...

Also i suggest using the MissingT joomla component to make translations

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
13 years 2 months ago #18970 by micker
maybe you can use template owervide function not ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
13 years 2 months ago #18974 by ggppdk
There are template overrides for backend too?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.534 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline