Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIDEngine News/Blog Manager
#28
I did a short test on fresh GS instance with latest TE 1.5 on apache 2 with php 5.2.16
Installation went fine w/o errors.
After adding a new page and setting it as a "Master News Page" I've added
Code:
<?php tide_show_news(return_page_slug()); ?>
below
Code:
<?php get_page_content(); ?>
in innovation template, and a freshly added news popped up.

But...t !

1.
The news refuse to work when they are displayed on page named "news" with fancy urls enabled .
Next thing is that the url structure looked terribly.
Example news "first entry" on page "announcements" had an URI like:
domain/page-announcements-news-first-entry

Hopefully I was able to fix it, and get a nice /page/newsURI link structure.
I hope you will consider adding this to your plugin, and tweak rest of things, as this goes for pages only:
.htaccess:
Code:
#Rule for pages
RewriteRule ^/?([A-Za-z0-9_-]+)/([A-Za-z0-9_-]+)/?$ ^index.php?id=$1&tide_show_news&current_news=$2 [L]
tide_news_helper.php line 347
Code:
$url = SITE_URL . $page .'/'. $news;
I'd even suggest to let the user choose if he want to get /pages/$page/$news, because I'm not sure if this fix won't interfere with other plugins or custom link structure
Thus a checbkox could enable/disable adding a /content in URI
Code:
RewriteRule ^content/?([A-Za-z0-9_-]+)/?([A-Za-z0-9_-]+)/?$ ^index.php?id=$1&tide_show_news&current_news=$2 [L]

$url = SITE_URL . 'content/' . $page .'/'. $news;

Mine solution fixes also displaying news on page named "news".
And - what I wanted to point next - fixed problems with dates, as they were not being shown.


btw. after I renamed the page, to which I already added couple news, they disappeared in news management panel. I had to manually change the name of the directory in which files were saved, and - I don't remember if I had to - but open resave the news again.

2.
I also wanted to grab a list of news from their proper page and show in a box on homepage.
Calling <?php tide_news_menu('news'); ?> works perfect, but it offers only basic behaviour of listing news from all or certain page. Is it already possible to invoke the function with parameters to format outputted data in the way I like ?
For example showing in a box last 3 entries, formatted in the way: header, date, excerpt, read more, and a link to the page with all newses at the bottom ?
And as it goes about excerpt it could offer couple formatting options like: amount of chars and/or paragraphs or be cut by a "page break" button available in ckeditor. But it might not be that simple, as there's already a news summary, for news list on proper page.
Maybe using twice the page break would be possible ?

3. templates

I've noticed there's a templates directory with .tpl files.
I assume those are views of all components used in tidenews.
Would it be possible to implement an option to create (manually) additional views, and assign them for specific page ?
This could resolve the question I asked in earlier point.

I'd also appreciate an option to create categories and assign them to slugs, as it could simplify the workflow.
It goes like: add news -> choose category -> save
This way if a slug name/url changes, news related to it could be easily maintained (look at point 1).

4. hooks to other plugins
I've noticed that non of most popular plugins doesn't work with tidengine.
It would be great if news plugin allowed to use i18n gallery, and search (this one has an api).


Considering most of above points, this would be a base to allow multilingual, dynamic articles.
It surely needs some tweaks for a custom url structure along with rewriting links.

5.
the design part
Since news summary isn't stripped from html tags, it allows adding thumbnails.
That's nice.
But the default look of news list is horrible. Like the link structure Wink
This website explains one thing: http://comicsanscriminal.com/

Default tpl should be as transparent as possible. Thus all the content should be shown almost as plain text.
No backgrounds, no rounded corners, no custom fonts and so on.
This way the plugin should inherit styles from currently used GS theme.
The more, allowing to enable/disable things like date/ read more, make the header clickable or not.
But those are fluff and aren't that important.


K, that's all for now.
It's fantastic that more news/blog plugins started to appear ! Smile




edit: two more things
Automatically created URI's lack transliteration of special chars, thus an URI contains a weird "words".
This shouldn't be a big problem to implement, as GS handles this thing nicely.

And about creating categories. Binding them to pages, and then choosing categories from dropdown list during news creation, would be fantastic. If a website has >30 pages, choosing the right one from dropdown might be challenging Wink
Addons: blue business theme, Online Visitors, Notepad
Reply


Messages In This Thread
TIDEngine News/Blog Manager - by bogyvet - 2012-06-17, 22:50:18
RE: TIDEngine News/Blog Manager - by Unapzeus - 2012-11-26, 22:23:39
RE: TIDEngine News/Blog Manager - by Tzvook - 2012-12-01, 02:56:59
RE: TIDEngine News/Blog Manager - by kazu - 2012-12-29, 14:08:07
RE: TIDEngine News/Blog Manager - by ata843 - 2013-09-04, 04:08:40
RE: TIDEngine News/Blog Manager - by Carlos - 2013-09-04, 05:04:03
RE: TIDEngine News/Blog Manager - by dryland404 - 2015-03-04, 07:37:55
RE: TIDEngine News/Blog Manager - by zelvik - 2015-11-20, 06:01:02
RE: TIDEngine News/Blog Manager - by datiswous - 2015-11-20, 06:15:18
TIDEngine News/Blog Manager - by evan70 - 2012-06-21, 19:28:14
TIDEngine News/Blog Manager - by bogyvet - 2012-06-21, 22:45:38
TIDEngine News/Blog Manager - by Oleg06 - 2012-06-22, 05:40:28
TIDEngine News/Blog Manager - by bogyvet - 2012-06-22, 06:53:06
TIDEngine News/Blog Manager - by Oleg06 - 2012-06-22, 15:50:15
TIDEngine News/Blog Manager - by bogyvet - 2012-06-22, 17:40:13
TIDEngine News/Blog Manager - by Oleg06 - 2012-06-22, 19:35:43
TIDEngine News/Blog Manager - by bogyvet - 2012-06-22, 22:01:43
TIDEngine News/Blog Manager - by snooze - 2012-06-24, 07:16:23
TIDEngine News/Blog Manager - by bogyvet - 2012-06-24, 07:55:12
TIDEngine News/Blog Manager - by bogyvet - 2012-06-25, 07:49:39
TIDEngine News/Blog Manager - by snooze - 2012-06-26, 04:18:18
TIDEngine News/Blog Manager - by yojoe - 2012-06-26, 04:48:56
TIDEngine News/Blog Manager - by bogyvet - 2012-06-26, 06:01:23
TIDEngine News/Blog Manager - by hansgordijn - 2012-06-26, 07:43:45
TIDEngine News/Blog Manager - by bogyvet - 2012-06-26, 07:55:54
TIDEngine News/Blog Manager - by bogyvet - 2012-06-27, 08:45:07
TIDEngine News/Blog Manager - by snooze - 2012-06-28, 02:59:16
TIDEngine News/Blog Manager - by Oleg06 - 2012-06-28, 04:04:56
TIDEngine News/Blog Manager - by bogyvet - 2012-06-28, 04:22:42
TIDEngine News/Blog Manager - by Oleg06 - 2012-06-28, 14:21:55
TIDEngine News/Blog Manager - by bogyvet - 2012-06-28, 16:27:33
TIDEngine News/Blog Manager - by n00dles101 - 2012-06-28, 19:06:23
TIDEngine News/Blog Manager - by Oleg06 - 2012-06-28, 20:43:08
TIDEngine News/Blog Manager - by n00dles101 - 2012-06-28, 21:21:14
TIDEngine News/Blog Manager - by Oleg06 - 2012-06-28, 22:54:04
TIDEngine News/Blog Manager - by yojoe - 2012-06-30, 00:09:59
TIDEngine News/Blog Manager - by bogyvet - 2012-06-30, 06:48:15
TIDEngine News/Blog Manager - by Oleg06 - 2012-06-30, 16:41:11
TIDEngine News/Blog Manager - by bogyvet - 2012-06-30, 18:11:24
TIDEngine News/Blog Manager - by Oleg06 - 2012-06-30, 18:51:26
TIDEngine News/Blog Manager - by yojoe - 2012-07-01, 00:30:47
TIDEngine News/Blog Manager - by bogyvet - 2012-07-01, 01:58:34
TIDEngine News/Blog Manager - by bogyvet - 2012-07-04, 03:05:12
TIDEngine News/Blog Manager - by danielmooreuk - 2012-07-07, 20:25:08
TIDEngine News/Blog Manager - by bogyvet - 2012-07-09, 19:35:42
TIDEngine News/Blog Manager - by danielmooreuk - 2012-07-13, 13:29:48
TIDEngine News/Blog Manager - by motionrepubliq - 2012-07-13, 18:24:23
TIDEngine News/Blog Manager - by motionrepubliq - 2012-07-13, 19:09:46
TIDEngine News/Blog Manager - by bogyvet - 2012-07-15, 02:26:54
TIDEngine News/Blog Manager - by bogyvet - 2012-07-15, 02:31:41
TIDEngine News/Blog Manager - by motionrepubliq - 2012-07-16, 23:17:15
TIDEngine News/Blog Manager - by motionrepubliq - 2012-07-16, 23:36:09
TIDEngine News/Blog Manager - by bogyvet - 2012-07-18, 07:51:31
TIDEngine News/Blog Manager - by kapsarovb - 2012-07-24, 22:02:30
TIDEngine News/Blog Manager - by bogyvet - 2012-07-25, 03:12:41
TIDEngine News/Blog Manager - by amityweb - 2012-07-29, 21:26:09
TIDEngine News/Blog Manager - by Tzvook - 2012-08-01, 00:47:13
TIDEngine News/Blog Manager - by bogyvet - 2012-08-07, 02:42:05
TIDEngine News/Blog Manager - by Duulicious - 2012-08-07, 17:02:14
TIDEngine News/Blog Manager - by Oleg06 - 2012-08-07, 17:34:30
TIDEngine News/Blog Manager - by yojoe - 2012-08-07, 23:53:31
TIDEngine News/Blog Manager - by bogyvet - 2012-08-08, 00:04:12
TIDEngine News/Blog Manager - by yojoe - 2012-08-08, 00:28:53
TIDEngine News/Blog Manager - by Duulicious - 2012-08-08, 00:59:23
TIDEngine News/Blog Manager - by Oleg06 - 2012-08-08, 01:06:36
TIDEngine News/Blog Manager - by bogyvet - 2012-08-08, 01:34:06
TIDEngine News/Blog Manager - by bogyvet - 2012-08-08, 01:35:07
TIDEngine News/Blog Manager - by bogyvet - 2012-08-08, 01:45:52
TIDEngine News/Blog Manager - by bogyvet - 2012-08-08, 10:23:00
TIDEngine News/Blog Manager - by Oleg06 - 2012-08-08, 20:18:21
TIDEngine News/Blog Manager - by Tzvook - 2012-08-13, 02:07:59
TIDEngine News/Blog Manager - by lnickel - 2012-08-14, 06:27:49
TIDEngine News/Blog Manager - by Tzvook - 2012-08-17, 00:18:10
TIDEngine News/Blog Manager - by Carlos - 2012-08-25, 19:45:04
TIDEngine News/Blog Manager - by stania - 2012-08-26, 22:48:36
TIDEngine News/Blog Manager - by Tzvook - 2012-08-31, 03:35:36
TIDEngine News/Blog Manager - by unsub - 2012-09-01, 06:18:18
TIDEngine News/Blog Manager - by bogyvet - 2012-09-03, 13:21:44
TIDEngine News/Blog Manager - by juliuszLucid - 2012-10-04, 23:14:25
TIDEngine News/Blog Manager - by Rene - 2012-10-05, 16:51:58



Users browsing this thread: 2 Guest(s)