Want to thank and support me for my work?
Buy my iWebFAQ.org E-Book (15$) (reviews) (sample) or...
iWebFAQ.org is presented by Cédric and hosted by HostExcellence
It is currently Sun May 19, 2013 2:17 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Remove date from blog (overview, articles & archive)
Author Message
 Post subject: Remove date from blog (overview, articles & archive)
PostPosted: Wed Nov 03, 2010 10:49 am 
Offline

Joined: Tue Nov 02, 2010 6:53 pm
Posts: 1
Because i use my blog as a database for downloading files i wanted to remove the date in every entry. When searching for a workaround i found a few options but they didnt really delete the date. So i went looking myself and found the following option:

- Navigate to iweb (Show Package Contents) -> Contents -> Resources -> Widgets -> BlogSummary.iwdgt (Show Package Contents)

- Edit the privileges on the file by clicking on 'Show Info' and changing it to read & write

- Open the file 'BlogSummary'.js in texteditor

- Search for the following line: // Format the date as a string

- Remove the following peace of code:
Code:
            if (!item.dateString)
            {
                if (item.date)
                {
                    item.dateString = item.date.stringWithICUDateFormat(this.blogFeed.dateFormat(), this /*localizer*/);
                }
            }


- Save the file (Remember to first backup)

-Voila, the date is nog longer shown in your iWeb site


Top
 Profile Send private message  
 
Remove date from blog (overview, articles & archive)
Author Message
 Post subject: Re: Remove date from blog (overview, articles & archive)
PostPosted: Mon Nov 08, 2010 5:16 pm 
Offline
Site Admin

Joined: Tue Jun 10, 2008 1:14 am
Posts: 1840
Location: Basel, Switzerland
Thanks for sharing that!

_________________
Thank you for visiting my websites:
http://iwebfaq.org - http://rapidweaverfaq.org - http://wpfaq.org - http://ebookstoretoday.com
All my websites are hosted by: HostGator


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  






Want to support me for my work?

or buy my iWebFAQ.org E-Book (15$)

(reviews) (sample)

Thanks,
Cédric



 

This website is hosted by HostExcellence



© 2008, 2009 Powered by phpBB Group
Macinscott 3 style by Scott Stubblefield