 |

calpernica
User
Mar 16, 2003, 3:20 PM
Post #1 of 4
(1645 views)
Shortcut
|
Template : Template cell 'no_images' is not defined!
|
Can't Post
|
|
I have encountered the error message: "Template : Template cell 'no_images' is not defined!" when I try to re-publish all homepages in the Setup Options. Please advise. Best wishes, Calpernica
|
|
|  |
 |

Benjamin
Staff

Mar 16, 2003, 3:46 PM
Post #2 of 4
(1644 views)
Shortcut
|
|
Re: [calpernica] Template : Template cell 'no_images' is not defined!
[In reply to]
|
Can't Post
|
|
Hi Calpernica! This problem occurs when your _publish_homepage.html template no longer has this template cell defined. Specifically, it's used to write HTML to the page when the particular agent doesn't have a picture. What program were you using to edit the templates? Sometimes editors such as Dreamweaver, GoLive and FrontPage try to be 'helpful' and remove all seemingly extraneous code. Unfortunately, by doing so they 'break' the page. Do you have a backup of your template? If not, I could just post a fresh one here for you to download. Alternatively, you could try pasting this code into your _publish_homepage.html template: <!-- templatecell : no_images --> <p> <table border=1 cellspacing=0 cellpadding=0 width=140 height=100> <tr> <td bgcolor="#EEEEEE" align=center><font face="tahoma,arial" size=4><b>Photo<br>Not<br>Available</b></font></td> </tr> </table> <!-- /templatecell : no_images --> This just If you were just trying to remove the "Photo Not Available" box, instead of deleting the whole thing, just remove the HTML between the template cell tags - <!-- templatecell : no_images --> and <!-- /templatecell : no_images --> Hope this helps! Ben interactivetools.com
|
|
|  |
 |

calpernica
User
Mar 16, 2003, 11:38 PM
Post #3 of 4
(1639 views)
Shortcut
|
Re: [Benjamin] Template : Template cell 'no_images' is not defined!
[In reply to]
|
Can't Post
|
|
Thank you Benjamin, that has fixed the problem. I have a fresh question for you, or anyone else out there. How do I go about changing the homepage filename from the default h***.html to index.html without having to recreate the account. I have tried defining a filename in the field provided on the account setup page, but I am doing this 'after the fact' & it does not lead to a change. Best wishes, Calpenica
|
|
|  |
 |

Benjamin
Staff

Mar 17, 2003, 8:56 AM
Post #4 of 4
(1632 views)
Shortcut
|
|
Re: [calpernica] Template : Template cell 'no_images' is not defined!
[In reply to]
|
Can't Post
|
|
Hi Calpernica, index.html is the name of the homepage index, by default - so you won't be able to specify that particular filename. But all other filenames should work fine. To double check, try this: go into User Manager and click "modify" for the particular agent. One field above where you specified the filename make sure "Specify Homepage Filename" is set to "yes". Then click save. Then you should see your new file in the /homepages directory. Hope this helps. Ben interactivetools.com
|
|
|  |
|