Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Dynamic Menu + Custom Pages + .tpl 
 
I am presently trying to use a Newsletter that is produced daily and also has an Archive.  The person/persons that I am helping do not understand bbcode/html code and have ask me if I can come up with a different way.  It appears that in the process of the Newsletter, one persons writes it in .rtf and then forwards it to the person who proofreads it and then forwards it to a person who saves it as .htm to put it up on their old website.  Their htm code is not recognized by IcyPhoenix and they are lost.   Really lost.

So, on the Dynamic Menu, I used the category of News and edited/created items, ie. Current Newsletter and Archived Newsletters.

I then created the current.php and a archived.php and placed them in the root.  The corresponding current.php and archived.tpl are also in the root.

That works ok so far.   However, tomorrow when I save the daily current.tpl to it's date of publication ie., 2009-07-10.tpl to a folder named newsletter/2009 which is located on the root.  I receive this error:  

Template->make_filename(): Error - template file not found: newsletters/archived.tpl

I think the .tpl needs to be in the template/MG Themes folder but that would not work since we are talking a daily newsletter.

Can someone please help.

Thanks
 




____________
Another Pro Bono
Version of Icy Phoenix: 1.3.0.53a
Version of PHP: 5.2.9
Version of MySQL: 5.0.81-community-log
Board started: 2009/07/18 - 11:50
Registered Users: 123 as of 17 Sep 09
 
christmanrdSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Dynamic Menu + Custom Pages + .tpl 
 
Sorry but I can't understand what you have done... I know that is not easy to explain, but if you can provide some further details maybe we can help.

Are you creating a php and a tpl everyday for each newsletter?

Couldn't you use a TXT file instead to be included?
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Dynamic Menu + Custom Pages + .tpl 
 
Darn, I am honored Mr Mighty Gorgon.  Thanks,

The Newsletter portion or current.tpl is ok what I am having a problem with is the archived files.

Daily I am having them doing this.  

1.  load "currrent.tpl" in to their editor and save it as the actual date of the Newsletter.  Which in this case would be yesterday's date of "2009-07-19.tpl".  The "2009-07-19.tpl" is saved in a subfolder, "2009" which is in the folder, "newsletters" located in the root directory.

2.  load "archived.tpl" into their editor and list "2009-07-19.tpl" within the "archived.tpl" with a hyperlink of newsletter/archived/2009-07-19.tpl"and save the "archived.tpl" back into the root directory.

3.  reload "current.tpl" and copy paste the contents of todays newsletter.  save as "current.tpl" in the root directory.


here is the site the Dynamic Menu on the left, Category News, Items are:  APPAF Current Newsletter and     APPAF Newsletter Archives.

If that doesn't help let me know, I'll try even harder to explain.  Is there a simpler way?

Thanks,

Dave
 




____________
Another Pro Bono
Version of Icy Phoenix: 1.3.0.53a
Version of PHP: 5.2.9
Version of MySQL: 5.0.81-community-log
Board started: 2009/07/18 - 11:50
Registered Users: 123 as of 17 Sep 09
 
christmanrdSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Dynamic Menu + Custom Pages + .tpl 
 
and why don´t they use an RSS feader instead???

They can feed there new´s automaticly in RSS and you just need to setup your new´s rss
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Dynamic Menu + Custom Pages + .tpl 
 
spydie,

Since they do not understand "HTML" code I really don't think they would be able to grasp the concept of a news feed.  I may be wrong.

Thanks

Dave
 




____________
Another Pro Bono
Version of Icy Phoenix: 1.3.0.53a
Version of PHP: 5.2.9
Version of MySQL: 5.0.81-community-log
Board started: 2009/07/18 - 11:50
Registered Users: 123 as of 17 Sep 09
 
christmanrdSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Dynamic Menu + Custom Pages + .tpl 
 
that might be , but you could set up the rss news feeder for them so it does it automaticly then they post something.


something like news/rss.php from ICY
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Dynamic Menu + Custom Pages + .tpl 
 
mmmm,

well, if you could direct me to some documentation on rss feeds and how to set them up, I'll definitely take a look at what you are suggesting.  I also am not too familiar with rss feeds.

You might want to look at the link provided above to view what they are trying to do.  It would be alot easier if they could grasp bbcode instead of html.  I've even look for a html to bbcode converter.
 




____________
Another Pro Bono
Version of Icy Phoenix: 1.3.0.53a
Version of PHP: 5.2.9
Version of MySQL: 5.0.81-community-log
Board started: 2009/07/18 - 11:50
Registered Users: 123 as of 17 Sep 09
 
christmanrdSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Dynamic Menu + Custom Pages + .tpl 
 
are they writing directly on the appaf site ???
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Dynamic Menu + Custom Pages + .tpl 
 
christmanrd wrote: [View Post]

Daily I am having them doing this.  

1.  load "currrent.tpl" in to their editor and save it as the actual date of the Newsletter.  Which in this case would be yesterday's date of "2009-07-19.tpl".  The "2009-07-19.tpl" is saved in a subfolder, "2009" which is in the folder, "newsletters" located in the root directory.

2.  load "archived.tpl" into their editor and list "2009-07-19.tpl" within the "archived.tpl" with a hyperlink of newsletter/archived/2009-07-19.tpl"and save the "archived.tpl" back into the root directory.

3.  reload "current.tpl" and copy paste the contents of todays newsletter.  save as "current.tpl" in the root directory.


here is the site the Dynamic Menu on the left, Category News, Items are:  APPAF Current Newsletter and     APPAF Newsletter Archives.

If that doesn't help let me know, I'll try even harder to explain.  Is there a simpler way?

Thanks,

Dave

 




____________
Another Pro Bono
Version of Icy Phoenix: 1.3.0.53a
Version of PHP: 5.2.9
Version of MySQL: 5.0.81-community-log
Board started: 2009/07/18 - 11:50
Registered Users: 123 as of 17 Sep 09
 
christmanrdSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Dynamic Menu + Custom Pages + .tpl 
 
I´ve seen that you set up some new´s feeds with an rss widget.

Icy got an included one.

so if they post directly in you page you should be able to set up the RSS of Icy to show what you want in news.


Edit:

just seen that that news come from thousends of different sites.

that could drive everybody crazy to set up the rss from all of them.

you´ve got to go step by step.

first trying to get them all sorted in one page and then set up the rss to read from that page and show in current news
 




____________
Out of Order
 
Last edited by spydie on Sun 12 Jul, 2009 17:03; edited 1 time in total 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Dynamic Menu + Custom Pages + .tpl 
 
RSS only reads "xml" files?  The feeds that you see are from other organizations that have set up a "xml" feed.  That is how the widget reads it.
 




____________
Another Pro Bono
Version of Icy Phoenix: 1.3.0.53a
Version of PHP: 5.2.9
Version of MySQL: 5.0.81-community-log
Board started: 2009/07/18 - 11:50
Registered Users: 123 as of 17 Sep 09
 
christmanrdSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Dynamic Menu + Custom Pages + .tpl 
 
have a look here.

Link


that might help you.
maybe you can find some freeware aswell
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events