AiDaNews Module! (supports FLEXIcontent) {v. 1.1}

More
15 years 4 months ago #10369 by vlester

TheSoMeEx wrote:

vlester wrote: Did you select order by "Newer to Older(FLEXI Date)" ?
Then choose the "publish up" date as the Flexi Date


Yes. Modified date still overrides.

It seems to happen in FLEXIcontent as well. If I wanted modified date to play a part in order, I would think that would be a choice, not default.

VERY frustrating.


Hello,
That's weird, indeed, you'd better modify the file default.php to make it work.
First make sure you have the latest release of AidaNews (1.2.1).
Then modify the ordering conditions in the default.php file. Replace :
Code:
}elseif ($order == '3') { $ordering = " a.publish_down ASC"; $condition_avenir = "\n AND a.publish_down >= '$now' " ;
by :
Code:
}elseif ($order == '3') { $ordering = " a.publish_up ASC"; ;

And customize the file xml, replace that :
Code:
<option value="3">UPCOMING</option>
by that
Code:
<option value="3">PUBLISH UP</option>

Hope that will help you

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

More
15 years 4 months ago #10370 by TheSoMeEx
I got it fixed in AidaNews.

Now, I'm just concerned about FLEXIcontent itself, as my sites are built on the concept that new stuff is posted regularly.

And yet, I can't show it in order.

*smiles*

Thank you for that fix!

--
Heather M. Claus
910-538-8901
I'm Building a Network of Niche Sites with a Shared Community - in BETA now!
www.365DaysofStyle.com
www.twitter.com/365DaysofStyle

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

More
15 years 4 months ago #10537 by john398
Using Aidanews to display first part of articles, on some computers the article text wraps around the articles.jpg however on some IE browsers its just showing the text straight down after the articles.jpg and not to the right of it.
like this:
Water and Sewer
Rates adopted by
Council, effective
October 1st, 2010.

Does this sound like a css issue?

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

More
15 years 4 months ago #10558 by kryptos
Dear Sirs,


I've installed your great module, but no matter what I choose to display (Joomla standard content by item ID or MyBlog), the module displays all blog items from Joomla Blog Category I've selected.
I need to show only MyBlog items which are published to frontpage (Frontpage only option in Categories (Joomla! Default content system)), but I'm not able to do anything with this module cause it shows only and only ALL items from Blog category.

Any help?

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

More
15 years 3 months ago #10724 by TheKillers
Hi! Please tell me how to publish articles on the main page to all the styles are preserved?

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

More
15 years 3 months ago #10965 by tembargo
I have some articles in Japanese.
In the list view, only the title of japanese articles are display and not the content.
But if i click on a Japanese article, I can see the content.

Un screenshot to be more clear :
img299.imageshack.us/img299/4091/flexijap.jpg

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

More
15 years 3 months ago #11036 by piperchick
Hi,

I am using this awesome module with great success on my site, but I have hit a snag when I try to publish it in a side position. The module position is not collapsed if there is nothing to publish in AiDa.

Empty module to the far right (if no criteria matches, I want it to collapse):

[attachment=0:25seze4j]<!-- ia0 -->Clip_21.jpg<!-- ia0 -->[/attachment:25seze4j]

This is a shot with the module:

[attachment=1:25seze4j]<!-- ia1 -->Clip_20.jpg<!-- ia1 -->[/attachment:25seze4j]

Any help would be appreciated.

Thanks.

Lovin' FLEXIcontent at deadcanadians.ca
Dead Canadians: where are they now?

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

More
15 years 3 months ago #11144 by tembargo

tembargo wrote: I have some articles in Japanese.
In the list view, only the title of japanese articles are display and not the content.

"On est jamais mieux servi que par soi-même ^_^"
So in the file "modules/mod_aidanews/helper.php", in function text_adapt(), comment line 46 :
Code:
$intro = substr($intro, 0, $cut); //$intro = substr($intro, 0, strrpos($intro," ")); $intro .= $ending;
strrpos($intro," ") looks for the last space in $intro. But in Japanese, you don't have any spaces..
So comment that line, and it is fine :)

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

More
15 years 3 months ago #11147 by grabit
Hi,

Joomfish and aidanews works perfectly in automatic mode In all pages except on the frontpage where I can see articles from both languages. I suppose it comes because of the URL ( www.domain.com ) with no ref of the language.

The rest of the page is displayed in the right language. The problem is only present in this module.

Has somebody a solution?

An Apple a days keeps the doctor away

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

More
15 years 3 months ago #11155 by tembargo

grabit wrote: Hi, Joomfish and aidanews works perfectly in automatic mode

Sorry I don't have any ideas about your problem yet (But I will need to use that feature soon, so I will tell you what's happening for me :) ).
But I wanted to know, do you see the name of your categories translated when you change of language ? (In your module aida only, because when I click on it, in Flexicontent view, I have no problem the category is translated)

Edit: I've checked the code
In default.php
Code:
//Get Item Category $query = 'SELECT title FROM #__categories WHERE id = ' . $row->catid; $db->setQuery($query); $showcat = $db->loadResult();
In helper.php
Code:
//Category function OutputCategory($uselang, $catprefix, $showcat, $css) { if ($uselang == 1) { $pr = JText::_('F_CATHPREFIX'); }else{ $pr = $catprefix; } $outputcategory = '<span style="' . $css . '">' . $pr . ' ' . $showcat . '</span> '; return $outputcategory; }
I have no idea how Joom!fish works but it seems that the title of the category "$showcat" is displayed directly. And the eventual translation in Joom!fish is not used.

So I'm gonna add some code to look into the table #__jf_content.

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