Forum moderator: bigblog  
uCoz Community » Communication » uCoz Discussions » A few questions (For beginners)
A few questions
Doomcaster
Posts: 52
Reputation: 0

Message # 16 | 8:01 PM
How do i make this-

And show them both on the home page.
Attachments: 8481355.png (23.3 Kb)
Post edited by Doomcaster - Saturday, 2012-10-20, 8:05 PM
Doomcaster
Posts: 52
Reputation: 0

Message # 17 | 8:01 PM
How do i make this-
(I have uploaded the image)
Post edited by Doomcaster - Saturday, 2012-10-20, 8:02 PM
Phantom_of_the_Opera
Posts: 25
Reputation: 3

Message # 18 | 12:16 PM
Use the Informers, Luke.
Sunny
Posts: 9296
Reputation: 456

Message # 19 | 1:48 PM
Doomcaster, the tutorial about informers: http://forum.ucoz.com/forum/37-457-1
I'm not active on the forum anymore. Please contact other forum staff.
Doomcaster
Posts: 52
Reputation: 0

Message # 20 | 5:13 PM
Quote (Doomcaster)
Thank you very much Sunny, I have a few doubts-

1.I have pasted the code on" the page with search results and entries rating" after <body> where the html code is written but i cant see the share button on my ads.

"<a href="http://www.facebook.com/share.php?u=$SECTION_NAME$" rel="nofollow" target="_blank" title="FaceBook"><img src="/.s/t/786/22.png"></a>
<a href="http://twitter.com/share?url=$SECTION_NAME$" rel="nofollow" target="_blank" title="Twitter" style="margin: 0;"><img src="/.s/t/786/24.png"></a>"

3. Where exactly to paste the code of "place" field and I cant find the code of the "place" field below the template.

Sorry but this design template thing is new to me. I only know some basic html

Added (2012-10-20, 1:39 PM)
---------------------------------------------
4. I posted an ad for a camera for testing purpose and i typed camera in the search bar but i got only 3 results. Two results showed online games and one was a link to my home page. The search didn't yield any result about the ad. Why is this so? And can i include search results from only ad board without using the advanced search option?


bump...
Sunny
Posts: 9296
Reputation: 456

Message # 21 | 9:34 AM
Doomcaster, sorry, missed this post.

1. What's your website address?

3. That's because there is no default field named "place". What field did you enable for this purpose?

4. You can select the modules to search in in Control panel -> Site Search -> Module settings. New entries are indexed by the site search within 4 days. Alternatively you can use the module search (you will have to replace $SEARCH_FORM$ by $MODULE_SEARCH_FORM$ in the templates), it finds new entries immediately but it will work only on the Ad Board pages (won't work on the home page, for example).

I'm not active on the forum anymore. Please contact other forum staff.
Doomcaster
Posts: 52
Reputation: 0

Message # 22 | 6:00 PM
Sorry for the late reply-

1.Can i pm you? And i pasted the code after $BODY$ and not <body>
3. I enabled the custom field 1 for this purpose.
4. Ah yes, i got it, it takes 4 days to add new entries. So that is why it wasn't showing any results because the entry was new. But I'm interested in the 2nd method. I cant find $SEARCH_FORM$ in the template code of site search module.

Added (2012-10-26, 12:21 PM)
---------------------------------------------
Quote (Doomcaster)
How do i make this-

And show them both on the home page.
Attachments: 8481355.png(23Kb)


can you explain in detail in which module "site news" is available and the "different categories" . I know how to paste the informer code on the home page and display them.

Added (2012-10-28, 12:00 PM)
---------------------------------------------
bump...

Post edited by Doomcaster - Friday, 2012-10-26, 6:29 PM
Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 23 | 0:30 AM
Doomcaster, please do not unnecessarily bump threads. It can be considered spamming. I have seen your thread however have been busy the past weekend - as I have not been following this thread nor do I have a site URL I cannot be of further assistance at this moment. Sunny will be on within the next 24hrs to address your questions. wink
Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
Sunny
Posts: 9296
Reputation: 456

Message # 24 | 12:38 PM
1. Yes, sure you can PM me the website address.

3. So, the code of the field will be $OTHER1$ You should paste it into the "Appearance of entries" template of your Ad Board, e.g. after

Code
<?if($AUTHOR_PHONE$)?> | <!--<s5193>-->Phone<!--</s>-->: <u>$AUTHOR_PHONE$</u><?endif?>


paste this

Code
<?if($OTHER1$)?>Place: $OTHER1$<?endif?>


4. When you PM the website address, I will be able to tell where exactly the code is in your template.

Quote (Doomcaster)
can you explain in detail in which module "site news" is available and the "different categories"


Are you asking about modules, similar to Site News, that have categories? If yes, then I can suggest Blog or Publisher.

I'm not active on the forum anymore. Please contact other forum staff.
Doomcaster
Posts: 52
Reputation: 0

Message # 25 | 9:08 AM
1. sent it
3. It works, thank you
Sunny
Posts: 9296
Reputation: 456

Message # 26 | 11:50 AM
1. So, the share buttons are displayed on the page with user's ads:



(Btw, for the entries to be displayed on this page, you should enable the option in Ad Board -> Module settings -> Enable capability to search a particular user’s entries:)

4. The search from is in one of the side blocks on your website. You can replace $SEARCH_FORM$ by $MODULE_SEARCH_FORM$ either via Builder or via Control Panel -> Customize design -> The first container.

I'm not active on the forum anymore. Please contact other forum staff.
Doomcaster
Posts: 52
Reputation: 0

Message # 27 | 2:59 PM
1. But i still cant see the share buttons...
Ok i found the share button using 1st code, but it is only available when i search for an ad using the search bar.

But after pasting this code in "appearance of entries template"

<a href="http://www.facebook.com/share.php?u=$TITLE$ //$ENTRY_URL$" rel="nofollow" target="_blank" title="FaceBook"><img src="/.s/t/786/22.png"></a>
<a href="http://twitter.com/share?url=$TITLE$ //$ENTRY_URL$" rel="nofollow" target="_blank" title="Twitter" style="margin: 0;"><img src="/.s/t/786/24.png"></a>

i can see the share buttons on the ads.

4. When i open the ad board on the site and search for an ad, i get the result. But when I search for the ad on the home page, it shows "No available entries found"

And huge thanks again for your time and help smile
Sunny
Posts: 9296
Reputation: 456

Message # 28 | 10:35 AM
1. If you add the code to "Page with search results and entry rating", then the buttons are displayed only on the page with search results, and if you want the buttons to be displayed in entries, then you add them to "Appearance of entries". Just add the code to the templates where you want it to be displayed.

4. That's right, that's how the module search works and that's what I've written smile

Quote
but it will work only on the Ad Board pages (won't work on the home page, for example).


That's why it's called 'module search'. If you want the search to work on all pages, then you need to switch back to $SITE_SEARCH$ but it can't find new entries immediately.

I'm not active on the forum anymore. Please contact other forum staff.
Doomcaster
Posts: 52
Reputation: 0

Message # 29 | 1:46 PM
can i somehow make the search bar disappear frm the home page and visible on the ad board page?
Sunny
Posts: 9296
Reputation: 456

Message # 30 | 1:51 PM
Doomcaster, sure, with the help of conditional operators: http://forum.ucoz.com/forum/37-471-1
I'm not active on the forum anymore. Please contact other forum staff.
uCoz Community » Communication » uCoz Discussions » A few questions (For beginners)
Search: