Dynamic Menu + Custom Pages + .tpl »  Show posts from    to     

Icy Phoenix


Old Support Topics - Dynamic Menu + Custom Pages + .tpl



christmanrd [ Fri 10 Jul, 2009 20:07 ]
Post subject: 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


Mighty Gorgon [ Fri 10 Jul, 2009 21:32 ]
Post subject: 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?


christmanrd [ Fri 10 Jul, 2009 21:53 ]
Post subject: 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


spydie [ Sat 11 Jul, 2009 15:25 ]
Post subject: 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


christmanrd [ Sat 11 Jul, 2009 20:03 ]
Post subject: 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


spydie [ Sun 12 Jul, 2009 13:51 ]
Post subject: 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


christmanrd [ Sun 12 Jul, 2009 14:45 ]
Post subject: 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.


spydie [ Sun 12 Jul, 2009 16:45 ]
Post subject: Re: Dynamic Menu + Custom Pages + .tpl
are they writing directly on the appaf site ???


christmanrd [ Sun 12 Jul, 2009 16:48 ]
Post subject: 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


spydie [ Sun 12 Jul, 2009 16:56 ]
Post subject: 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


christmanrd [ Sun 12 Jul, 2009 16:59 ]
Post subject: 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.


spydie [ Sun 12 Jul, 2009 17:07 ]
Post subject: Re: Dynamic Menu + Custom Pages + .tpl
have a look here.

Link


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




Powered by Icy Phoenix