I tried adding pndebug to newsarticles_view.html but nothing came up when I refreshed. I went into the config.php and enabled all the Debugging/Tracing settings and got a whole bunch of data. Unfortunately I couldn't find anything related to what we're looking for.
--
Christopher Pelletier
NorthumberlandView.ca
A View Like No Other
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- craigh responded to »Using PageUtil::addVar() to load script code« 03:29 PM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Links for Categories in Content
-
- Rank: Softmore
- Registered: Jul 10, 2006
- Last visit: May 21, 2010
- Posts: 315
-
- Rank: Softmore
- Registered: Jul 10, 2006
- Last visit: May 21, 2010
- Posts: 315
As a quick side question. I'm also looking to change "news_notes" from Footnote to Author. Where do I change it? I remember doing it some time ago but I can't remember where it was.
--
Christopher Pelletier
NorthumberlandView.ca
A View Like No Other -
- Rank: Softmore
- Registered: Sep 13, 2010
- Posts: 105
modules/news/pntemplates/news_user_articlecontent.htm
But better copy this file to themes/yourTheme/templates/modules/News/... before you edit it
--
Carl Georg aka Mazdev
Jerindo.net - Ruminations of an Expat in Indonesia & Webdevelopment
-
- Rank: Softmore
- Registered: Jul 10, 2006
- Last visit: May 21, 2010
- Posts: 315
I'll try it out but it's not a really high priority. The big priority for me is to get category links working on my homepage. It's strange that we still haven't been able to figure it out.
I'm also working on a social login (with OneAll) for my site.
--
Christopher Pelletier
NorthumberlandView.ca
A View Like No Other -
- Rank: Softmore
- Registered: Sep 13, 2010
- Posts: 105
Actually I already mentioned in this thread that instead using the News Plugin in Content (which uses the News/pntemplates/contenttype/news_articlesview.htm) - You could use the Module display content type, which would use the news_user_index.htm and with this your category links too.

--
Carl Georg aka Mazdev
Jerindo.net - Ruminations of an Expat in Indonesia & Webdevelopment
-
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1428
Hi christopher,
I just tried with a 128 install and News 262, Content 3.2x and when I edit the newsarticles_view.html template it worked fine in the end. I see the category links with link. BUT I had to clear the compiled templates (pnRender and Theme) first. In Zikula 1.2 the setting for checking for new templates is not enabled by default. So when you change something in a template you most of the time have to make sure to clear the compiled templates (pnRender and Theme).
Maybe that is the problem. The code in Content and News should do work.
--
campertoday.nl, Module development, Dutch Zikula Community -
- Rank: Softmore
- Registered: Jul 10, 2006
- Last visit: May 21, 2010
- Posts: 315
Okay... let's review why I'm an idiot...
When I removed
Code
<!--[* Remove this line to use the topic link and topicimage per News item as below -->
<!--[if $story.topicsearchurl neq '']-->
<div class="content_newsarticles_news_meta"><a href="<!--[$story.topicsearchurl]-->"><!--[if $story.topicimage neq '']--><img src="<!--[$catimagepath]--><!--[$story.topicimage]-->" alt="<!--[$story.topicname|pnvarprephtmldisplay]-->" title="<!--[$story.topicname|pnvarprephtmldisplay]-->" /><!--[else]--><!--[$story.topicname|pnvarprephtmldisplay]--><!--[/if]--></a></div>
<!--[/if]-->
<!-- Remove this line to use the topic link and topicimage per News item as above *]-->
I removed the whole thing and not just the first and last lines, the ones that say "Remove this line".
I added "More From", made the text bold and added a horizontal line underneath and it's looking pretty darn good now.
It's not exactly what I had in mind but I'm quite pleased with the results.
Thank you Carl and Erik for all your help!
I owe you both a beer!
--
Christopher Pelletier
NorthumberlandView.ca
A View Like No Other
- Moderated by:
- Support
