-
Posts
10 -
Joined
-
Last visited
Posts posted by Paschalis
-
-
On 1/31/2024 at 6:32 PM, da² said:
Hello @Paschalis,
$featuredProperties = $pages->find("parent_id=1016, featured_properties=1");
Note that it will return only direct children of the page 1016, if you want also grand-children it's:
$featuredProperties = $pages->find("has_parent=1016, featured_properties=1");
Thank you so much for your help. Apparently it worked
- 1
-
Hi all,
I try to select children with only checked checkboxes, but I haven't found a way. I want to select from DB (as selector) and not as a loop from PHP.
At the moment, I do
<?php$homesCategory = $pages->get("id=1016")->children;foreach ($homesCategory as $featuredProperties) {if ($featuredProperties->featured_properties == 1) {?>So, If I have thousands of homes, I will have to loop through all and present only the featured. I want to select the featured through DB for speed. Something like
<?php$featuredProperties = $pages->get("id=1016")->children->get("featured_properties=1");?>I know that it does not work,but I use it as an example to explain what I try to do
Thank you all
-
You are right ... the error is
http://mazanakishomes.gr/wire/modules/Inputfield/InputfieldCKEditor/ckeditor-4.5.3/skins/moono/editor.css?t=2015030801.154 Failed to load resource: the server responded with a status of 404 (Page Not Found)
-
-
exactly like this my friend
-
Hi all,
i want to have a field where i will paste only URL links from external pages. I want this to be treated like facebook:
after, when i will save it, it will be in my page as title, image, description and a target: _blank link to go in the external page where i cut it
Thank you in advance
-
Welcome to the forum Paschalis.
This is not the usual way of getting repeater Items, but since you know the ID and repeaters are pages just like any other page, it's as easy as:
$pages->get($repeater_id)->title
Thank you so much ... i didn't even know that the repeaters are pages ... i thought they were fields ... Thanks a lot
-
Dear friends,
i am a newbe but very glad to join the team...
My question is ...
from a page www.pagename.com/portfolio/1091 i want to echo a repeater's title, images etc. The 1091 is the repeater's id
i tried the one below:
$repeater_id = filter_var($input->urlSegment(1), FILTER_SANITIZE_NUMBER_INT);$repeater = $fields->get($repeater_id);echo $repeater->title;But Nothing happens.Any idea? -
Hi to all. I am a very new member to the community. I want to create a menu as the one listed below.
<!-- Menu--><ul id="menu" class="sf-menu"><li><a href="index.html">HOME</a><ul><li class="selected"><a href="index.html">Creative</a></li><li><a href="index-corporate.html">Corporate</a></li><li><a href="index-business.html">Business</a></li><li><a href="index-portfolio.html">Portfolio</a></li><li><a href="index-one-page.html">One Page Theme</a></li><li><a href="index-landing.html">Landing Page</a></li></ul></li><li><a href="page-about-01.html">ABOUT</a><ul><li><a href="page-about-01.html">About 01</a></li><li><a href="page-about-02.html">About 02</a></li><li><a href="page-about-me.html">About Me</a></li><li><a href="page-about-team.html">About Team</a></li></ul></li><li><a href="page-services-01.html">SERVICES</a><ul><li><a href="page-services-01.html">Services 01</a></li><li><a href="page-services-02.html">Services 02</a></li><li><a href="page-services-03.html">Services 03</a></li><li><a href="page-services-options.html">Services Options</a></li></ul></li><li><a href="work-2-columns.html">WORKS</a><ul><li><a href="work-2-columns.html">Work 2 Columns</a></li><li><a href="work-3-columns.html">Work 3 Columns</a></li><li><a href="work-4-columns.html">Work 4 Columns</a></li><li><a href="single-work.html">Single Work</a></li></ul></li><li><a href="#">FEATURES</a><ul><li><a href="page-sections-content.html">Sections background</a></li><li><a href="#">Pages</a><ul><li><a href="page-full-width.html">Full Width</a></li><li><a href="page-left-sidebar.html">Left Sidebar</a></li><li><a href="page-right-sidebar.html">Right Sidebar</a></li><li><a href="page-404.html">404 Page</a></li><li><a href="page-faq.html">FAQ</a></li></ul></li><li><a href="#">Sections Titles</a><ul><li><a href="page-services-01.html">Option 01</a></li><li><a href="page-services-02.html">Option 02</a></li><li><a href="page-services-03.html">Option 03</a></li></ul></li><li><a href="feature-table-pricing.html">Pricing Tables</a></li><li><a href="feature-grid.html">Grind System</a></li><li><a href="feature-typograpy.html">Tipograpy</a></li><li><a href="feature-icons.html">Icons</a></li><li><a href="feature-elements.html">Elements</a></li></ul></li><li><a href="page-blog-01.html">BLOG</a><ul><li><a href="page-blog-01.html">Blog Post 01</a></li><li><a href="page-blog-02.html">Blog Post 02</a></li><li><a href="single-post.html">Single Page Post</a></li></ul></li><li><a href="page-contact-02.html">CONTACT</a><ul><li><a href="page-contact-01.html">Contact 01</a></li><li><a href="page-contact-02.html">Contact 02</a></li></ul></li></ul><!-- End Menu-->I want it to be created dynamically, but me experice cannot help me. Any help from you?
Number 1 appears in almost everywhere
in General Support
Posted
Hi, as you can see from my attahement, number 1 comes in amny different places without having done anything. Any idea?