Fork me on GitHub

Links for Categories in Content  Bottom

Go to page [-1] 1 - 2:

  • 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
  • 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
  • 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

  • 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
  • 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.

    http://www.jerindo.net/images/content_module.jpg

    --
    Carl Georg aka Mazdev

    Jerindo.net - Ruminations of an Expat in Indonesia & Webdevelopment

  • 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
  • Okay... let's review why I'm an idiot... wallbash

    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! hail I owe you both a beer!

    --
    Christopher Pelletier
    NorthumberlandView.ca
    A View Like No Other

Go to page [-1] 1 - 2:

This list is based on users active over the last 60 minutes.