Indexhibit
Index + Exhibit

Login:

Created by
Daniel Eatock
Jeffery Vaska
And You

Indexhibit was updated to version 2.1.4 on April 10, 2017.

Plugin: Simple News

 

Indexhibit version: Legacy
Thread is not resolved.

puppiepoppy
CHINA
8 year(s) ago
Permalink Post

So, to all those folks out there that said "...worked perfectly!", can you please share with us your website link? Would love to check them out.

Thanks.

rickykappa
ITALY
8 year(s) ago
Permalink Post

mike, it's in alex's post just above mine,
http://www.alexsnukal.com/

guilhem
ANDORRA
8 year(s) ago
Permalink Post

Hello,

Thank you for adding "Simple News", it also works fine for me. There's one issue, however, I can't make work properly: the date's language. I don't understand why it appears ever in english even if the user selects another language in Preferences.
Is there a way to fix this?

Thanks.

rickykappa
ITALY
8 year(s) ago
Permalink Post

you're right it doesn't work, and unluckily fixing this issue is beyond my knowledge :-(
being this plugin probably becoming obsolete in a short time (I've heard there is a new version of indexhibit coming sooner or later, with blog plugin), probably those guys who could give hints are not much interested to do it.
I have tried some workaround but no luck :-/
here is what I did:
1) first I've edited the index.php in the ndxz-studio/lang/my_language
I've simply added the weekdays and months statements, like this:
    "january" => "Gennaio",
2) I've edited the plugin.simple_news.php
    $pages = $OBJ->db->fetchArray("SELECT user_format, user_offset, user_lang, url, title, content, pdate
where user_lang was "missing"...
3) in the same file I've changed like this the following line:
        $when = convertDate($page['pdate'], $page['user_offset'], $page['user_format'], $page['user_lang']);

well, nothing happened as a result...
but at least nothing was broken ;-)
is there anybody who can go on from here or is it totally useless?

guilhem
ANDORRA
8 year(s) ago
Permalink Post

Well, I've just found the answer to my question in another thread:
http://www.indexhibit.org/forum/thread/6694/

  1. As Jota explains there, you only must add one line in <em>plugin.simple_news.php</em>.
  2. <ol><li>setlocale(LC_TIME,"spanish");</li></ol>In my case, it worked only by specifying the language through the ISO code
  3. <ol>
  4. <li>setlocale(LC_TIME,"ca_ES");</li></ol>
  5. Anyway, thanks for your contribution rickykappa ;)
guilhem
ANDORRA
8 year(s) ago
Permalink Post

Well, I've just found the answer to my question in another thread:
http://www.indexhibit.org/forum/thread/6694/

  1. As Jota explains there, you only must add one line in <em>plugin.simple_news.php</em>.
  2. <ol>
  3. <li>setlocale(LC_TIME,"spanish");</li>
  4. </ol>
  5. In my case, it worked only by specifying the language through the ISO code
  6. <ol>
  7. <li>setlocale(LC_TIME,"ca_ES");</li>
  8. </ol>
  9. Anyway, thanks for your contribution rickykappa ;)

guilhem
ANDORRA
8 year(s) ago
Permalink Post

Well, I've just found the answer to my question in another thread:
http://www.indexhibit.org/forum/thread/6694/

  1. As Jota explains there, you only must add one line in <em>plugin.simple_news.php</em>.
  2. setlocale(LC_TIME,"spanish");
  3. In my case, it worked only by specifying the language through the ISO code
  4. setlocale(LC_TIME,"ca_ES");

Anyway, thanks for your contribution rickykappa ;)

guilhem
ANDORRA
8 year(s) ago
Permalink Post

Well, sorry. I can't give a fine format to my message :(

rickykappa
ITALY
8 year(s) ago
Permalink Post

thankyou guilhem, my fault I didn't look through the forum!
it worked fine for me too, just added

setlocale(LC_TIME,"italian");

fine, one more thing learned :-)

kim_c
UNITED KINGDOM
8 year(s) ago
Permalink Post

I was wandering about this plugin. It's a great plugin yes but i see some things that can make it better for user. Does anybody knows how to split the content of the page in two and then tell to news plugin which part should display in news page. That will be awesome because suppose that you have a page full of text you don't want in first page to display all page no? Maybe a div named "description" would be enough. But also you need that description of that page to appear in your first news page. So...anybody knows how to? Thanks guys and i'm also still wandering.
You can also view this thread

richardn
UNITED KINGDOM
8 year(s) ago
Permalink Post

Thanks rickykappa for the installation_for_dummies instructions. I got it working.

- But I don't think I need the '» Permalink' at the bottom of each post - is there anyway to get rid it of it?

- And is there any way to include a jpeg in a news post? (Obviously, I can include a jpeg on each news page that I create, but the plugin seems to zap it.)

rickykappa
ITALY
8 year(s) ago
Permalink Post

@richardn
- the permalink is obviously in the plugin, I guess that if you read carefully through it you'll easily find out where to delete it.
- yes, but only if you type an img tag directly in the textarea

richardn
UNITED KINGDOM
8 year(s) ago
Permalink Post

Thanks ricky.

- I can't make much sense of PHP, but commenting out line 38 of the plugin removes the 'Permalink' link. I'd also like to prevent the the title of the news post being a link, which I think can be handled in line 36, but I'm not quite sure how to do it.
- Great, I've got images to appear using the image tag.

Hmm. I'm not sure how useful the Simple News plugin is for me. I think it might be simpler to just have a news page which I update manually using indexhibit's text window, adding some img tags to display jpegs, and manually entering today's date etc. The plugin seems a bit fiddly, publishing a new page for each bit of news and then hiding it and have the plugin link back to it. What's the point? Any examples of it put to good use, with regular updates?

elisacerri
ITALY
8 year(s) ago
Permalink Post

2 stupid problems:
- the news work but, if i hide the page i don't have the link in the men√π...so how i can go on news page?
- plugin generate a double news...why?
here the addresss:

http://www.bomboland.com/index.php?/news/news/

thanx

rickykappa
ITALY
8 year(s) ago
Permalink Post

the first page, where you typed the plugin call, must be published and not hidden, only the following news are hidden pages.
so that page will magically appear in the menu... ;-)

elisacerri
ITALY
8 year(s) ago
Permalink Post

GRAZIE!

jooordi
NETHERLANDS
8 year(s) ago
Permalink Post

ricky or anyone, where can I find Exhibits admin?

Don't see it anywhere. If I go to jordihuisman.nl/ndxz, it leads me to 'Exhibits:Main'. I can choose 'preferences', but that just gives 500 lines of 'Warning: Invalid CRT parameters detected' and a password/time settings box.

rickykappa
ITALY
8 year(s) ago
Permalink Post

@ jordi - sorry but I can't help about your issue :-/
I'd suggest you to rather start another thread, here your post it's out of topic

ivo_valadares
SPAIN
8 year(s) ago
Permalink Post

Hello. Or I'm too stupid or I'm in need of great ilumination stuff.

I opy the news plugin to the plugin file.

Then on "Settings" i create a new section that I will call "News", section order 5, off and on.

Then I go back to "main" and I creat a new exhibit that I will call "What's new".

Sorry, where do I:

And "- 'hide' pages that you wish to display via simple news"

Sorry but there is something missing me.

Best

ivo_valadares
SPAIN
8 year(s) ago
Permalink Post

Sorry, the website: Webpage

rickykappa
ITALY
8 year(s) ago
Permalink Post

hmmm... maybe you misunderstood the section order that you assigned (e.g. 5) with section_id number, which is given by the system.

ivo_valadares
SPAIN
8 year(s) ago
Permalink Post

Ok, got it running. Kind of hard to understand the process or it's just me.

Thanks

markmark
GERMANY
8 year(s) ago
Permalink Post

Hi there,

Not sure if this post concerns a simple news plugin that has been customized or something else entirely. All I want is this kind of format (taken from participants): http://www.frankselby.com/current-exhibitions/

I can't simply ask the person directly as his friend "dr_kuga" (http://www.indexhibit.org/forum/thread/6030/) made the site.

I tried to get news plugin working but failed. But I anyway don't want the date entry or blog look. Looking for very common system for displaying news - i.e. text, pic and dotted line to separate projects, as I scroll down.

Also, I need to be able to have more than 6 entries which is a simple news plugin limitation.

Anybody have any ideas?

...would be very grateful:)

richardn
UNITED KINGDOM
8 year(s) ago
Permalink Post

It might be easiest to just create an exhibit and type the simple HTML into indexhibit's text editor.

markmark
GERMANY
8 year(s) ago
Permalink Post

Hi Richard, thanks for your reply. Whew... I somehow thought this might be a rather common layout wish! I have very little experience with coding and the exhibit text window appears not to allow much in the way of image place setting. Do you mean something like this:
Event 1
texttext
html code for image location
----------------------
Event 2
texttext
html for image location

thanks!

richardn
UNITED KINGDOM
8 year(s) ago
Permalink Post

Yes, that's what I mean. Just copy/paste the code of the Selby site, and replace with your images and your text. You'll need to change 'Process HTML' in your settings to 'off'. I can understand your reluctance to using code, but I think in this case it might be the simplest solution.

markmark
GERMANY
8 year(s) ago
Permalink Post

My goodness, that simple, I could have thought of that;) I will try with each entry as a whole, starting with

and ending with
and hopefully that does the trick.

Will report back on success, for any others in future.

Thanks for that!

Mark

markmark
GERMANY
8 year(s) ago
Permalink Post

oh, I see the code didn't show. I meant starting with br and ending with br

thinkround
AUSTRALIA
8 year(s) ago
Permalink Post

I made a little variation on the simple news plugin, it now supports teasers. Read more here:
http://www.indexhibit.org/forum/thread/7781/

markmark
GERMANY
8 year(s) ago
Permalink Post

hi thinkround,

thanks! i have not tried any of this or richard's previous suggestion as i got stuck into other website bits. will check yours out too though. i guess by "teaser" you mean some small flyer type image.

any examples out there of your plugin variation would be great;)

thanks again.

markmark
GERMANY
8 year(s) ago
Permalink Post

ps. i am hoping to use this not just for a "news" idea but also for an indexhibit "exhibition" that would hold more than one project that one could scroll through. so there would be larger images involved too.

thinkround
AUSTRALIA
8 year(s) ago
Permalink Post

@markmark

what youre trying to do won't be easy, as the images are not included in the post by default so you'd have to hack them in, and you might have to delve a bit into the code to find out how to do that.
Furthermore once you've done that you might get conflicting #img tags (every exhibition has a img id tag and every id can only occur once on a page) which would cause your page not to validate anymore and cause unpredictable results in IE.

What I mean with teaser is part or snippet of the text or an alternative text to introduce the content of the page before you read the whole bit.

markmark
GERMANY
8 year(s) ago
Permalink Post

Hi thinkround and Richard,

Thanks for latest post thinkround. Yes, I have just tried with the images and it's not working. I compared my html with that of indexhibit participant who managed it http://www.frankselby.com/current-exhibitions/ - yet still no luck. My site: http://www.markschreiber.org/index.php?/disc/discography/

Surprised so few others have wanted this too. Anybody with ideas much appreciated. Failing that perhaps the best idea is if someone would kindly send me dr_kuga forum member email address as he actually succeeded for the selby website mentioned above.

Thanks!

markmark
GERMANY
8 year(s) ago
Permalink Post

Edited by Vaska: sorry, we aren't sharing peoples email addresses.

Vaska A
UNITED STATES
8 year(s) ago
Permalink Post

Looking back on this plugin...I made it too simple...should have had more features.

orionrush
UNITED KINGDOM
7 year(s) ago
Permalink Post

Hi y'all

Im working on a site for my partner and I'd like to use the simple news on the main page.
I seem to have it working as expected, though I've run into a bizarre FF snag.

What I've noticed is that Windows FireFox reads the headline link as giberish.
http://stillstatic.nfshost.com/
I did make some minor changes to the plugin outline below, but these dont seem to be the culprit. Perhaps someone could shed some light here. It seems like the browser isn't reading the $page[title] output as utf-8.

Here's a snapshot of the problem:
http://stillstatic.nfshost.com/snapshot.png

I've only done two things:
Basically I wraped the headline links in h3 tags - as it seemed appropriate possibly more seo friendly.

  1. I also commented out line 42 <blockquote>// silly bug where text processing add paragraph tags about <plug:.../></blockquote>$s = preg_replace(array('/^<p>/i', '/</p>$/i'), array('', ''), trim($s));

I was having all sorts of trouble validating the page until I realised this line was stripping out the first <p> and the other errors were cascading. Will this cause me problems elsewhere?

Many thanks to anyone for their thoughts

bigjust
UNITED STATES
7 year(s) ago
Permalink Post

Quick question about news plug-in.

Anyone have luck making it go horizontal?

I've dug around in the plug-in enough to think that adding a line that wraps each post in a div(fixed width?) that we could then float left via css might work?

Any thoughts or ideas are welcome as well as PHP snippets.

Thanks!

Stephenk
UK
7 year(s) ago
Permalink Post

Hi

Couple of questions – I've installed this on my page – am I right in thinking that each new news item appears as a new page on the "Exhibits: Main" page? Could your news section not end up being massive if you blog regularly?

rickykappa
ITALY
7 year(s) ago
Permalink Post

yes and yes (there is a limit you can set in the plugin)

lawchit
UNITED STATES
7 year(s) ago
Permalink Post

I tried following rickykappa's instructions in the previous page, but all I get under my NEWS section are two different exhibitions.

What am I doing wrong!?

http://www.illtellyoulater.com/

lawchit
UNITED STATES
7 year(s) ago
Permalink Post

I tried following rickykappa's instructions in the previous page, but all I get under my NEWS section are two different exhibitions.

What am I doing wrong!?

http://www.illtellyoulater.com/

rickykappa
ITALY
7 year(s) ago
Permalink Post

well... good news lately ;-)

jonnoh
AUSTRALIA
7 year(s) ago
Permalink Post

Hey Guys, I'm having some trouble with this plug in.
Basically i want my home page to be my news page much the same as this page www.drunkpark.com (i guess he has used simple news).

I'm a little confused as to where the code sits and which articles are hidden, published etc.

My site is www.jonnohowell.com

I have read through all the comments on this forum but keep getting stuck. Does simple news also require the iframe plug in?

Regards
J

pam
FRANCE
7 year(s) ago
Permalink Post

Hello everyone,
I'm having exactly the same problem that jonnoh has.
Here is my website ; http://itinerairebaroque.com/2011
I want this adress to point directly to the news "ACTUALITES"
But strangely, only part of it (a video) appears.
It's all fine here though : http://itinerairebaroque.com/2011/index.php?/actualites/
I don't know if it's clear enough, but I would greatly appreciate some help there.
Thanks.
Pam.

rickykappa
ITALY
7 year(s) ago
Permalink Post

not sure what you're doing there, but surely I can't find the link back to indexhibit... did you read the forum rules?

pam
FRANCE
7 year(s) ago
Permalink Post

I did, the site is not finished, it's only a draft, a work in progress. Indexhibit will be mentionned of course, I haven't done the credits page yet.

To summarize, I would like this to appear :

http://itinerairebaroque.com/2011/index.php?/actualites/

When we arrive on the main page here :

http://itinerairebaroque.com/2011

Cheers,

Pam.

pam
FRANCE
7 year(s) ago
Permalink Post

Hello again,
the credits page is now done, mentionning indexhibit.
Do you think you can help me out?
That would be wonderful.
Cheers,
Pam.

rickykappa
ITALY
7 year(s) ago
Permalink Post

hi pam, long time ago I've posted this, maybe you didn't see it... if you follow the steps you should be able to set up your news but if you get stuck on a specific step will be easier to solve it if we use it as a reference.
however be aware that the plugin can't deal automatically with images and/or videos, you will need to write html directly in the text box of each exhibit/new.
hope it makes sense...
;-)
ps: reading through the thread I've realized that I've never posted before my working example, it's limited to the 3 last news with a link to the full news archive: here

mstiel
UNITED STATES
7 year(s) ago
Permalink Post

Ive been trying to find the link to download the plugin, but cant find it anywhere. It looks like it was there, but its not anymore. Can anybody help me please.

rickykappa
ITALY
7 year(s) ago
Permalink Post

where did you look for it?! it's still here
;-)

Showing 1 - 50 of 114 posts in Forum » Announcements » Plugin: Simple News
 

This thread has been closed, thank you.