add column in items manager (backend) [SOLVED]

More
14 years 5 months ago - 14 years 5 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: 14 years 5 months ago by carlinchisart.

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

More
14 years 5 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 review. Thanks!

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

More
14 years 5 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
14 years 5 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 review. Thanks!

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

More
14 years 5 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
14 years 5 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 review. Thanks!

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

More
14 years 5 months ago #18991 by micker
yes i think it possible !i read something about ... but i lost reference

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
14 years 5 months ago #18995 by carlinchisart
sorry for my English, i translate the file es-ES.com_flexicontent.ini in /lenguage/Es-es of joomla, I read a Post in say how I aport to translate of Flexicontent and say two files, wonder why

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

More
14 years 5 months ago #19018 by ggppdk
translate?

you mean frontend and backend files?


-- 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 review. Thanks!

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

More
14 years 5 months ago #19020 by carlinchisart
yess I want to help you with this topic

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

Moderators: vistamediajoomlacornerggppdk
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
Save