 | |  |
 |

kavrick
User
Feb 1, 2007, 9:10 AM
Post #1 of 1
(117 views)
Shortcut
|
|
Include File in Custom Field HTML
|
Can't Post
|
|
Hi - I've figured out a solution to question I had, but am wondering if there is a better / cleaner way to do this? I had asked (in the forum before) if there was a way to create a drop down list of articles which can be used in the admin interface. I was trying to come up with a way to do a psudeo featured article by selecting it from a drop-down list instead of they way it's done by default. The simple answer from you guys was no, but I got creative and worked around it. Basically, I created a publishing rule that created a small html (or any other language) page that is really nothing more than a <select> statement, with all of the articles in it. I had hoped to just use an include in the Custom Field HTML but basically the system doesn't allow you have includes in there... It says the template system removed them. So, I altered the article.html template to include it via javascript, which works fine, but it's a pretty hacked up way to do it. So, my question... Is there a way to have an include in the Custom Field HTML? Let me know if this is possible. David
|
|
|  |
 | |  |
|