Login
Donate to Zikula
Core Modules & Blocks
::
Please... Need to remove date from news display
-
NOt sure, but I can't seem to get the dates from out of news index, or maybe it is Stories? when using Bockhome. If I have to remove it from the function that fills the box I will, or if someone knows another way, I could use some help with this one. My xanthia theme can remove from dates easily from the standard news page, but BlockHome seems to pull from another function, or uses it's own function I have been unable to find. If you need money to answer a post or I am out of line somehow for a stupid question, fine. I do want to get this working. The site is http://foralaugh.com Thanks if advance.
-
News layout, like most layout issues, is handled in the Theme, so we need to know what theme you're using.
-
Thanks for reading and replying... I can change the news layout but doesn't seem to effect layout for BlockHome. All themes do the same thing. 3rd party post was going nowhere, could you maybe refresh my memory as to the functions and files that fill the variables and where those variables are defined. I appreciate the help. I could put the theme somwhere for download if that would helpk, but it happens for me in all themes when I use BlockHome.
-
For story output, blockhome uses the themeindex function of whatever theme you are using, so it should look the same as the normal theme's story summaries. You can also optionally specify an alternate themeindex function in BH, provided you've defined it in your theme... See link in my sig for a list of theme vars (not Xanthia/AT)
--
Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods
Cape Cod Travel Info... -
Thats what I thought, and the "normal" news page outputs correctly based on the theme, I was able to remove the date, but BlockHome doesn't display the same index. I created a funtion in the theme just for BlockHome, but when I put the function name in the text box it doesn't work, and when I reload BlockHome admin, the boxes go back to defaul themeindex... I'm goin into debug in a bit when my kid goes to sleep. I pushed an upgrade over 7.26 on this site, and I guess I need to learn xanthia with a quickness, would a custom theme without blockhome be better? I also have a couple helper types, but they are unavailable now.
-
Thanks for the info nate, think I will lose blockhome and do this directly form the theme, unless anyone has a better solution. Blockhome serverd me well in the past for this, and I have a 7.50 site that this doesn't happen to. With that in mind I am thinking perhaps I should upload a clean install and make the big switch, I might have broke it in the upgrade. Also, I really need info like the Theme guide in your sig. Perhaps we could share some info and formatting back and forth. Let me know. Have a great day all.
-
Check the DB for where the themes are storing stuff, specifically the table1.htm listing in the nuke_theme_tplsource table. I ran across an issue posted where I had a similar issue with the them not changing. Here is my post with information:
http://forums.postnu…e=viewtopic&t=37050
Hope that helps!
DJ MJ -
So my friend Arif helped me with this one, thought I might share it. Went to /includes/blocks/stories.php and commented out the date like this... Now I want to do the same with the dates in the category function and am looking for that one now. Thanks Arif
