Can anyone please show me how to display the Print icon on News pages..... it appears on the Pages pages.
I am using Web2 theme
Also is there a way of adding the' send page ' function to News pages
Theme switcher
Printing News pages and sending News pages
-
nestormateo
- Registered: 22.04.08
- last visit: 30.11.09
- Posts: 11
Some days ago I've reworked the News templates for the next 2.5 release and the link was added withCodealso, seems that the recommend link is generated with:Codebut I'm not sure that it works.<!--[recommend modname='News' itemid=$info.sid]-->
Anyways, I moved some pieces in News, but it may work by now, the plan with News 2.5 is to rework some redundant data loaded into the templates, like $preformat.maintext when it's almost the same than the data in the $info array.
You can check the full code here. -
localrags
- Registered: 18.10.09
- last visit: 28.02.10
- Posts: 11
I tried the new file but it made no difference, but I then realised that the template file didn't change anything and even deleting it the news page resolved perfectly. Please can you tell me what template is controlling my new article page? -
nestormateo
- Registered: 22.04.08
- last visit: 30.11.09
- Posts: 11
When changes doesn't apply it can be:
The templates is not being recompiled: then, activate the force recompilation on the pnRender settings. Or a custom template is in charge, in this case, the order is:
/config/templates/News/news_user_***.php
/themes/YourTheme/templates/modules/News/news_user_***.php
/modules/News/pntemplates/news_user_***.php
Greetz
-
localrags
- Registered: 18.10.09
- last visit: 28.02.10
- Posts: 11
Thanks Mateo I had put the templates in themes/YourTheme/templates/modules/News/ and that was the controlling template. Unfortunately the new coding doesn't appear to work and the page just displays an unknown error and the error code (which is too long to copy here). Anyway I have recovered the print icon which works fine although it would be nice to have a 'send page function'
Can you tell me why the new news submissions don't appear on the main menu?
Thanks
- Moderated by :
- Administradores
Users online
- 31 anonymous users
This list is based on the users active over the last 60 minutes.
