AllNews Module - FLEXIcontent support! (v 2.5.5)

More
15 years 11 months ago #4212 by Olinad
I actually know nothing about the link creation part, as It wasn't me that started writing the module and having no knowledge about it I preferred leaving it as it was. I noticed the issue, though, but I think I'll leave it this way until I have added some features I'm really looking forward to :D

One of these is the FLEXIcontent field support. I actually understood how to do it, and I think I'd be able to code it in a couple of hours, but first of all I want to make the code shorter and faster, then give users the possibility to change the output right from the backend of the module. mod_globalnews had a nice way of doing it, but it was limited by the fact that some html tags didn't work if written in the module's form. I think I'll try it the junewsultra way (I dunno if you've ever tried it), with various template files that can be selected through a menu. This would allow me to include a lot of stylings and keep the code quick to load... So I think I'll look into that to make smth similar. The main flaw f the module I mentioned is that the default template files are really poor, but I'll try to avoid that :D

...does the "Tableless Output" possibility suit your needs? :)
The topic has been locked.
More
15 years 11 months ago #4213 by status101
Hi again,

Yep, the tableless output is great. I am playing with the way things display now.. and it does make things easier.. I am having a couple of float issues but I think thats more my skill level :) I've never looked at junewsultra, but I will.. Update safe templating was something I was also going to mention :) but thought it would be down the list a little.

Just another thing that I have notice.. that might be important down the track.. I tried to copying the module and displaying it twice on one page and I get an error: Fatal error: Cannot redeclare affichage_intro() (previously declared in /home/channele/public_html/modules/mod_allnews/tmpl/default.php:15) in /home/channele/public_html/modules/mod_allnews/tmpl/default.php on line 34

Again, not knowing much about all the 'top' code, I've got no idea what could be done about it, but if you add more feature and it become more useful I can see people wanting to to use is at least twice on a page..
News, Latest Articles, Events, etc etc..
The topic has been locked.
More
15 years 11 months ago #4214 by Olinad
Mmh al the variables written in french have been written by the previous developer, so I don't know what they refer to. I'll surely look into this, as I want to display it more than once in a page XD

I have no more time to code this afternoon, but I'll come back this evening. So in v 2.2.2 (That I'll add right after this post) you won't find the correction for that issue... but it will surely be in v 2.2.3.

New in v 2.2.2: FLEXIcontent date field support, possibility of ordering by rating, display author's name or username. Code has been slightly changed and ordered to make it faster to load and easier to scan.


EDIT: mod_allnews v 2.2.2 can now be found in the first post
The topic has been locked.
More
15 years 10 months ago #4237 by micker
hello
i try your work and it's quasi perfect (a lot of new option !!!!!!)
result is here
www.le-bijou.net/newbijou/
some question :
-how tochange the css in order to have 3 articles in line ?
-the read more link is out ?
-the watermark doesn't works for me (no image then activate)
-when i activate flexicontent FLEXIIMGIF i have the image of my article but i don't have the default image on my article how didn't have any image.

it possible to choose the date field (the same thing of field image ?
to generate the order a article (Choosing UPCOMING EVENTS) it's possible to select a datefield for the end ?
I try to finish the translation for this day !
GREAT JOB !!!!! you are not a simply dev ....
8-)

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]
The topic has been locked.
More
15 years 10 months ago #4242 by micker
the frist translation in french
if anybody have something to change you can help me ! :lol:

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]
The topic has been locked.
More
15 years 10 months ago #4251 by micker
hello i find it for css
could you adapt your dev forthis type of css file ?
it's more interesting to customise
Code:
.boite_news{ width:33%; height:100%; float:left; border:0px solid black; margin-top:5px;margin-bottom:0px; } /*sTyle of her(it) limp with news (in certain cases, you should not put float:left;)*/ .img_news{ float:left; margin-right:5px; }/*Style of her(it) limps with display(posting) of the image*/ .date_news{ font-size: 75% } .title_news a{ font-size: 130%; color: #b12a2a; text-decoration: none; font-weight: bold; }/*style du title news and date*/ a.link_more_news { color:#b12a2a; text-decoration: underline; font-size: 90%; } /*style link more-news*/ a.link_more_news:hover{ text-decoration: none; }
for all user it's just an exemple (color etc)
maybi an adavnced mod in administration to change this css type
some areafield for :
-boite css
-title css
-date css
-texte css
-like more css
-other link css
-image css
and a base code.
Thanks for your work !

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]
The topic has been locked.
More
15 years 10 months ago #4252 by micker
hello i adapt your default.php to css file
Code:
.boite_news{width:33%;height:100%;float:left;border:0px solid black;margin-top:5px;margin-bottom:0px;} /*sTyle of her(it) limp with news (in certain cases, you should not put float:left;)*/ .img_news{float:left;padding: 2px; margin: 3px;border: 0px solid #C3C3C3}/*Style of her(it) limps with display(posting) of the image*/ .date_news{font-weight: bold;font-size: 75%} .user_news{font-weight: bold;font-size: 75%} .intro_news{font-size: 105%;} .title_news a{font-size: 130%;color: #b12a2a;text-decoration: none;font-weight: bold;}/*style du title news and date*/ .title_news p{padding:0;margin:0;}/*style intro*/ a.link_more_news {color:#b12a2a;text-decoration: none;font-size: 90%;}/*style link lire la suite*/ a.link_more_news:hover{text-decoration: none;}/*style du lien lire la suite qd la sourie est dessus*/
if you want you can verifie and integrate to your archive
all of thing are custom by css (in template for moment)

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]
The topic has been locked.
More
15 years 10 months ago #4253 by Olinad
I'm still thinking about the styling options, I'll trying looking around an use the ones I think best. About all the other requests, I'll work on them and add them as a toggle.
I'll look into the watermark thing also, I used the default settings and it all worked, maybe I have to make it more general...
No coding today as I have to study a lot, I'll be back on the module tomorrow (maybe tonight if I end up finishing earlier than expected, but I don't think I'll release anything anyway). Keep posting request or bugs though, I'll use this topic to make a To-Do list :3
The topic has been locked.
More
15 years 10 months ago #4255 by micker
hello a new idea for field image
in basique field image we have 3 dimensons, it's possible to choose on this too ?
(we select the id and the dimension, the same thing in the default template option)
8-)

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]
The topic has been locked.
More
15 years 10 months ago #4260 by status101
Hi Again Olinad,

I couple of more ideas to possibly add to your to do list.. (I hope you don't mind all the input)

1. Is there a way to pull through the category name? If I am displaying "Latest" items from multiple cats, it would be good to be able to have the Category displayed. This became apparent when I went to display 5 new items.. I have two categories - One is Best Practice Articles, and the other is Webinars. When a new articles is written on a particular subject, the company also holds a Webinar on the topic. Both items have similar names and therfor look similar in the list. Having a category (perhaps even hyperlinked ) would help this and I think might be useful in general.

2. This is just something I have added.. With the images for Hits and Rating, I added a link with a title around the image to have a title popup on mouseover to tell users what the icons mean.
eg: <img src="modules/mod_allnews/hit.png"/>

I am sure it could be done in a smarter way (JS - onmouseover etc ) not requiring a link but this was quick and easy.

3. I'm not sure if you would call this a bug, however as I mentioned before, the module, as it is using the com_content Section/Cat structure, it drops out of SEF when you visit the links created. This didn't seem like a big deal to me until I hit a point where I had anchors in my article.. When you visit the page through the FC structure, the anchors work.. when the SEF fails, the anchors no longer work and trys to resolve to /index.php#anchorname.

I know that this is something that you said you where not sure how to do.. and I have no idea either but I am hoping that perhaps someone out there does.

I downloaded the FlexiCloud Module to have a look through the code and see if I could work out anything... but it's way over my head :) but it looks like it does things slightly different so it might be worth a look. I know it would make the module FlexiContent only, but I don't that that is such a bad thing. I will keep looking at it over the next few days as I have run into the same issue with the "article list" mod I am trying to use and would love to work it out for that as well. Time to learn REAL php and sql rather than just cutting and pasting I guess :)

Again, thanks for your efforts and good luck with the study.
The topic has been locked.
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