I am using yii version 1.1.13 that a developer used to build an online reservation system for our company. I am no programmer by any stretch of the imagination, but have been slowly learning about the yii framework.
I am having a problem understanding/figuring out a piece of code that I have where I want to display a button that, when pressed, will display a static php page (about.php->located in the pages folder. Here is the code:
There are three buttons on top of each other (I just copied and pasted). The first button works and āpointsā to the correct page/functionā¦however, the second button is the one I am having issues with. What am I missing in the code of the second button to āpointā it to display the about.php page? It is driving me crazy because I know it is probably something simple (I hope).
What are U getting from this second button, asking cause this looks like bad formed URL. Also how U paste it here (āpages/Aboutā) is pointing to PagesController/actionAbout, but action name should be lowercase like āpages/aboutā.
All I am trying to accomplish is a āsimpleā button link to a static php page I have placed where all static php pages should reside(according to what I have read): ../protected/views/site/pages/about.php
The standard HTML code of what Iām trying to do would look like: <a href=āthe-page-i-want-button-to-link-toā><img src=ābutton_image_file.jpgā></a>
Thank you everyone who repliedā¦thanks for the link to the YII resource, Iāll use it. Thanks again for the help I do appreciate everyoneās expertise.