First off, thanks for all the hard work in making gsCMS extraordinary!
I've managed to make individual products as special pages [the only spec. pages on the site] using 2 components:
1 for the display w/ any special fields / info. + 1 with the paypal btn. code [also using special fields] & each has 'shop' as a page parent. Within the 'shop' page, there are separate searches utilizing a 'category' field so that users can use a skip navigation to go to the products they are interested in / organize products. The looping works a treat...
But here's my problem / question -
When using a *separate general search [where users are entering keywords]*, the results will give me the products as a link only/no content to speak of, which is great - - but I'd like the URL to go to the 'parent' [shop] instead of the individual item.
I've tried using a custom render in the special pages 'search' section, [which didn't work at all - maybe because the search form - in sidebar area & the results are called in a separate search.php file] and even fiddled w/ some kind of conditional on the $results to check if $item had _special_products as a tag, then change the URL - my php skills are rudimentary, at best so...nada.
Is there a way to get these special pages to have links as:<?php get_site_url(); ?>shop/#pagetitle
instead of <?php get_site_url(); ?>shop/pagetitle ???
Thanks in advance for any tips...
**SOLVED**
Just added an:to the results.
I've managed to make individual products as special pages [the only spec. pages on the site] using 2 components:
1 for the display w/ any special fields / info. + 1 with the paypal btn. code [also using special fields] & each has 'shop' as a page parent. Within the 'shop' page, there are separate searches utilizing a 'category' field so that users can use a skip navigation to go to the products they are interested in / organize products. The looping works a treat...
But here's my problem / question -
When using a *separate general search [where users are entering keywords]*, the results will give me the products as a link only/no content to speak of, which is great - - but I'd like the URL to go to the 'parent' [shop] instead of the individual item.
I've tried using a custom render in the special pages 'search' section, [which didn't work at all - maybe because the search form - in sidebar area & the results are called in a separate search.php file] and even fiddled w/ some kind of conditional on the $results to check if $item had _special_products as a tag, then change the URL - my php skills are rudimentary, at best so...nada.
Is there a way to get these special pages to have links as:<?php get_site_url(); ?>shop/#pagetitle
instead of <?php get_site_url(); ?>shop/pagetitle ???
Thanks in advance for any tips...
**SOLVED**
Just added an:
Code:
id="<?php echo $item->ppname; ?>"