Fork me on GitHub

How to block the title of news  Bottom

  • Hi, How do i block the title of news from going to the full article page? I dont want it to be a permission, i just would like the code to delete to disable it. Any Idea?

    Thanks

    Fraccozzo
  • Depends upon the theme you're using. If a legacy theme, look in theme.php themeindex() and change $preformat['title'] or similar, to $info['title'].

    If an AutoTheme theme, open the summary.html and use [news:text:title] for the title in place of what is already there.

    -Shawn

    --
    Get the Revolutionary AutoTheme HTML Theme System! Currently for Zikula, PHP-Nuke, CRE Loaded, osCommerce and Wordpress!
  • Hi, thanks for answering. I have tried it, but it does not work. The theme is an AutoTheme, and inside the summary, as you told me, I have found this kind of sintax "" instead of [postedby:date]. I have tried with all possible combinations, but it wont show me the [news:text:title]. Do i have to look somewhere else?

    Thanks again for your time


  • This command works in AT-Lite .7 and AutoTheme 1.7. What version do you have? If you don't know, give me an URL and I'll check.

    -Shawn

    --
    Get the Revolutionary AutoTheme HTML Theme System! Currently for Zikula, PHP-Nuke, CRE Loaded, osCommerce and Wordpress!
  • I am sure i have tried it, but now just copying and pasting is working!! Thanks a lot, but, since i have changed the layout of summary, now is giving me another problem. Comments link does not work anymore. The address is http://www.esprimi.com/public/html3
    I have set up a login:guest pass:guest account if you have the time to go and check it. And may you need the admin pass, maybe i can give you trough email.


    Just one more thing. where do i find a list of variables tat i can include in the summary layout??

    Thanks a lot again!
  • You need to look inside of the AutoTheme module directory like a so:

    /modules/AutoTheme/docs/commands.html
    -and also at-
    /modules/AutoTheme/docs/NEW_7.txt

    These are the two files to check out for what you want to do with your theme.
  • Hi, i receive this error when i try to write comments into my articles, or when i try to read the full views:

    Fatal error: Call to a member function on a non-object in D:\Inetpub\webs\esprimicom\public\html3\modules\News\article.php on line 90


    anyone knows what it is?

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