You are welcome :D

El 02/08/13 18:05, Donald Ziesig escribió:
> Hi Ignacio!
> 
> Well the pluralization meme got me again :-[ .  I started out using
> app/view/*map*/show.dryml and nothing I did would make it work so I went
> to the old (and only) documentation and got involved with the
> 
> /app/views/taglibs/application/
> 
> path, which also didn't work.  Adding the 's' to map made my original
> code work just as I expected when I wrote it many hours ago :-)   .
> 
> Thanks much:
> 
> Don Ziesig
> 
> On 08/02/2013 03:46 AM, Ignacio Huerta wrote:
>>
>> El 02/08/13 01:11, Donald Ziesig escribió:
>>> Hi All!
>>>
>>> It's been a long time since I have had a chance to have fun with Hobo,
>>> and much has changed in Hobo/Rails/Ruby in the meantime!
>>>
>>> I installed the latest and greatest (stable) versions of all and started
>>> working on a new app and found that things are not quite as I remembered
>>> them.
>>>
>>> I need to modify (in some cases totally replace) the dryml for certain
>>> views.  Where (directory) should I put the dryml file (and what should I
>>> name it) for a (e.g.) resource named "map", view "show" (this replaces
>>> the tag in pages.dryml)?
>> Create the folder app/views/maps and in the file
>> app/views/maps/show.dryml write:
>>
>>   <show-page>
>>     <content-body:> Hello World </content-body:>
>>   </show-page>
>>
>> If you don't use "show-page", you can write your own HTML from <html> to
>> </html> if you want to completely replace it.
>>
>>
>>   How about a resource named "map" and a custom
>>> view named "highlights"?  The (old) documentation says the directory
>>> should be /app/views/taglibs/application/, but gives no hint as to the
>>> file name.  I have tried several file names in this directory with no
>>> success.
>> The file would be: app/views/maps/highlights.dryml
>>
>> For this to work you will also need to add a route in config/routes.rb
>> and an action in app/controllers/maps_controller.rb.
>>
>> Regards,
>> Ignacio
>>
>>> Every thing else seems to be much better than before although I did run
>>> into a minor ruby problem with the YM4R-GM plug-in - easily fixed, 4
>>> lines change - if anyone needs help send me an email or post to this list.
>>>
>>> Thanks,
>>>
>>> Don Ziesig
>>>
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Hobo Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/hobousers.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
Ignacio Huerta Arteche
http://www.ihuerta.net
Teléfono: 0034 645 70 77 35
Email realizado con software libre

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to