add column in items manager (backend) [SOLVED]

More
13 years 1 month ago #19474 by carlinchisart
Hi, in a post

carlinchisart wrote: 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?


i put this code for order the items by this colum, but the problem this orden is not correct, i need the order by the data of this colum, so mi question is can i order the colum by the data of this colum? how can i doed?

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

More
13 years 1 month ago #19477 by ggppdk
mmm, you are sorting the wrong column, when you copied the sorting code you did not put in the name of the alias column.

so, instead of 'i.ordering' use 'i.alias'


-- 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 1 month ago #19479 by carlinchisart
Thanks you are the best!!!!

more more thaks you.

other question, how edit the subject of post for add [solved]?

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

More
13 years 1 month ago #19480 by ggppdk
Make a small note of changes, and place file to a convenient place, maybe in joomla root folder, so that when/if you upgrade to newer flexicontent version, you can reapply changes.

Usually i don't want to post hacks to the code although this is more like an addition ...

There is an edit button just after subject on the top left of each post ...

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.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.411 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