This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
I'm sure this has been asked before. If someone wants to just reference a link that I have not found, that is fine.
This question is pretty straight forward I just have been having issues with it. I have a component structure like this:
- plugins
- ptusa
- cart
- components/
- cart/
- phones.htm
- cart/
- models/
- components/
- cart
- ptusa
In the phones.htm file, it has HTML that is generated in a loop like so:
{% for stkid, phone in SELF.phones.phones %}
(HTML Code)
{% endfor %}
Inside of the loop of course I reference some specific information for each phone with {{ phone.description }}
. I am sure the array is parsing correctly.
How would I get the HTML to display on a theme page?
P.S. I could not edit this post correctly, but you can assume there is a Plugin.php directory in ptusa -> cart and you can assume I have a main Cart.php file in ptusa -> cart -> components.
Last updated
1-1 of 1