![]() ![]() ![]() |
![]() |
Read More
The WebYep Read More Element is used for customizable links to a detailed view at the end of product descriptions or teaser texts. This element is represented by the following PHP code: <?php webyep_readMore("Fieldname", "LinkText", "target_page.php", "TargetFrame"); ?> more... Arguments for the webyep_readMore() PHP function call:
(see "Attributes of the Read More Element" below for details)
Formatting the Read More ElementWebYep assigns a CSS style class to the Read More Element. By defining styles for this CSS class in your page's stylesheet, you have detailed control of the look of your Read More link. List of CSS classes:
Attributes of the Read More Element
Field nameA distinctive name for that element. This name will be displayed in the page in edit mode to give the user a hint on what this elements content stands for and to distinguish the different WebYep Elements in a page. Link TextThe default text for the Read More edit button. If left blank, WebYep will display the element's name instead next to the edit button. Page (URL)The URL (or filename) of a page to be shown when a visitor clicks the link. If the Read More Element is positioned inside a Loop Element (see WebYep Loop Element), the Read More Elements behave much like a WebYep Menu Element's item: The page shown when clicking the image can have different WebYep content depending on which link (in which loop row) the visitor clicked on. So one could for example create a loop (WebYep Loop Element) of brief product descriptions with a product title (Short Text Element), a short description (Long Text Element) and a Read More Element in the looped block. By assigning the URL of a detail page to the Read More Element visitors can click on the link to see the detail page for that product. Target FrameIf the page which URL you entered in the "Target Page" attribute should be opened in another HTML frame you can enter this frame's name here. ![]() |